Does Lora module really need library?

Hello everyone, I want to do a project with lora's. It will run on battery until the battery dies. It will use adxl345, temperature and humidity sensors.

I want to make single channel gateway with ESP32. I am going to buy this lora module E32-44T30D ( It uses sx1278 UART).

Since I am not going to charge the battery, I need to use lowest power consumption. I found stm32f103c8t6 for it. Its typical current consumption is 1.4 µA at 3.3 V .
What happen if I use it with arduino ide instead of C, will power consumption increase a lot ?

I found a lot of lora library with arduino IDE. When I search it with C language, I couldn't find that much. I found this link . He only used HAL_UART_Transmit() , HAL_UART_Receive() and made p2p communication between them.

So my question is, do I really need library ? Can't I use ESP32 as gateway (I am going to program this on arduino ide) then HAL_UART for transceiver (end_note) to transmit data (I am going to use 2 or 3 stm32 with C)?

Can these lora libraries effect power consumption ? (for example if I use only HAL_UART_Transmit() , HAL_UART_Receive() instead of library, will power consumption increase ?)

The tools you use to develop your code are not related to power consumption. Your code tells the underlying hardware what to do and what hardware to enable/disable.

No. You can write the code yourself from scratch and discover all the configuration settings yourself, along with all the debugging required to get your code running if you wish.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.