Tags:
tag this topic
create new tag
view all tags
---+ The HC-SR04 ultrasonic distance meter The [[https://netsonic.fi/en/files/HCSR04-datasheet.pdf][HC-SR04 ]]emits an ultrasonic sound wave and measures the time it takes to travel to a target and back. Knowing that sound waves travel at 330m/s the distance between the sensor and the target can be calculated The cabling is done as described in the following table | *TCS3200* | *!WeMos bus* | *GPIO* | | Vcc | 5V | | | TRIG | D2 | 21 | | ECHO | D1 | 22* | | GND | GND | | * Because the signal emitted by the HC-SR04 has a 5V level and the ESP32 CPU accepts only 3.3V signals, the ECHO signal is passed through a 1kOhms / 2kOhms voltage divider. -- %USERSIG{UliRaich - 2022-05-30}% ---++ Comments %COMMENT%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2022-05-30
-
UliRaich
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
IoT_Course_English Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback