You can use the Petoi Bluetooth Adapter to run your Bittle programs wirelessly.
Details: https://docs.petoi.com/communication-modules/dual-mode-bluetooth
To be able to use Bluetooth in the classroom with other Bittles at the same time, you have to be sure to pair your Bluetooth adapter with your computer and not another students.
Remove the Petoi serial board from your Bittle
Insert the Petoi Bluetooth Adapter into the serial board
There are two ways to insert the adapter.
Use the photo as a guide.
Check that the DTR pins are connected to each other (look at the back side of the Bluetooth Adapter.)
Connect the serial board to a USB cable and plug the USB cable into your computer
Start the Arduino IDE
Use the Tools...Select Port to select the serial board's port.
If there are more than one port listed, unplug the USB cable and use Select Port to see which one is no longer there. That's the port you want to use!
Plug the USB cable in again and select the port.
Tools...Serial Monitor
Set the baud rate to 115200, and select
"Both NL & CR"
(See the Arduino screengrab --> )
Type:
AT+NAME
and press enter to send this command to the Bluetooth Adapter.
The serial monitor should display something like:
+NAME=Petoi-249A
This is you Petoi Bluetooth Adapter name.
Write it down somewhere. Maybe on the Bluetooth Adapter itself.
On your computer, add a Bluetooth device.
Windows: Pair a Bluetooth device in Windows
MacOS: Connect a Bluetooth device
In the list of Bluetooth device found, select the Petoi Bluetooth Adapter name you found in the previous step.
When prompted for the device password, enter:
0000