Dear Nordic Team,
I am currently trying to collect data by using Arduino Uno and send the data to nrf9160DK, and send the data to MQTT broker. May I ask what sample I can use for the integration?
Best regards,
Yeo Rhi Khin
Dear Nordic Team,
I am currently trying to collect data by using Arduino Uno and send the data to nrf9160DK, and send the data to MQTT broker. May I ask what sample I can use for the integration?
Best regards,
Yeo Rhi Khin
Hello
This depends on your setup, but there are many protocols to communicate between MCUs, SPI and I2C for example.
Any reason you can't collect data directly on the nRF9160?
Best regards,
Einar
I have tried to collect the current reading by connecting a current sensor to the Analog input pin on nrf9160 to collect the current reading. However, I am not sure why the reading is not sensitive that the reading remains unchanged when the load is increased hence I decided to use Arduino. Perhaps you can help me to check if my code for the ADC is correct. I am connecting pin 14 for analog input.
Best regards,
Yeo Rhi Khin
It would help if you give more context here.
How are you trying to read your sensor?
What part of this isn't working?
In what way does it fail?
How have you tried to debug?
-Einar
I am trying to get the raw data from the current sensor that is connected to read the current of the motor. However, the current reading does not change although the load of the motor is changed, hence there is an inaccuracy of the raw data. My code works just that the raw data is inaccurate. I am not sure if there is anything wrong with my code.
Sounds like you just haven't set up your sensor/adc correctly if your reading doesn't change when you change the input.
Have you made any effort to debug this?
yup I have tried to debug but still cannot get the reading as accurate as using arduino.
What have you done to debug?
And are you getting inaccurate data, or are you getting no change in your data? These are very different scenarios.
Please be precise.
What have you done to debug?
And are you getting inaccurate data, or are you getting no change in your data? These are very different scenarios.
Please be precise.