sofaman wrote:Hi again..
I've 'borrowed' the 3x 5mm IR LEDs from the ksr4, I had a new receiver in my bits box but I don't know the model.
I've used this guide
http://alexba.in/blog/2013/01/06/settin ... spberrypi/ and every thing works ok. Send, receive and turn a normal LED on/off using GPIO
This only allows me to use 1 x LED. Can you point me to guide or an idea as to the best way to create 3x LEDs using different signals.
Thanks
Glad to hear that you've been making progress.
Wire up the other 2 LED's to 2 other GPIO ports in the same way as the one that you have working, this will give you the three LED's needed, after this it's just programming.
Because you are looking for reflected IR levels from walls I expect the signal will need to be fairly simple, just on or off. So you'll need to program the Pi to transmit from the front LED, move forward until it gets a return on the receiver, stop. Check left and right (one at a time) and turn until there isn't a return on the receiver. The software part may need a bit of trial and error, once you have the 3 LED's and receiver working you can figure out what to do with the signals you are getting.
Doug.
Building Management Systems Engineer.