We need:
– Cayenne Account
– IR Emitter (mine is KEYES IR Emitter)
– Arduino board (Obviously)
– Arduino ethernet shield (mine is W5100)
– Robosapiens (Obviously)
– IRremote library (IT HAS TO BE THIS LIBRAY BECAUSE I MODIFIED IT TO WORK WITH ROBOSAPIENS)
Step 1: Connect the IR Emitter to Arduino and Also the Triggers
Connect the IR Emitter to Arduino board.
Pinout:
IR Emitter / Arduino
pin “-” —> pin GND
this pin doesn’t have any letter so, the middle pin —> pin 5V
pin “S” —> digital pin 3 or other digital pin (It cannot be pin 0,1,2 or 13)
Triggers:
I was thinking what is the easiest way to do this project, and I realized if we connect a wire through digital pin 9 to 8 and digital pin 7 to 6 is the best way to do it, so:
Connect Arduino digital pin 9 to Arduino digital pin 8, repeat with 7 to 6.
Original Link: https://www.instructables.com/How-to-Control-a-ROBOSAPIENS-Robot-With-Cayenne-Io/
COMMENTS