photoresistor to BOE question (and my robot chassis (pics) and idea) love some
Im connecting 2 photoresistors in series (to me board of ed) and have bought several assorted radio shack resistor packs.... none of them have a 2k ohm resistor in it...do I have any other options/?/ or will i have to wait to buy a 2k ohm resistor (note: I got just about every other resistor rating on hand). forgive me, I am not very familliar with electronics and im learning as i go. [noparse]:)[/noparse]
im working from the robotics handbook i downloaded (and im wiring as shown there) ! any other methods or any info would be great!
Chapter 6: Light Sensitive Navigation with Photoresistors <B>· Page 195
http://www.parallax.com/Portals/0/Downloads/docs/books/edu/Roboticsv2_2.pdf
</B>
Post Edited (SLUG-1) : 12/23/2008 5:26:50 PM GMT
im working from the robotics handbook i downloaded (and im wiring as shown there) ! any other methods or any info would be great!
Chapter 6: Light Sensitive Navigation with Photoresistors <B>· Page 195
http://www.parallax.com/Portals/0/Downloads/docs/books/edu/Roboticsv2_2.pdf
</B>
Post Edited (SLUG-1) : 12/23/2008 5:26:50 PM GMT
Comments
You should be able to use other resistor values, higher or lower.· It would just change the light level that crosses the input threshold.· you could also use 2 1k resistors in series, or other combinations of resistors.· Total resistance in a series circuit is the sum of the individual resistor values.
Chapter 6: Light Sensitive Navigation with Photoresistors · Page 195
http://www.parallax.com/Portals/0/Downloads/docs/books/edu/Roboticsv2_2.pdf
and so im learning for the first time how to hook up photoresistors. i would prefer to hook them up individually but if you actually look at how they
are hooked, you will see that each photoresistor is on a different I/o pin . what i would like to know is how i could hook up 5 photoresistors 2 for front 1 for each side and 1 for back!>?
Post Edited (SLUG-1) : 12/22/2008 6:17:24 PM GMT
If you want 5 photo cells the best thing to do would be to connect each one up to their own I/O pin on the stamp.·
If you are looking to save your I/O pins used for light detection you could in theory connect the photo sensors in parallal to each others.· I've never done that before, it might provide some strange readings.· And you robot would not know which direction the lights was coming from, only that there was light.
Another alternative would be to mount the light sensor on a servo, like a head or turit for the robot.· Command the servo to turn left, forward, right and to the rear then repeart.· Light measurements could be taken at each location and the robot could determine where a bright light source is.·
Or just turn the robot to find a light source.
Those are a few of the suggestions I have.·
Happy Roboting,
-Justin Ratliff
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Happy Roboting,
-Justin Ratliff
The Robotics Club of Yahoo
https://www.trcy.org
sensor's:
mesmic accelerometer
5 photoresistors
1 Ping )) w/ servo mount
2IR detectors
and eventually a camera
-im using the BOE bot chassis split down the middle and Bonded to A rectangle of of aluminum and im using a T bracket to mount another smaller rectangle to the back of the top rectangle
making for an interesting chassis design ( basically to make more space for the turret i plan to put on top ). Now im hoping to do a laser range finder w/ camera. ill post some pictures of the
chassis in the next post.
oh and i have a USB Parallax servo controller- im hoping this is a viable option for taking the servo calculations off my Basic Stamp 2 (so it can worry about sensors and such) any feedback would be appreciated!
This is my security bot
Post Edited (SLUG-1) : 12/23/2008 4:58:49 PM GMT
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..
turn around and go backwards.... see if the servos seem to struggle or not. Might be wise to add an additional pound for future expansions as well.
boe-crazy: I've done something like that, two BOE's and a BS2 OEM on two boe-bot chassis bolted together. Its not quite what you mentioned but it proves its possible.
My thread with pictures: http://forums.parallax.com/forums/default.aspx?f=10&m=311323&g=312570
Please note that the robot doesn't have the second BOE in those pictures and I am working on a tread-based chassis so those images are obsolete.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
To make something work one must build, test, and verify bfore proceding.· -- myself
!!! as a first time MCU user U guys really help 2 inspire!
many milllion Thnxses!
Slug-1