ESP8266-01 hc04 ultrasonic distance sensor with code with javascript+ webserver

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

Connected hc04 to 5v and it worked fine. got garbage when connected with v3.3.
dont know how long esp chip can last with echo pin giving 5v

phasefour
Автор

Here is the trick :

#define echoPin 2 // Echo Pin > 10K > Base(NPN), Colector(NPN) > +3.3v, Emiter(NPN) > ESP8266 (2)
#define trigPin 0 // Trigger Pin direct to ESP8266 (0)

akotlia
Автор

Hi, Does HC04 work on 3.3v ? I tested with Arduino providing 5 V it worked, but its not working with 3.3v supply?
Since ESP8266 works on 3.3V I was wondering the if it may work standalone with ESP? Appreciate your help on this!!

SelfMadeBharat
Автор

Is it necessary to use a voltage divider between trigger/echo and GPIO0/GPIO2?

JWitto
Автор

Is it sending data to cloud server (like thingspeak)? What is the role of esp 01 in this schematic?

swapnilmathur
Автор

Hi, can u show the schematic with arudino sir ?

fathoniekapradipta
Автор

Hi, can u show the schematic with arudino sir ?

fathoniekapradipta
join shbcf.ru