Hello,
i want to use 4 ultrasonic sensors with one esp8266 (Node Dev v3).
is this possible?
or the sensors interfere with each other? can i let send the sensors sequentially?
reagard
More as one ultrasonic sensor possible?
Moderators: grovkillen, Stuntteam, TD-er
Re: More as one ultrasonic sensor possible?
Try it out , nobody has done this before with ESPEasy as far as i know.
After that tell us what your findings are.
I am curious.
After that tell us what your findings are.
I am curious.
Re: More as one ultrasonic sensor possible?
i will try it
but at the moment i have problems to run the first sensor
its connected
VCC -> 5V(VCC) of NodeMCU
GNG -> GND of NodeMCU
TRIG -> D0 of NodeMCU
ECHO -> D2 of NodeMCU
but i get no values, LOG show: 35680 : SR04 : Distance: SR04 : Distance: No reading!
My Board: http://www.seeedstudio.com/depot/NodeMC ... -2415.html
but at the moment i have problems to run the first sensor
its connected
VCC -> 5V(VCC) of NodeMCU
GNG -> GND of NodeMCU
TRIG -> D0 of NodeMCU
ECHO -> D2 of NodeMCU
but i get no values, LOG show: 35680 : SR04 : Distance: SR04 : Distance: No reading!
My Board: http://www.seeedstudio.com/depot/NodeMC ... -2415.html
- Attachments
-
- ultrasonic.png (31.64 KiB) Viewed 4939 times
Re: More as one ultrasonic sensor possible?
I have played once with this ultrasoon sensor on a NodeMCU board.
I connected the echo signal with a voltage divider to make it compatible to 3.3V 1K in series and 2K from ESP input to ground.
The range of the HC-SR04 was not so great, about 4 meter. Accuracy was pretty good if the echo object had a hard surface and was big enough.
I think you make the mistake in numbering of the NodeMCU. GPIO-0 is not DO and GPIO-2 is not D2.
If you want to use GPIO-0 and 2 you connect them to D3 and D4 of NodeMCU
It is a bit confusing but this picture makes it clear.
http://www.14core.com/wp-content/upload ... agram1.png
I connected the echo signal with a voltage divider to make it compatible to 3.3V 1K in series and 2K from ESP input to ground.
The range of the HC-SR04 was not so great, about 4 meter. Accuracy was pretty good if the echo object had a hard surface and was big enough.
I think you make the mistake in numbering of the NodeMCU. GPIO-0 is not DO and GPIO-2 is not D2.
If you want to use GPIO-0 and 2 you connect them to D3 and D4 of NodeMCU
It is a bit confusing but this picture makes it clear.
http://www.14core.com/wp-content/upload ... agram1.png
Who is online
Users browsing this forum: Google [Bot] and 0 guests