Back in February I wanted to teach Nybble some tricks on the high bar. It would involve intense experimenting and debugging in the air so I'd prefer program Nybble wirelessly. I knew it's doable to connect Bluetooth UART to the serial port on NyBoard, but didn't validate it myself.
I mainly referred to this Instructable posts, the bluetooth module is HC-05, with a push button on it. Notice HC-05 allows uploading sketches seamlessly, while HC-06 can only be used for communication.
Next follow the Intructable post to set up HC-05. Make sure you read the original post thoroughly.
First still use the FTDI uploader as serial port to program the baudrate, chip name and password of HC-05. Note some versions of the board may require CAPITALIZED tokens, like "AT" instead of "at".
Then plug the bluetooth module into the 1x6 socket on NyBoard, and power on. You should be able to see its name on your computer's bluetooth list. Connect and type in your password.
Now the device is connected to the bluetooth of your computer.
In the serial port selection of Arduino IDE, you will see the device:
Then you can communicate with Nybble through serial monitor. The list of supported commands is attached here.
With the serial protocol, it's very convenient to have both high and low level control with Pi or other chips. Detailed instructions for communication are in section 4.2.5 of the documentation. It works with both Arduino IDE and my serial commander in Python.
Now Nybble can be programmed freely 360 degrees in the air!
That's how Nybble plays on the high bar.
And do light painting.
Or follow voice commands if you have a voice server (either on or not mounted on Nybble)