Solar Powered Low Cost LoRa Node with Integrated Battery Holder


(Arinze Izukanne) #1

I wish to share my designs for a multipurpose LoRa microcontroller board based on the Atmel 328P microcontroller with an RFM95W LoRa module attached and LiPo Battery holder mounted on the reverse side of the board. Details of the design including PCB and BOM are available here.

The version 2, design details available here, adds onboard solar power LiPo charger for the integrated 18650 LiPo battery, using the CN3065. The idea is to provide a Low Cost LoRa module that makes all digital and analog inputs of the Atmel 328P available. This node can be used for prototyping. The board runs on 3.3V and the regulator on board is the MCP1700T-3302E/TT. No power LED is provided to reduce power consumption but an LED is connected to D7 via a 1K resistor.

If you plan to implement this project, remember to flash a bootloader unto the controller. Usually, I do this after the controller has been soldered on the board but before the LoRa module is welded on. This allows you to use the pads where the LoRa module should be to connect to the SPI bus of the controller for flashing.

Below are pictures of the finished version 1. Version 2 boards are currently in production.

IMG_4

IMG_6

IMG_1

IMG_2

IMG_3

IMG_5

Feedback and suggestions for improvement are welcome.


(Mt) #2

Good Work.


(Lhanneus) #4

I do this after the controller has been soldered on the board but before the LoRa module is welded on.

Is it possible to flash the bootloader aftersoldering the RFM95 ?


(Arinze Izukanne) #5

In my experience, I doesn’t work. The SPI bus doesn’t respond correctly with more than one device on it.


#6

It’s possible, but you need to PullUP SS!
[ISP%26PullUp
ISP%26PullUp


(Arinze Izukanne) #7

Cool. Thanks for this info.


(Arinze Izukanne) #8

Here are some pictures of the Version 2 board, which includes connection for a 6V solar panel and solar charging for a LiPo battery using the CN3065. All unused analog and digital pins are exposed and there are connectors for 3.3V and GND on board. This allows connection of multiple sensors directly to the board. The LoRa module used if the RFM95W.

When encased, we will be using multiple nodes like this to monitor motion and environmental conditions in different locations within a city. I hope people will come up with other more creative applications.

Here are some photos…

IMG_20180713_214727

IMG_20180713_204001


(Xz81) #9

Hi @aizukanne

I find very interesting your design. I may order some pcb’s myself. Have you tried them?
It could be very interesting any comment based on experience. Any bug until now? What about battery duration? It would be great if you provide some example code.

Thank you very much for sharing! :clap: :clap:


(Arinze Izukanne) #10

Hi xz81,

Yes I have tried them. No bugs noticed. The battery duration depends largely on application. Perhaps, if there was a standard application to be used to measure battery life that would help.
The voltage regulator on board the MCP1700T has Extremely Low Operating Current for Longer Battery Life (1.6 uA typical). I have been running the modules with a 1.25W solar panel attached so I have never had the batteries run out. I have an OTAA node which hasn’t been in the sun for a few weeks but is still running on a 5000mAH (18WH) 26650 LiPo. Battery is currently at 3.2V.

From my experience, battery life depends on your sketch. Reducing blink time for LEDs, increasing update interval etc, all help to increase battery life.

The code is the basic LMIC sketch in ADB or OTAA with the following pin Mapping

   // Pin mapping
    const lmic_pinmap lmic_pins = {
    .nss = 6,
    .rxtx = LMIC_UNUSED_PIN,
    .rst = 5,
    .dio = {2, 3, LMIC_UNUSED_PIN},
};

Here is a picture of one of the nodes

Motion%20Node

Hope that helps.


(Xz81) #11

Thank you very much for the info.