This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Reading Force sensing resistors values via ADC of nrf52DK

Hi,

I need to make two FSRS to read and display the output simultaneously. So, initially I had to get the ADC values from two analog pins at the same time. After struggling a bit, I was able to get it. Now, I need to get the force readings from FSRS. The vDD was taken as 5V since I connnected both the FSRs to the same 5V pin in the nrf52 dk. R_DIV was taken as 2500 ohms. However, the readings I obtained were not accurate. This is because, the ADC values show values fluctuating between 0,1,-1,2. It’s very confusing for me.

Can anyone help me with this?

Thanks!

Parents
  • Just make sure the divider with the FSRS in its relaxed state still won't allow for the pin voltage to exceed nRF_Vdd.
    For the cap there is some guidance in one of the tutorials but a ballpark approach would be figure out what your sample interval is and then choose a cap where the RC constant (ie, maximum thevenin equivalent source resistance ) is one tenth of that period. This cap is of course placed across AIN on the nRF.

    Another ballpark is just to make sure the source cap is at least 10 times greater than the SAADC cap. Both are sloppy approaches but either will do in a pinch.

    The SAADC and your source just do coulomb sharing during acquisition so it's pretty easy to calculate what percent of actual the sample voltage will be, based on your source capacitor.

Reply
  • Just make sure the divider with the FSRS in its relaxed state still won't allow for the pin voltage to exceed nRF_Vdd.
    For the cap there is some guidance in one of the tutorials but a ballpark approach would be figure out what your sample interval is and then choose a cap where the RC constant (ie, maximum thevenin equivalent source resistance ) is one tenth of that period. This cap is of course placed across AIN on the nRF.

    Another ballpark is just to make sure the source cap is at least 10 times greater than the SAADC cap. Both are sloppy approaches but either will do in a pinch.

    The SAADC and your source just do coulomb sharing during acquisition so it's pretty easy to calculate what percent of actual the sample voltage will be, based on your source capacitor.

Children
No Data
Related