Using ESP12S to pull the servo installed on the door to open the door, the access control board
burning program requires a USB to TTL module, which is inserted into the 4 pins above the relay, and the switch is set to download mode, and the power switch Close
The pins connected to the servo are on the upper left, the left is the relay and voltage regulator chip, the middle is the ESP12S and switch, and the right is the integrated boost and charging circuit (similar to a UPS), so it can be used normally even if the power is cut off at night. With the lighting technology and the following code, remote control can be achieved. Even if the network is disconnected, you are not afraid. You can connect to the WiFi sent by the ESP12S itself for LAN control.
In addition, the ADC function of ESP12S is used to measure the voltage, and an optocoupler is used to detect the charging status and feed it back to the APP. In addition, ESP12S also has two LED lights, LED4 and LED5. LED4 is the WIFI status and will light up when there is no WIFI connection. , LED5 is the network status. It will light up when there is no network. LED4 will light up in download mode. The specific status indication corresponds to the following table.
state | No WIFI connection | download mode | There is WIFI connection but no network | normal operation |
---|---|---|---|---|
LED4 | Bright | Bright | destroy | destroy |
LED5 | Bright | destroy | Bright | destroy |
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet