5A. Assemble Single Board Solar-Powered Weather Station
- Assemble the board starting with the lowest components and work up: Resistor, 2 slide switches, socket for the PANEL, headers for CELL (2p), I2C (4p), LOCAL (2p), TP4056 (4 x 1p), female sockets for the D1 Mini, BH-1750, and BME280.
- Solder the headers to the underside of the BME280. The pins should be on the opposite side of the board with the sensor (a small silver can).
- Solder the headers to the underside of the BH1750. The pins should be on the opposite side of the board with the text BH1750.
- Solder the headers to the underside of the D1 Mini. The pins should be on the opposite side of the board with the small silver can labeled WeMos.
- Solder the TP4056 to the header pins (no socket).
- Place the breakout boards in their respective sockets. Place the shorting shunt on the LOCAL pins.
- Install screws and spacers at the four corners.
- Set switch SW1 to OFF, SW2 to PROG.
- Solder the leads from the XH-2P connector to the back of the solar panel. NOTE WELL!!! OBSERVE THE POLARITY: RED to +, BLACK to —.
- Insert the LiPo cell connector onto the CELL pins. NOTE WELL!!! OBSERVE THE POLARITY!!! Red is positive (+), black is negative (unmarked).
- Connect a Micro USB cable from your computer to the TP4056 connector. The orange LED should light to indicate the cell is being charged. The blue LED will light when charged. Turn switch SW1 to ON.
- Remove the Micro USB cable after the cell is charged. Connect it to the D1 Mini socket.
- Open the D1M-WX1 weather station firmware in the Arduino IDE. Set switch SW2 to PROG. Upload the firmware to the D1 Mini. Set SW2 to RUN.
- Open the Serial Monitor. You should see information flowing from the weather station. It is now ready for use.
Single Board Weather Station
Permanent link to this article: https://w4krl.com/iot-kits/d1m-wx1-solar-powered-weather-station/