Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Arduino for ODROID-GO - IR Receiver ====== <WRAP important round> * Make sure that you've followed the **[[01_arduino_setup|Arduino setup]]** guide. </WRAP> {{https://dn.odroid.com/source_peripherals/odroid_go/odroid-go-ir-receiver-demo.gif?400|}} You can receive an IR signal with ODROID-GO.\\ This example is for [[accessory:connectivity:ir_remote_controller|our IR remote controller]], but you can program with another remote controller the library supports.\\ ===== Requirements ===== Make sure that you have these products:\\ * [[https://www.hardkernel.com/shop/odroid-go/|ODROID-GO]] * [[https://www.hardkernel.com/shop/ir-sensor-rom-wt138ln/|IR receiver module]] * [[https://www.hardkernel.com/shop/jumper-wires-40-each-10cm-male-male-female-female-female-male/|Female/Male jumper wires]] (3 EA) * [[https://www.hardkernel.com/shop/micro-usb-cable/|microUSB cable]] * [[https://www.hardkernel.com/shop/ir-remote-controller/|IR Remote Controller]] 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: [[https://www.devicemart.co.kr/include/down.php?file=/data/goods/goodsfile/35714_file_0.pdf&mode=goods&name=IR%20%B8%AE%B8%F0%C4%DC%20%B8%F0%B5%E2%20%B5%A5%C0%CC%C5%CD%BD%C3%C6%AE.pdf|ROM-WT138L(N)]] {{odroid_go:arduino:odroid-go-ir-receiver.png?400|}} * Download Fritzing example file: {{ odroid_go:arduino:odroid-go-ir-receiver.fzz |}} * ODROID-GO: {{ odroid_go:arduino:fritzing_odroid-go.fzpz |}} * IR receiver: {{ odroid_go:arduino: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.\\ {{odroid_go:arduino:windows_ws_3.png?400|}}\\ 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 [[accessory:connectivity:ir_remote_controller|our IR remote controller]]. If a button pushed, **the pushed button appears** on the ODROID-GO.\\ odroid_go/arduino/37_ir_receiver.txt Last modified: 2019/06/12 18:38by joshua