Serial Baud Rates
These rates and their settings rules come from the serial communication modules in the DersTeders Arduino workshop.
- 7 documented serial rules
- 9600 and 38400 baud
- HC-05 AT mode steps
- Two-board wiring included
Baud values in our lessons
Baud is the agreed speed of the serial line. Both sides must use the same value.
| Context | Documented rate | Rule |
|---|---|---|
| Normal Serial output | 9600 | Serial.begin(9600) is used across the workshop examples |
| Serial Monitor | Same as the sketch | A different setting produces meaningless characters |
| HC-05 normal operation | 9600 | The module returns to 9600 after setup |
| HC-05 AT command mode | 38400 | Hold ENABLE/KEY HIGH during power-up and set the line to 38400 |
| HC-05 wiring | TX to RX, RX to TX | The module RX tolerates 3.3 V; a two-resistor divider lowers a 5 V signal |
| Two-board UART | Same speed on both sides | TX and RX are crossed, 1 kΩ resistors limit current and grounds are joined |
| print vs println | No newline vs newline | Mixing them makes output run together on one line |
How to use this reference
Open the serial line with Serial.begin(9600) in setup. Our workshop uses this value in the LED, analog-read, ultrasonic and sensor-station examples.
Set the Serial Monitor to the same rate. Our troubleshooting page says that a mismatch shows garbled or meaningless characters.
Use print when you do not want a line break and println when you do. The difference is documented in the serial module.
For incoming data, check Serial.available() and read with Serial.read(). Characters arrive byte by byte; collect them until the line ends if you need a number.
For HC-05 setup, power the module with ENABLE/KEY held HIGH and use 38400 for AT commands, then return to 9600 for normal operation.
When linking two boards, cross TX and RX, keep both speeds equal and join the grounds. Our two-board circuit also places 1 kΩ resistors on the signal lines.
Related DersTeders pages
Garbled serial outputDiagnose a mismatched Serial Monitor rate.Two-board UART circuitBuild the crossed TX/RX connection.Serial Monitor emptyWork through the no-output checklist.Keep the reference close. Create a free account to save your place, open the simulators and follow the full electronics guides.
Free panelFrequently asked questions
Which baud rate do the examples use?
9600. Every standard Serial.begin example in our workshop uses 9600.
Why is my serial output unreadable?
The Serial Monitor rate does not match the sketch. Set it to the same value used in Serial.begin.
When is 38400 used?
In HC-05 AT command mode. Hold ENABLE/KEY HIGH at power-up, use 38400 for commands, then return to 9600.
Should TX connect to TX?
No. TX goes to the other device RX and RX goes to the other device TX; our two-board and HC-05 lessons both cross the lines.
Interactive circuit guide
Run the simulation, follow the build steps one by one and try it in our real app.
Stopped
Step-by-step build