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

program nrf51822 and accelerometer

Hello,

So i recently bought a PCB with a nRF51822 microcontroller and accelerometer. The accelerometer that is on the PCB is the lis2dh. Now I want to program the nrf51822 to send the accelerometer data trough ble. But I have no clue where to start. 

I found the "nRF5_SDK_15.0.0_a53641a" file where in C:\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_beacon is a main code included but I don't really understant the code. Is anyone who can give me tips how to start writing the code? The only IDE I am used to is the one from Arduino because that's all my school cared about. I now the nrf51822 is programmable with the Arduino IDE and I got the package needed for the nrf 51822 but again no clue how to start with the code because ble and beacons are kind of new to me.

Thanks in advance.

Kind regarts,

Nina

Parents Reply Children
Related