
You wrote code to read a sensor and print it to the screen. You open the Serial Monitor, but instead of ā24 Degreesā, you see:
⸮⸮⸮x⸮x⸮~⸮
Donāt panic! Your Arduino isnāt broken, and it hasnāt become sentient and learned alien languages. You are just experiencing a Baud Rate mismatch, meaning you and your computer are screaming at each other at different speeds.
When your Arduino talks to your computer over the USB cable, they have to agree on how fast they are going to speak to each other. This speed is measured in bits per second, or ābaudā.
If the Arduino is shouting at 115200 baud, but your computer is listening at 9600 baud, the computer just hears garbled noiseāhence the weird backward question marks.
setup() function. You should see a line like this:
Serial.begin(9600);9600 baud).Instantly, the gibberish will vanish and your crisp, readable data will appear!