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

Need help to go with nrf52840

I'm a newby in bluethoth communication.
To control model cars and model trains in scale 1:87 I built a decoder with an ATMEL chip.
The communication based on digital infrared data frames.
The decoder helds the startup information within the EEPROM.
Now I want to use bluetooth to communicate with.
My considerations are:
Master and slave communication (may be mesh)
Master sends and reads information to/from slave (polling ?)
Each slave controls the function of the car or train dependend of the received data from master.
Besides communication every slave must be able to analize or built:
Analog input
Digital output
Set lights on or off
Create servo pulse
PWM to lights
Send serial data to a Atmel controller
PWM for motor control
And more to do...
Which examples do I need to have the basics running on the development board?
I've got working the blinky example.
But i dont know which example i have to use to get master and slave communication?
I bought 4 development boards for testing from mouser.
BR
Claus
Parents
  • Hi Claus

    Are you replacing the IR communication with BLE?

    If yes, what is the role of the Atmel chip after you introduce the Nordic BLE solution?

    The master in your network is some kind of remote control I assume? 
    Will there just be one master, or could there be many masters?

    I believe the ble_app_blinky or ble_app_uart examples are good starting points (UART more than blinky possibly, as it allows you to send arbitrary strings between the master and slave). Then you will get the BLE link running quickly, and can then add the various peripherals and additional features on top of this. 

    Best regards
    Torbjørn

Reply
  • Hi Claus

    Are you replacing the IR communication with BLE?

    If yes, what is the role of the Atmel chip after you introduce the Nordic BLE solution?

    The master in your network is some kind of remote control I assume? 
    Will there just be one master, or could there be many masters?

    I believe the ble_app_blinky or ble_app_uart examples are good starting points (UART more than blinky possibly, as it allows you to send arbitrary strings between the master and slave). Then you will get the BLE link running quickly, and can then add the various peripherals and additional features on top of this. 

    Best regards
    Torbjørn

Children
Related