Squirrels have fuzzy tails.
0 Members and 1 Guest are viewing this topic.
could you not use a seperate adc and use digital pins?
why do you need to measure the voltage?
so does this little thing go dock itself when the battery is low?
Here is my sensor list.I have 2 IR sensor for picking up the signal from the docking station.I have 1 LDR sensor for seeing if it is day or not.I have 1 bumpersensor.I have 1 voltage sensor for measuring the voltage.I have 1 sensor that sees if the docking station is locked.
Quote from: dannytemmerman on April 02, 2009, 11:23:58 AMHere is my sensor list.I have 2 IR sensor for picking up the signal from the docking station.I have 1 LDR sensor for seeing if it is day or not.I have 1 bumpersensor.I have 1 voltage sensor for measuring the voltage.I have 1 sensor that sees if the docking station is locked.With the bump-sensor you can use that as a digital input so you won't have to waste the ADC. Also because you are only using the LDR to detect two scenarios you can using that as a digital input to. Just have a circuit so that when the LDR gets passed a certain value (resistance) it turns on a transistor which supplies one of the ports with 5V so it can detect on or off.
The bump sensor is made of 2 switches with each a different resistor so a digital input is not used.
I have 1 sensor that sees if the docking station is locked.
i would say for the bumper switches go digital,Quote from: dannytemmerman on April 02, 2009, 11:23:58 AMI have 1 sensor that sees if the docking station is locked.how is that going to work?
pretty much yes. and if its just in your house gps would not work as it is only accurate to 10m or so. it will find the docking station by looking for the infared leds with the infared detector.[/quoteOk but how does the robot use the ir to go to the docking station? Would it just use two ir detectors on either side and if one sensor detected more infrared it would turn one way
How does it find the docking station? you said it uses 2 IR sensors but how does that actually work? I'm just asking for my own personal knowledge because i might build a robot with similar features (able to find its way back to a docking station)? Also what does the docking station have on it to help the robot find it?