cancel
Showing results for 
Search instead for 
Did you mean: 

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

Dada10233
Associate

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?

 

2 REPLIES 2

@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

 

RomainR.
ST Employee

Hello @Dada10233 

These video tutorials should help you, especially Lab 4.

https://www.youtube.com/@truestepbystep3763/videos

Let me know if it helps you?

Best regards,

Romain,

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.