IEEERobotics / bot

Robot code for 2014.
BSD 2-Clause "Simplified" License
18 stars 11 forks source link

Use IR array to identify waypoints on course. #437

Open AhmedSamara opened 8 years ago

AhmedSamara commented 8 years ago

The course has a handful of waypoints that could prove useful.

We have dozens of 8-IR sensor/emitter arrays.

These work where each sensor returns an analog voltage depending on how white the surface is.

In the past, we communicated with it using an ads_7830 ADC (which speaksbuilt into this board:

img_20160112_202244

We also have an existing example for communicating with them (be warned: it is fairly messy) in old versions of ir hub.
I recommend building a new one from scratch with just SMbus commands, but this can be used as an example if you don't know where to start.