Hi, I try to make sport timekeeping for "agility" on the principle of the IR transmitter and receiver on one side and reflectors on the other. I have try more variations, but without success.
1st option
#include <IRremote.h>
IRsend irsend;
void setup ()
{
}
void loop () {
int = 38 kHz; // 38kHz carrier frequency for the NEC protocol
unsigned int irSignal [] = {9000, 4500, 560, 560, 560, 560, 560, 1690, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 560, 1690, 560, 1690 , 560, 560, 560, 1690, 560, 1690, 560, 1690, 560, 1690, 560, 1690, 560, 560, 560, 560, 560, 560, 560, 1690, 560, 560, 560, 560, 560 , 560, 560, 560, 560, 1690, 560, 1690, 560, 1690, 560, 560, 560, 1690, 560, 1690, 560, 1690, 560, 1690, 560, 39416, 9000, 2210, 560}; // AnalysIR Batch Export (irRemote) - RAW
irsend.sendRaw (irSignal, sizeof (irSignal) / sizeof (irSignal [0]) kHz); // Note the approach used to automatically calculate the size of the array.
}
It works at a distance of 4 meters via a reflector, but did not catch the faster movement. So it is not unusable
option 2
#include <IRremote.h>
IRsend irsend;
irsend.enableIROut (38); // 38KHz
irsend.mark (0)
captures every movement, but the distance is within 1 meter.
Do you have any ideas how to solve it.
Used equipment
Arduino Nano
IR LEDs HSDL-4230
IR reciever PNA 4602
i found this post, but there are transmitter and reciever on opposite.
http://forum.arduino.cc/index.php?topic=311521.0
here is industrial solution, but its very expensive.
https://www.amazon.co.uk/Velleman-Photoelectric-Sensor-Retro-Reflection/dp/B001IRVDOG
