Go Down

Topic: anti-theft system (Read 433 times) previous topic - next topic

Idahowalker

1- the buzzer didn"t run so that s how i proved that the pin 2 is not high
2- i used 5v for the PIR
3 - Also pin 2 and GPIO2 on the ESP's are not the same pins.

pin 2 is the LNA signal, antenna. Pin 14 is GPIO2.
 i didn"t understand what do u mean by that. (i just start using arduino ^^')
So the PIR sent / put 5V to the non-5V tolerant GPIO pin on the 8266; that's a problem.

Look at the schematic for a ESP8266.

IZMA_22

#16
Aug 28, 2019, 10:39 am Last Edit: Aug 28, 2019, 10:48 am by IZMA_22
should i make serial.begin(115200) or serial.begin(9600) ??
because when i have maked serial.begin(115200) he didn"t send anything he just say high

Idahowalker

First, I'd work on making sure the 8266 is not getting 5V from the PIR sensor.

IZMA_22

How i can make sure that esp8266 is not getting 5v from the PIR

Idahowalker

How i can make sure that esp8266 is not getting 5v from the PIR
A level shifter. If you can solder and will only need our or two you can make them, otherwise use a discrete component. Do internet search on 'level shifter'.



If your 8266 has received 5V onto a 3.3V pin, consider the 8266 defective.


Go Up