How to Use the HC-SR04 Ultrasonic Sensor with Raspberry Pi (Python Tutorial with Multi-Threading)

  Рет қаралды 19,746

M Heidenreich

M Heidenreich

Күн бұрын

Пікірлер
@blacksky1974
@blacksky1974 6 ай бұрын
What is the purpose of those to lines: signal(SIGTERM, safe_exit).. ?
@m.heidenreich
@m.heidenreich 6 ай бұрын
This code handles safe program shutdown procedures, where GPIO ports are restored to default. I explain the why and how in a dedicated video: kzbin.info/www/bejne/eqmao5eopq-rndU
@sergehulne
@sergehulne Жыл бұрын
Would this code, which uses threads, run on a Raspberry Pi Nano (via Micropython) ?
@m.heidenreich
@m.heidenreich Жыл бұрын
Unfortunately no, as this example relies on gpiozero library which is designed specifically for regular Raspberry Pi.
Ultrasonic Sensor with the Raspberry Pi
6:28
Gaven MacDonald
Рет қаралды 181 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 99 МЛН
Каха и лужа  #непосредственнокаха
00:15
The BEST Ultrasonic distance sensor US-100 vs. HC-SR04 vs. HC-SR05
5:44
3-LED Pattern Blink with Raspberry Pi (Easy Beginner Python Tutorial)
22:01
How to interface ultrasonic sensor with Raspberry Pi
14:26
Kitflix
Рет қаралды 44 М.
Raspberry Pi Tutorial on Connecting the Ultrasonic sensor HC SR04
7:12
RaspBerry Pi Made Easy
Рет қаралды 42 М.
Raspberry Pi Ultrasonic Tank Sensor
6:01
Tall Paul Tech
Рет қаралды 34 М.
How to Use Push Buttons With Raspberry Pi GPIO (with Python gpiozero)
10:18
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 99 МЛН