Hi ,there i have tcrt1000 optical sensor wants to interface with nrf51822 so can anybody provide me the tutorial on this things with a code... cheers, Abhijeet
Hi ,there i have tcrt1000 optical sensor wants to interface with nrf51822 so can anybody provide me the tutorial on this things with a code... cheers, Abhijeet
Hello Abhijeet kapse
Unfortunately we do not have any reference designs or codes with the TCRT1000. If you look at the TCRT1000 datasheet you can see the TCRT contains a BJT transistor whose base-emitter voltage is dependent on the received light intensity. You could for example use it as part of a common emitter circuit, and then use the ADC of the nRF to measure the voltage over the transistor. Just make sure the analog input is not exposed to voltages beyond its capability as described in the product specification.
Best regards
Jørn Frøysa
For the nRF51 series the latest SDK is 12.3.0. In the SDK folder you can find the ADC example under examples\peripheral\adc. Documentation for the example can be found here. Information on the ADC of the nRF51 can be found in the nRF51 series reference manual and the nRF51822 product specification. An example using the ADC to measure battery voltage can be found here
For the nRF51 series the latest SDK is 12.3.0. In the SDK folder you can find the ADC example under examples\peripheral\adc. Documentation for the example can be found here. Information on the ADC of the nRF51 can be found in the nRF51 series reference manual and the nRF51822 product specification. An example using the ADC to measure battery voltage can be found here