I want to use arduino in a moving robot and want to use serial comms via bluetooth to transmit telemetry data between arduino uno and the arduino IDE.
I have two different serial comms:
- COM 12 for communication via bluetooth
- COM 13 to upload code to the arduino
The handling of serial seems to be quiet difficult and as a result several arduinos no longer work...
Details:
- Arduino UNO
- Arduino IDE 1.8.12
This is the tutorial I was following:
https://create.arduino.cc/projecthub/millerman4487/view-serial-monitor-over-bluetooth-fbb0e5
Details:
Step1
- arduino connected via USB with PC / Port13 - Bluetooth NOT connected
- upload of the code
Step2
- arduino disconnected from PC
- Bluetooth connected
- Arduino powered on via battery
- Bluetooth connection to PC pairing done
- Arduino IDE switched to COM12
- Arduino/Serial Plotter worked ok
Step3
- power off
- disconnected bluetooth module
- connected arduino back to the PC via USB
- Sorry - I forgot to switch Arduino back to COM13 at this stage
- changed some code
- upload failed (arduino IDE stuck - no error message
- changed Serial to COM13
- upload failed again... (arduino IDE stuck - no error message)
- reboot of the PC -> no
Is the arduino really that fragile???