Im using PCA10040 nrf52832 to measure light intensity with photodiode,
im using SAADC and SPI example to measure values but im not able to see any changes on UART as light intensity changes.
please suggest.
Im using PCA10040 nrf52832 to measure light intensity with photodiode,
im using SAADC and SPI example to measure values but im not able to see any changes on UART as light intensity changes.
please suggest.
Tried SAADC example only but still no changes.
Connected AIN0 (P0.02) to VDD.
You need to swap it between VDD and GND to see a change
thank you Awneil its working fine im getting output.
Jolly good!
For the benefit of others who may have similar problems, and find this, please explain what the actual problem was - and how, exactly, you solved it.
And verify the answer:
Hello Awneil,
Im trying to configure or set gain in SAADC example, for various gains it should operate but im not getting how to set gain register so that i get SAADC output depending on various gain and even i tried to change gain values in nrfx.saadc.h file but getting error. gains defined in nrfx.saadc.h files are default one but i want it to work as per my amplifier. So how can i define gains and make it work properly. Im using only 1channel AIN0
Presently its working properly with default gain values.
Please Suggest.