cancel
Showing results for 
Search instead for 
Did you mean: 

Send sensor data from Nucleo-WL55JC1 and X-NUCLEO-IKS01A2 over LoRaWAN

Dada10233
Visitor

Hello,

I am working on a project using Nucleo-WL55JC1 and the X-NUCLEO-IKS01A2 sensor board. My goal is to read sensor data (temperature, humidity, pressure, etc.) and send it over LoRaWAN to a network server such as ChirpStack.

I have already connected the X-NUCLEO-IKS01A2 to the Nucleo-WL55JC1 using I2C (SDA = PA11, SCL = PA12). I have enabled I2C2 in STM32CubeMX. The LoRaWAN stack is configured, and the device can successfully join a network.

Now, I need help with the following questions:

  1. How do I correctly read the sensor data from X-NUCLEO-IKS01A2 in my STM32 project?
  2. How should I format and send the sensor data in a LoRaWAN uplink message?
  3. Are there any recommended libraries or example projects for this setup?

 

1 REPLY 1

@Dada10233 wrote:
  1. How do I correctly read the sensor data from X-NUCLEO-IKS01A2 in my STM32 project?

See the Datasheets for each of the sensors; see also their Product Pages for software 

The Product Page for the X-NUCLEO-IKS01A2  also suggests X-CUBE-MEMS1:

https://www.st.com/en/ecosystems/x-nucleo-iks01a2.html

 


@Dada10233 wrote:

2. How should I format and send the sensor data in a LoRaWAN uplink message?


That's entirely up to you - do whatever works for you and for whatever will "consume" the data at the other end