Subject:
|
Re:Re: Question on analog()....
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Wed, 5 Jun 1996 14:25:19 GMT
|
Original-From:
|
Hajime <hajime1@mech.t.#saynotospam#u-tokyo.ac.jp>
|
Viewed:
|
1869 times
|
| |
| |
> As for the Rug Warrior, it has such function. For example 0 volt
> means analog()=128 and watever of negative voltage is analog()<128.
> Whatever of positive voltage is analog()>128.
Are you sure about this? On page 49 of my copy, it states pretty
clearly that the input range is 0 to 5 v.
---------------------------------------------------------------
Just returned home. I checked the IC Manual of
"The Mobile robot Assembly Guide" for the Rug Warrior.
On p.66, it reads "When no sound in present analog(microphone)
returns a value of approximately 128. When sound is detected by
the microphone the value may be more or less than 128.
To determine a meaningful value for sound level the microphone must be
sampled drequently and averaged."
Under the book titled Mobile Robots by written by Joe, on p.119
there is a figure 5.23 with a picture of the output from the
microphone. Reading the section clearly, the reading of
the phone is between 0 and 5V. Thus, I interpreted it wrong.
Sorry !!!
I just wondering how he does it ?! Do you think the signals
are shifted upward so that they are always positive ?
Thanks in advance.
|
|
Message has 1 Reply:
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|