Hi ...
how to get the data from analog sensor and pass via ble app
Thanks&Regards
pspavi
Hi ...
how to get the data from analog sensor and pass via ble app
Thanks&Regards
pspavi
In the SAADC example your ADC output should be Vdd * 284.44 on putty terminal. For the nRF52840-DK, the Vdd is 3.0 V.You can measure the output of IR sensor in volts using a multi-meter and that value multiplied by 284.44 should be your output on the terminal.You need to connect the output of of your sensor to P.0.02 on the DK.
yes I have tried by connecting it a gnd .
1) If i am connecting to a gnd i am getting the values in the range of 260 - 280
2) without gnd connection i am getting the values in the range of 830 - 900
Thanks & Regards,
pspavi
above pic with ground connection
without ground connection , output values
1)Looks like a hardware connection issue to me. Ensure that the the IR sensor and DK share a common ground.Check other connections too. Your jumper settings are different from DK.
2) What is the output of your IR sensor.It should not exceed 3V(Vdd). Multiply the multi-meter output by 284, the output of this multiplication should be displayed on the terminal(assuming dc output of the sensor).
1)Looks like a hardware connection issue to me. Ensure that the the IR sensor and DK share a common ground.Check other connections too. Your jumper settings are different from DK.
2) What is the output of your IR sensor.It should not exceed 3V(Vdd). Multiply the multi-meter output by 284, the output of this multiplication should be displayed on the terminal(assuming dc output of the sensor).