|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: IR Beam Breaking Circuit
Rather than using a breakbeam sensor, we rigged up an IR rangefinder instead. The voltage it returns increases as an object moves closer to the rangefinder. So with it mounted in a fixed position in our frame, there's a baseline value that the voltage is steady at when there is no ball in position. When a ball enters the frame perimeter, the voltage spikes up (well alright, it increases by less than half a volt
). So the code just compares the reading every cycle to the reading taken upon initialization and when it increases enough, alerts the driver that a ball is in place through the dashboard (still getting this to work), or allows the bot to know when to kick in autonomous. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Broken Beam Sensor? | lollypop2020 | Electrical | 12 | 27-02-2010 19:01 |
| pic: Beam Bending Example | kramarczyk | Technical Discussion | 22 | 19-05-2008 08:08 |
| NEED: carbon fiber/kevlar/composite I-beam | Gabe15 | General Forum | 2 | 10-01-2008 08:44 |
| IR Beam Troubles | Goldeye | Programming | 2 | 21-01-2006 17:15 |
| Gearbox breaking? | ReggieB | Motors | 10 | 23-02-2004 06:55 |