Circuit Projects

Serial Communication Between Two Boards and Message Verification

Two boards are cross-connected through their transmit and receive pins; the sent message is read on the other side and confirmed with an LED.

November 22, 20265 min read

In serial communication data is sent bit by bit over a single line at an agreed speed. In this circuit one board acts as transmitter and the other as receiver. The transmit pin connects to the other board’s receive pin and the receive pin to the other board’s transmit pin; the connection is crossed. The 1kΩ resistors on the lines limit current and soften the logic levels. When the receiving board gets a message it lights the LED. Because the wireless module runs at 3.3V, power is supplied through a regulator. The circuit teaches the basic rules of serial communication, including baud rate and crossed connections.

Circuit diagram for UART serial communication between two boards: control board, components and coloured jumper wires on a breadboard
UART Serial Communication Between Two Boards — original circuit diagram; the components and connections match the circuit in the simulator.

Bu projeyi gerçekten kurmak istersen parçaları hobidevre.com'dan temin edebilirsin →

Build it for real

To build this project for real, get the parts from hobidevre.com → hobidevre.com →

More build guides: hobidevre.com/blog

Create a free account — save your progress and get more circuits →

Save your progress

You can open this circuit in the browser simulator, trace the connections and change values to see what happens.

Open in simulator

Parts you need

Build the circuit with the components below. Each component’s role is listed in the parts list.

  • Control board × 1 — Sends the serial message.
  • Wireless module × 1 — Receives the message and drives the LED.
  • 1kΩ resistor × 2 — Limits current on the serial line.
  • 3.3V regulator × 1 — Produces the supply voltage the module needs.
  • +5V power rail × 1 — Provides input voltage to the regulator.
  • 220Ω resistor × 1 — Limits the LED current.
  • Green LED × 1 — Lights when a message is received.

Build steps

Placement on the breadboard: the transmitting board is on the left and the receiving module at the upper right (rows 3-9). Two 1kΩ resistors sit in the middle of the crossed lines and the 3.3V regulator at the lower right. The green LED and 220Ω resistor are at the lower left; the grounds of both boards and of the regulator are common on the bottom rail.

  1. Place the transmitting board and receiving module on the breadboard. Tip: Join the ground pins of both boards on a common rail.
  2. Connect the 3.3V regulator to the +5V rail and feed its output to the module’s supply pin. Tip: Connect the regulator’s ground pin as well.
  3. Connect the transmit pin through a 1kΩ resistor to the other board’s receive pin. Tip: TX and RX are always cross-connected.
  4. Connect the receive pin through the second 1kΩ resistor to the other board’s transmit pin. Tip: A straight-through connection will not carry the message.
  5. Connect the LED with a 220Ω resistor to the receiving board’s output pin. Tip: The cathode goes to ground.
  6. Send a message in the simulation and verify that the LED lights. Tip: Both sides must use the same communication speed.

How it works

A universal asynchronous receiver-transmitter opens the data with a start bit, sends the data bits and closes them with a stop bit. Both sides must use the same speed; if the speeds differ, the receiver samples bits incorrectly. Transmit and receive pins are crossed because one side’s output goes to the other side’s input. The ground connection makes both circuits see the same reference level; without it the logic levels drift. The resistors on the serial lines limit current and soften level differences. Because the wireless module runs at 3.3V, the supply is stepped down with a regulator; feeding 5V directly would damage it. When the receiving board finishes the message it drives the LED, so the communication is verified visually.

Expected result

The sent message reaches the receiver and the green LED lights briefly to confirm receipt.

Tips and common mistakes

  • If no message arrives, swap the TX and RX lines.
  • If the two sides use different speeds, the data is corrupted.
  • Never skip the ground connection.
  • Feeding 5V to a 3.3V module causes permanent damage.

Try it yourself

  • Send a message and observe the LED lighting.
  • Change the communication speed and see the effect.
  • Light the LED for different durations depending on the message received.

What you learn in this circuit

  • Sets up the crossed connection used in serial communication.
  • Explains why a common ground is necessary.
  • Provides level compatibility with a regulator.
  • Verifies message receipt with the LED.

Finding the parts

If you want to build this project in real life, you can get the parts from hobidevre.com.

Looking for more project ideas? Browse the guides on the hobidevre.com blog.

You may also like

Try the simulators

You need an account to use the simulators. Create one to save your work.

Keep learning

Reinforce what you read on this page with our own resources.

Deepen this topic

You can also see the same topic in short definitions and full explanation pages.