Pi18650 SMART UPS - RASPBERRY PI IOT POWER AND UPS SYSTEM
A Portable 18650 Lithium Ion Smart UPS for Raspberry Pi and Single Board Computers
This project will only be funded if it reaches its goal by Sun, March 17 2019 3:30 PM UTC +00:00.
What is the Pi18650 Smart UPS?
The Pi18650 started off as an add on HAT for the Raspberry Pi which would provide battery backup power for remote applications and protection from anomalies on the supply line. Since our first release of the Pi18650 HAT we have designed a DUAL BATTERY version from our previous campaign and successfully shipped rewards to our backers. We thank you again for your support on our campaign! Taking valuable feedback from our backers into consideration our latest version has additional features and is much more flexible for various types of use cases. With the multitude of IoT devices and systems being developed and implemented today, power is the main key for all this to work and the use of Operating Systems on these devices make them much more complex and requires additional attention to reliable and clean power supply without any interruptions.
- Li-Ion Battery Charger
- Reverse Battery and Supply Protection
- Charging LED Status Indication
- Onboard Humidity and Temperature Sensing
- Mode Switch for Input Supply Monitoring or Battery Operation
- I2C Communications to HOST
- Output Power Status LED
- GPIO Indicator for Shutdown on HOST
- OnBoard 16Bit Low Power MSP430 FRAM MicroController
- Variable Output Voltage Up To 16VDC
- Pluggable Terminal Blocks for Fast and Easy Connections
- Up To 24VDC Industrial Input Supply Voltage
- ESP32 Dongle Board w/ SD Card Data Logging (Optional)
- Cooling Fan (Optional)
- DIN Rail Mountable Housing
- Compact Form Factor
- Power Robotics, SBC's, Raspberry Pi, Linux Systems and more
How It Works?
The Pi18650 Smart UPS operates the same as its predecessors and integrates additional features for standalone operation and environment monitoring. The optional ESP-WROOM-32 dongle board adds a powerful Dual Core CPU providing Wifi and BLE features for Web and IoT integration along with data logging.
The Pi18650 holds a single cell lithium Ion 18650 form factor battery which should have an integrated battery protection circuit. The boost circuit maintains the voltage to the Pi at 5.1V for battery voltages of 3.7V to 4.2V. The jumper allows you to disable power to the Pi and Isolate the battery circuit or start the Pi. It also includes a charging IC which can charge up to 200mA from the terminal block input connector. Battery monitoring is achieved with the TI MSP430FR programmable microcontroller which can be operated in two modes with the MODE SWITCH. MODE 1 allows the user to poll the Power Good GPIO which is high when power supply is present and goes LOW after a specified time when absent, subsequently then power is cut to the output terminal after approximately 20 seconds OR MODE 2 to ignore power supply input level and run from battery power until a pre-determined level is reached at which time the Power Good GPIO will go low and approx 20 seconds after that the power will be turned off on the output terminal giving the HOST time to perform a proper shutdown and avoid any data or Os system corruption. Once power is restored the Power Good GPIO will then go HIGH and the output terminal will be enabled powering up connected devices. The firmware on the microcontroller also filters out small spikes and brownouts on the power supply input so no shutdown is performed unless the interruption is longer than a predetermined period of seconds. Without a UPS on your computer, these interruptions can crash your Os or even corrupt your system files causing downtime and repair.
The low power microcontroller reads temperature and humidity readings from a sensor and raw byte data can then be accessed from the HOST via I2C at which point a mathematical formula is applied to process the data. This is great for those applications needing environment monitoring whether it be a remote site, outdoor location or in a server room, For the IoT dongle board, we have upgraded to a powerful ESP-WROOM-32 with a DUAL CORE CPU board adding an SD card for data logging and GPIO connection to the microcontroller for Remote Reboot feature. IoT and CLOUD connections are possible along with BLE application from the ESP32 module.
The Pi18650 Smart UPS can be powered from a DC supply up to 24VDC and provides additional ESD and other protection circuitry from voltage spikes and other events which occur in industrial, commercial and residential applications. Pluggable terminal blocks allow quick and easy installation into your applications. A potentiometer allows the use of variable voltage which may be required for your application like running 5V for Arduino and Raspberry Pi or 12V for a Linux or Windows IoT system or other circuitry you may have.
Integrating the Pi18650 Smart UPS into your projects ensure a safe and reliable power source to minimize downtime, protect your devices from noisy environments and allow remote operations. Various sized capacity 18650 Lithium Ion batteries can be used to increase run time or backup power for your devices. DIN Rail mounting allows flexibility for mounting options. Get your Pi18650 Smart UPS today before they are all gone!!
Powering a Router
The cooling fan allows heavier loads when using higher input voltages like 24VDC to help dissipate heat from the converter chip and keep other circuitry cool.
The Pi18650-WROOM-32 dongle board plugs into the Pi18650 SMART UPS allowing for IoT integration and analytics along with Remote-Reboot feature. Our latest version includes a JST battery connector with onboard li-Ion charging IC for use in standalone applications, a micro USB connector for programming with integrated USB-To-UART bridge, voltage regulator and LED indicators for Charging, Power and GPIO. The Micro-SD Card can be used to log temperature and humidity data from the Pi18650 SMART UPS or other use cases.
Development on the Pi18650-WROOM-32 board can be done in either Ardiuno environment or using the Espressif ESP-IDF with many example programs available. We have downloaded, installed and built the toolchain running in a Ubuntu Virtual machine and downloaded code to the module successfully. We will provide some instructions for this as there were some problems and errors we encountered while following the instructions on the Espressif site. A JST connector allows for connection of an external Li-Ion battery so that the Pi18650-WROOM-32 can be used aside from the Pi18650-SMART-UPS. Charging of the battery is accomplished by connecting a Micro USB cable to the board. The Micro USB cable also provides a means of programming the module once the BOOT push button is held while providing power to the dongle board. This puts the module into serial boot mode which allows for downloading new code into the module. When the Pi18650-WROOM-32 is connected to the Pi18650-SMART-UPS, the battery and Micro USB cable should not be connected as the UPS will power the Pi18650-WROOM-32. The module is capable of Wifi and BLE applications along with GPIO, I2C and SPI communications. Micropython is another option for developing on the module. We show an example application with the ESP-IDF using the Remote-Reboot feature by calling some URL's. If your Raspberry Pi or SBC is installed away from your reach or in a remote application, calling the Remote-Reboot example will request a reboot from the Pi18650 SMART UPS eliminating the need to physically cycle the power to your board. Sometimes the Pi, Linux and Windows Embedded Systems crash and this is an excellent way to Remote-Reboot and keep your system up-and-running.
Documents, code, manuals and instructions will be accessible from our GitLab/Github repo.
Power your Raspberry Pi with the ALL NEW Pi18650 SMART UPS.
Watch the video link below to see the Remote-Reboot Feature with the Pi18650 SMART UPS and the WROOM32-DONGLE.
From our last two successful campaigns, we sincerely appreciate support from our backers who have helped us to create and evolve our technology to make better customized products for use in IoT and Raspberry Pi based applications. Reliable and clean power source is the key to keeping systems operating smoothly and reliably. We hope to get your support today on our Pi18650-SMART-UPS and Pi18650-WROOM-32 Dongle board.
Risks and challenges
We have minimized the risks and challenges by developing and testing several prototypes which are built on previous successful designs.
Shipping terms are estimated as there may be unforeseen circumstances out of our control as with parts supply, logistics and other events which may affect these dates, although we will do our best to meet deadlines.Learn about accountability on Kickstarter