Arduino for ODROID-GO - IR Receiver
- Make sure that you've followed the Arduino setup guide.
You can receive an IR signal with ODROID-GO.
This example is for our IR remote controller, but you can program with another remote controller the library supports.
Requirements
Make sure that you have these products:
- Female/Male jumper wires (3 EA)
Set up the development environment for Arduino on your system.
Hardware setup
Please refer to the picture below when you set up your hardware.
We use the parts below:
- IR receiver module: ROM-WT138L(N)
- Download Fritzing example file: odroid-go-ir-receiver.fzz
- ODROID-GO: fritzing_odroid-go.fzpz
- IR receiver: ir_receiver.fzpz
Connect each other directly using the jumper cables.
You can use these pins at the 10 pin header(P2),
- P2-1: GND
- P2-4: GP15 (I/O)
- P2-5: GP4 (I/O)
- P2-6: 3.3V
Select one between P2-4 and 5 port for transferring a data.
Import and compile, upload to ODROID-GO
Click the Files → Examples → ODROID-GO → Applications → IR_Receiver menu to import and press CTRL-U to compile/upload.
Uploading is complete when the message “Hard resetting via RTS pin…” is seen.
Check if it works
After the upload completes, ODROID-GO reboots automatically.
You can receive a signal from a remote controller that the IR library supports.
The given example is for our IR remote controller. If a button pushed, the pushed button appears on the ODROID-GO.