solar-monitor

Public

@mattrude

Download board files

Files for version 1. Pick what you came for.

Share solar-monitor

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading…

README

Solar Monitor

A simple solution to prevent a solar powered LoRaWAN gateway from going into brownout when the batteries drop in voltages.

The Backstory

I have a solar powered Raspberry Pi + RAK2245 + RAK2013 that has a problem where when it gets cold out, the batteries don't have the Amps to power the gateway when the sun comes up. This puts the gateway into a brownout state where the cellular module disconnects and will not reconnect until the system is rebooted.

I have learned that a few minutes delay will resolve this issue, allow the batteries to charge and the system to boot correctly. This project is an attempt to automate this task.

Theory of Operation

When the voltage drops below about 3 volts, the MCP102-300E/TO will sit it's pin 2 LOW, once the voltages has stablized above 3 volts for more then 120 ms, pin 2 goes HIGH.

The PIC16F15214-I/P microcontroller reads the input from pin 2 on the MCP102-300E/TO (via pin 2 [INT] on the microcontroller) and set pin 0 LOW. When microcontroller pin 0 is LOW, the PN2222A disables the power to the output pins of the board.

Software

  • KiCad EDA - Version 6.0.2 - The Schematic & Board softare
  • MPLAB X IDE - Version 6.0.0 - Software used to build the C code
    • XC8 - Version 2.32 - The C compiler (A part of MPLAB X IDE)

Hardware (BOM)

IdentifierQtyPart #DescriptionDigiKey
U11PIC16F15214-I/PMicrocontroller150-PIC16F15214-I/P-ND
Q11PN2222ATransistorPN2222AFS-ND
Q21MCP102-300E/TOVoltage SupervisorMCP102-300E/TO-ND
C1110pFCeramic CapacitorK100K15C0GF53L2-ND
D111N914Diode1N914FS-ND
RV11PV36W103C01B0010K Ohm Trimmer490-2875-ND
SW111825910-6Push Button - 6mm450-1650-ND

Schematic

Board

The Top of the Board

The Bottom of the Board

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.