Return to site

Ir receiver library for arduno mac

broken image

The IR receiver is connected on pin 2 (but the pin doesn't matter).

broken image

Anything below that value doesn't output anything on pin 11 (measured voltage on those pins is 0 V).įor the remote I use this library. While trying to add a TSOP 4838 in order to control the tank with an IR remote I noticed that moving the motor on pins 10/11 in reverse only works at full speed - that is, a HIGH (255) value on pin 11. It uses pins 5 and 6 for one motor, and pins 10 and 11 for the other. I built this motor shield based on the L298N chip to control two motors of a tank.