Lora node hardware selection advice

Hi all, I am looking for some advice/tips please.

I want to build a lora node to transmit 3 temperature readings from DS18B20’s and one 0-5V analogue pressure sensor to TTN. I have not been able to find an off-the-shelf solution, hence the need to make my own. It needs to be battery operated and will transmit every 5 minutes. I have some experience with RPi and Thonny IDE so would like to stick to that environment.

I’ve looked over resources on Core webpages and I think the following will do the job:

  • RPi Pico or Pico 2
  • Makerverse LoRa-E5 Breakout or SX1262 LoRa Node Module for Raspberry Pi Pico, LoRaWAN
  • PiicoDev LiPo Expansion Board for Raspberry Pi Pico
  • Makerverse™ Nano Power Timer HAT for Raspberry Pi Pico
  • rechargeable or non-rechargeable battery

What are the pro’s and con’s of above? Are any of the components incompatible? Are there better alternatives?

  • The SX1262 comes with a more robust external antenna so I prefer that.
  • The pressure sensor will probably need to be powered off between readings to save power. The timer hat will do that, but what does that mean for joining the lora network? - does the node have to join each time or can it just wake up and transmit that data without going through the join process?
  • Many commercial Lora nodes use non-rechargeable batteries - is that a better/safer choice than rechargeable?

Thanks

Hi Steven
Just butting in with my 20 cents worth here.

If you are transmitting data every 5 mins is there any power saving worth shutting down to “save power”. I would think any power saved would be negated by that used in the start up phase. This would save some complexity and could be worth thinking about with the idea of keeping everything as simple as possible.
Cheers Bob

Thanks Bob, I should look into that more carefully before adding complexity :slight_smile:

Hi Steven,

From memory at a high level, TTN users loraWAN. As such you will need a loraWAN Gateway, that users loraWAN Radio to talk to the end devices, and IP to send the data to the TTN Network servers.

Each node, then needs to support loraWAN (as per how your gateway is setup).
For the gateway, there will be a few options. A common one here was the one on a Raspberry Pi with the loraWAN Hat.

1 Like

Thanks Michael,

I have a Dragino gateway, receiving data from a few Dragino nodes already, but these are all off-the-shelf plug and play devices. I’ve not attempted my own diy nodwe yet.

Hey there, @Steven15255,

For staying with Thonny/MicroPython, I’d lean towards the Makerverse LoRa-E5. It handles LoRaWAN through UART AT commands. The Waveshare SX1262 needs more software work, its supplied LoRaWAN example is C/C++. The E5 supports an external antenna too.

As for the battery, that’s really going to depend on how everything runs under real-world conditions. Measuring power consumption is worthwhile before investing in any specific battery, especially since five minutes of idle current can add up. Cutting power means the firmware needs to save and restore the LoRaWAN session, including frame counters, or join again. I wouldn’t assume either setup handles that automatically.

1 Like

thanks for that, I’ll go with a pico 2 and the E5 :slight_smile:

1 Like

You don’t need the Nano Power Timer to switch the pr need the Nano Power Timer to switch the pressure sensor off. Gate its supply with a small MOSFET driven from a GPIO and the Pico and radio keep running, so the LoRaWAN session stays in RAM and there’s no re-join every five minutes. A fresh join each wake costs a join request plus the receive windows, which at that interval is airtime and battery you don’t need to spend. If you do cut power to the whole node anyway, save the session to flash first or it rejoins every cycle.

The bigger number is the Pico 2 itself: dormant mode still pulls rougly 1.5-2 mA, so even before the radio transmits you’re burning 40+ mAh a day just sitting there, and that idle current decides your runtime far more than the supply. For the supply, the PiicoDev LiPo board only charges the cell and feeds its raw voltage onto VSYS with no low-voltage cutoff, so a rechargeable cell can be drained flat and ruined, which is one reason the commercial nodes you mentioned just use primary cells. If you go LiPo use a protected cell or add a cutoff. A small board like a MicroPowerCore does the LiPo charging and the 3.3 V supply in one module, so you can skip the PiicoDev board and still power the Pico and the SX1262, and your 0-5 V sensor sits above the Pico’s 3.3 V ADC so it needs a divider first

thanks for your feedback @James332071 - looks like I will have to rethink my power supply options as a small battery is not going to do the trick. I like the idea of the MOSFET. I can probably just use a car battery if it comes to that, lets see what happens when I put it all together…