5 years, 2 months ago.

radio problems


I've copied the programs from https://os.mbed.com/teams/microbit/code/microbit-simple-radio-rx/ & https://os.mbed.com/teams/microbit/code/microbit-simple-radio-tx/ . These links are posted as an answer to a similar problem.

I wrote a program in micropython it uses radio. The program got too big for microbit so i decided to give it a go in C++. I've created 2 projects radio-consumer for radio-rx and radio-producer for radio-tx. When I press a button on the producer which should send a datagram nothing happens. When i broadcast a "1" from a micropython producer nothing happens. I have a c++ consumer based directly on radio-rx and one written in micropython neither reacts to a c++ producer. these microbits have working radio I have tested them using micropython programs

Question relating to:

The BBC micro:bit is a pocket-sized, codable computer that allows anyone to get creative with technology. Made possible through a major partnership with 31 organisations, a micro:bit has been given …

1 Answer

4 years, 10 months ago.

Bluetooth is sketchy on microbit on some programming platform. I had quite the struggle last year.

But, if you are willing to treat microbit as nRF51822 board it works great for bluetooth with nRF BLE Apps.

This might help : https://os.mbed.com/users/suntopbd/code/uBit_BLE_UART_Voltmeter_IoT/