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
  • Hi,

    I recommend having a quick look at the Getting Started guide, then look into our Tutorials, in particular the Getting Started and Bluetooth low energy sections. After that the rest of the nRF5 SDK documentaiton should be useful. And of course you can search for answers to your questions here on DevZone.

    I also recommend that you start using Segger Embedded Studio with our SDK, as that is the main IDE that we support.

    Other DevZone users may of course have their own recommendations, hints and tips, and are free to share theirs in this thread.

    Regards,
    Terje

Reply
  • Hi,

    I recommend having a quick look at the Getting Started guide, then look into our Tutorials, in particular the Getting Started and Bluetooth low energy sections. After that the rest of the nRF5 SDK documentaiton should be useful. And of course you can search for answers to your questions here on DevZone.

    I also recommend that you start using Segger Embedded Studio with our SDK, as that is the main IDE that we support.

    Other DevZone users may of course have their own recommendations, hints and tips, and are free to share theirs in this thread.

    Regards,
    Terje

Children
Related