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

Data exchange through UART

I have nRF8001-DK and Arduino Uno. ble_uart_project_template from nRF8001 SDK for Arduino (Bluetooth_low_energy_for_Arduino_0_5_0_0_RC2) was used. It was used with Master Emulator with nRFUart sample code included. By using this template I can send string from nRFUart and recieve this one in Arduino Serial Monitor. How I can add functionality to send string to nRFUart from Arduino Serial Monitor?

And I can't start with ble_uart_project_modify_setup. nRFUart can't discover nRF8001.

Parents
  • Ok, I will describe situation. I connect nRF2739 to desktop PC with running Master Control Panel (MCP, v.3.4.0.8098). I connect nRF2740 (nRF8001) to Arduino Uno which is connected to notebook with running Serial Monitor (SM) of Arduino. I choose baud rate of 19200 for stability in SM and changed it in sketch. I have discovered nRF8001 in MCP and enabled services. Via UART RX in MCP I send "Hello" for example and recieved it in SM but when I sent "hello" from SM I didn't recieved any changes in MCP. What I have to do to transfer data from SM to MCP? And I don't know why but original ble_uart_project_template more stable in my system. I can use this sketch with MCP v.3.1.0.7793 but with your sketch I am not able to connect to device even.

Reply
  • Ok, I will describe situation. I connect nRF2739 to desktop PC with running Master Control Panel (MCP, v.3.4.0.8098). I connect nRF2740 (nRF8001) to Arduino Uno which is connected to notebook with running Serial Monitor (SM) of Arduino. I choose baud rate of 19200 for stability in SM and changed it in sketch. I have discovered nRF8001 in MCP and enabled services. Via UART RX in MCP I send "Hello" for example and recieved it in SM but when I sent "hello" from SM I didn't recieved any changes in MCP. What I have to do to transfer data from SM to MCP? And I don't know why but original ble_uart_project_template more stable in my system. I can use this sketch with MCP v.3.1.0.7793 but with your sketch I am not able to connect to device even.

Children
No Data
Related