I am designing my second board, and as always appreciate if you can review the design. I am trying to make a simple temp sensor board connected to Wemos D1 Mini [ ESP8266] and have sleep mode on it. The battery i am using is 18650 li-ion style. There are a few areas that i am not sure of, so i would greatly appreciate if you can validate them.
- Basic Design is as per this circuit diagram.
a) I connected the Power Pin to 5V on Wemos from Battery.
PULL-UP RESISTOR circuit:
I am not sure if i have placed the 4.7KOHM resistor correctly in the circuit diagram.
Its supposed to be like this: https://community.mydevices.com/t/wemos-d1-mini-ds18b20-temp-sensor-oled-128x64/6544
My question is: IS IT ?
PLACEMENT OF BATTERY HOLDER:
I want the bat holder to be in bottom layer of PCB, so that my overall WidthXHeight of PCB is small.
However, note that the Wemos (top layer) PINs need to clear the holder. I know this is possible because i have a prototype that i made exactly like this, and it works.(see pics)
The challenge i have here is, i am not able to move the Wemos “finely”. It seems to “SNAP” into locations, and hence, the pins interfere with battery. How do i move the wemos finely so its pins DO NOT go into the battery holder in bottom layer.
SWITCH FOR SLEEP:
I used a basic switch from fritzing panel. Basically, if D0 and RESET are connected (SWITCH ON or CLOSED), then i can program the Wemos to go into sleep mode, and wake after predefined time intervals.
a) I want the SWITCH to BE ON by default. I do not know, what PINS in the switch are ON by default. Currently, i have D0 connected to switch center [pin2] and RST to . But is this CLOSED [ON] or OPEN [OFF], i do not know ?? ( i think it is)
But i think the real question is, --> is the part i chose for switch a slide type. If i move up, then it should connect “CENTER” and “TOP” i.e. D0 and RST. Is this what will happen with my choice of switch here.
Any help is much appreciated.
Thanks in advance.
Agni_V3.1_TempSensor.fzz (43.7 KB)