RF51822 Light Sensor

josephcek gravatar image

asked 2018-01-14 11:30:08 +0100

We are trying to connect RF51822 with RaspberryPi over Bluetooth. Our aim is to get Light sensor values(lux). Please advise how to get started with RF1822 Sensor. *) How can we connect with RF51822 over bluetooth *) How to get light intensity values.

Kindly refer us some SDK & sample source code we can use to get values from RF51822

edit retag flag offensive close delete report spam


Have you read anything yourself before asking such question? If so can you at least post some ideas so we can see what level understanding of BLE technology and nRF5x platform you have?

endnode ( 2018-01-14 14:48:22 +0100 )editconvert to answer

We already downloaded nR51 SDK & segger embedded studio... please advise which sample code we can use initially to connect with nRF51 Sensor tag & fetch light intensity values.

MAKK ( 2018-01-15 06:07:50 +0100 )editconvert to answer

@MAKK You realize that the nrf51822 does not have a lux sensor, right? You could for example buy a lux sensor like this one here & connect the sensor to the nrf51 dk via i2c for example. It should also be possible to connect the raspberry pi directly to the lux sensor via i2c if you prefer to do that.

Bjørn Kvaale ( 2018-01-17 15:13:10 +0100 )editconvert to answer