How to connect the HC-SR04 Ultrasonic ranging distance sensor to the Raspberry PI and Arduino.

Sdílet
Vložit
  • čas přidán 10. 04. 2019
  • In this episode I show you how to connect the HC SR04 Ultrasonic distance sensor to the Raspberry PI and Arduino. It is a simple setup for both boards.
    In this video we cover:
    ► Connecting the sensor directly to an Arduino
    ► Connectingthe sensor to an Arduino with external power source
    ► Arduino Code
    ► Code for Raspberry PI (Python)
    Code on GitHub:
    github.com/makersdigest/T07-H...
    Parts used in this episode:
    HC-SR04 Sensor: amzn.to/2VBAbrK
    Now go get creative! Share what you have made with me. I can be found at
    ● Facebook: / makersdigest
    ● Instagram: / makersdigest
    ● Twitter: / makersdigest
    ● Patreon: / makersdige
    If you liked this video, please consider subscribing. You can enable notifications for new videos when they are posted!
    See ya next time!
    #arduino #raspberrypi #makers
  • Jak na to + styl

Komentáře •