-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Built a window sensor, everything worked well, started thinking about a v2. Here is what I came up with, take it or leave it.
Changes
- Adds a
TP4056(USB-C here, could also be Micro USB) for charging (~$0.27) - Adds a
AMS1117-3.33.3v voltage regulator between the battery and theESP8266MOD(~$0.04)
Notes
- In the case where each sensor has a charger, would obviously increase the size of the window sensor (v2.a)
- Otherwise charging circuit could, and probably should be external. This changes the schematic. Can be achieved in two different ways, remove the battery and charge it or connect the sensor via a port and charge that way. (v2.b and v2.c respectively) In the case of v2.c, the voltage regulator should probably stay as the
ESP8266MODis rated for 3.3v and while it seems to handle 3.7v, charging could introduce higher voltage into the circuit (up to 4.2v). (v2.b).
(v2.a) ASCII Schematic
+5V
|
[USB1]
|
|
[U1] TP4056
| |
| +-----> [BATT1] 3.7V Li-ion
| |
| |
[U2] AMS1117-3.3
| | |
| | +----||---- GND (C1: 10uF)
| | |
| | +----||---- GND (C2: 0.1uF)
| |
| |
[U3] ESP8266MOD
| | |
| | +----/ /---- GND (SW1: Reed Switch)
| |
| +---------||--------- (W1: Copper Wire/Antenna)
|
GND
Legend:
[USB1]: USB-C for charging
[U1]: TP4056 Charger Module
[BATT1]: 3.7Vli-ion Battery
[U2]: AMS1117-3.3 Voltage Regulator
[U3]: ESP8266MOD
||: Capacitor
/ /: Reed Switch
(v2.a) Weblist
* Integrated Window Sensor and TP4056 (USB-C) Charger Circuit with ESP8266MOD powered by a 3.7V Li-ion Battery
* USB-C for charging
USB1 5V GND USB_TYPE
* TP4056 Charger Module
U1 VIN GND BAT BAT TP4056
* Connect USB 5V to TP4056 VIN
R_USB 5V U1:VIN 0
* 3.7V Li-ion Battery
BATT1 U1:BAT GND BATTERY_TYPE
* AMS1117-3.3 Voltage Regulator
U2 IN OUT GND AMS1117-3.3
* Connect Battery to AMS1117 Input
R_BATT BATT1 U2:IN 0
* Decoupling capacitors for AMS1117
C1 U2:OUT GND 10uF
C2 U2:OUT GND 0.1uF
* ESP8266MOD
U3 VCC GND EN IO15 ESP8266MOD
* Connect AMS1117 Output to ESP8266 VCC
R_VCC U2:OUT U3:VCC 0
* Connect ESP8266 EN to VCC
R_EN U3:EN U3:VCC 0
* Connect ESP8266 IO15 to GND
R_IO15 U3:IO15 GND 0
* Reed Switch
SW1 U3:GND REED_NODE REED_SWITCH
* Copper wire (antenna)
W1 U3:VCC ANTENNA_NODE WIRE
* Model Definitions (Placeholder)
.model USB_TYPE USB
.model TP4056 TP4056_TYPE
.model BATTERY_TYPE BATTERY
.model AMS1117-3.3 AMS1117_TYPE
.model ESP8266MOD ESP_TYPE
.model REED_SWITCH SWITCH
.model WIRE WIRE_TYPE
.end
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels