Dtynin
DIIDevHeads IoT Integration Server
•Created by Dtynin on 9/13/2024 in #middleware-and-os
Troubleshooting ADC Configuration for Sensor Data Acquisition on AVR128DA48 with Zephyr OS
hey guys on my Smart Industrial Monitoring System project, I've connected a vibration sensor (MPU6050) and temperature sensor (DS18B20) to the AVR128DA48. I'm using Zephyr OS, and I've configured the ADC for reading the sensor data. Below is the code I'm using to initialize the ADC for reading sensor data:
However, I'm getting
no readings
from the sensors. What could be wrong with my ADC configuration, and how can I ensure correct sensor data acquisition?4 replies