odroid_go:arduino:35_pir_motion_detector

Arduino for ODROID-GO - PIR Motion Detector

You can detect someone's movements on ODROID-GO with PIR motion detector, with Arduino.

Make sure that you have these products:

  • ODROID-GO
  • A PIR sensor
  • Jumper cables and a Breadboard
  • An auxiliary battery if using it portable
    • This module requires 5V input power, but ODROID-GO outputs 3V3 for the power pin(#6) on its header pins. Thus, it is required to use the 5V USB VBUS pin(#10) with an external USB power source.
    • Alternatively, you can use a Step-up DC-DC converter.
  • A MicroUSB cable

Set up the development environment for Arduino on your system.

Please refer to the picture below when you set up your hardware.
We use the parts below:

  • PIR motion detect sensor: HC-SR501
  • Step-up DC-DC 3V3 to 12V(set to 5V for now) converter: MT3608

Click the Files → Examples → ODROID-GO → Applications → PIR_Motion_Detector menu to import and press CTRL-U to compile/upload.

Uploading is complete when the message “Hard resetting via RTS pin…” is seen.

After the upload completes, ODROID-GO reboots automatically.

If the sensor detects some movements, the blue status LED will turn on.

If you're using HC-SR501, you can change its triggers way to non-repeatable/repeatable, or adjust sensitivity and timeout with the potentiometers on the sensor.
Please refer to the document for further information.

For more information, please refer to this page: http://henrysbench.capnfatz.com/henrys-bench/arduino-sensors-and-input/arduino-hc-sr501-motion-sensor-tutorial/

  • odroid_go/arduino/35_pir_motion_detector.txt
  • Last modified: 2018/09/04 13:36
  • by joshua