Communications
Communications
Until now, most projects have focused on components connected directly to a single D1 R32.
For example:
Sensor
↓
D1 R32
↓
LED
or:
Button
↓
D1 R32
↓
Servo
In these examples, all the information stays inside one device.
Communication introduces something new.
Instead of working with only one D1 R32, projects can exchange information with other devices.
For example:
Device A
↓
Communication
↓
Device B
Communication allows devices to work together by sending and receiving information.
This is how robots can be controlled remotely, how sensor data can be shared wirelessly, and how multiple devices can cooperate within the same project.
What Is Communication?
Communication is the process of exchanging information between devices.
A device may:
Send information
Receive information
Do both
Examples include:
- A remote control sending commands to a television
- A phone communicating with a robot
- One D1 R32 sending information to another D1 R32
- A sensor station reporting measurements wirelessly
Why Do We Need Communication?
Without communication, a project can only use information available inside a single device.
For example:
Sensor
↓
D1 R32
↓
LED
This works well, but everything remains inside one system.
Communication allows information to move beyond a single device.
Sensor
↓
D1 R32
↓
Communication
↓
Another Device
This makes larger and more powerful projects possible.
Communication in Everyday Life
You already use communication technologies every day.
Examples include:
TV Remote
Remote
↓
Infrared
↓
Television
Wireless Speaker
Phone
↓
Bluetooth
↓
Speaker
Smart Devices
Device A
↔
Device B
Clu-Blocks Pro gives students access to the same types of communication systems.
Communication Categories
[ INSERT IMAGE HERE: Communications Categories ]
Figure 10.1 – Communication technologies available in Clu-Blocks Pro.
The Communications section introduces several specialized communication categories.
Unlike other toolbox categories, Communications is primarily an overview section.
The actual programming blocks are found inside the communication categories that follow.
The Three Communication Families
Students will explore three main communication systems.
| Communication Type | Main Purpose | Simple Idea |
|---|---|---|
| Bluetooth | Communication with phones, tablets, and compatible devices | Device ↔ D1 R32 |
| Infrared (IR) | Communication using infrared light | IR Transmitter → IR Signal → IR Receiver |
| ESP-NOW | Direct communication between ESP32-based boards | D1 R32 ↔ D1 R32 |
Each communication technology solves a different problem.
Bluetooth
[ INSERT IMAGE HERE: Bluetooth Category ]
Bluetooth is one of the most common wireless communication systems.
Students often use Bluetooth to connect:
- Phones
- Tablets
- Computers
- Robots
- Wireless controllers
Conceptually:
Phone
↓
Bluetooth
↓
D1 R32
or:
D1 R32
↓
Bluetooth
↓
Phone
Bluetooth is especially useful for remote-control projects and wireless user interfaces.
In later lessons, students will learn how to:
Send Bluetooth data
Receive Bluetooth data
Create two-way communication systems
Build wireless robot controllers
Infrared (IR)
[ INSERT IMAGE HERE: Infrared Category ]
Infrared communication uses invisible light signals.
Many household remote controls use IR communication.
Conceptually:
IR Transmitter
↓
IR Signal
↓
IR Receiver
Examples include:
- TV remotes
- Air conditioner remotes
- Media systems
- IR-controlled devices
Students will learn how to:
Receive remote-control commands
Identify button codes
Control projects using remote controls
Send infrared signals
Create programmable remote-control systems
ESP-NOW
[ INSERT IMAGE HERE: ESP-NOW Category ]
ESP-NOW provides direct wireless communication between ESP32-based boards.
Conceptually:
D1 R32 A
↔
D1 R32 B
ESP-NOW is particularly useful when multiple D1 R32 boards need to exchange information.
Examples include:
- Robot-to-robot communication
- Wireless sensor systems
- Distributed robotics projects
- Wireless monitoring systems
Students will later learn how to:
Send messages between boards
Receive wireless data
Share sensor information
Create multi-board projects
Communication Means Sending and Receiving
One of the most important ideas in communication is that information moves between devices.
Sending Information
One device creates information.
Device A
↓
Message
↓
Device B
Receiving Information
Another device obtains that information.
Device A
↓
Message
↓
Device B
Two-Way Communication
Sometimes both devices communicate.
Device A
↔
Device B
This is known as two-way communication.
Many advanced projects eventually use this model.
A New Programming Model
Up to this point, students have mainly explored:
INPUT
↓
PROCESS
↓
OUTPUT
Communication introduces a new idea.
DEVICE A
↓
COMMUNICATION
↓
DEVICE B
Eventually, projects may become:
DEVICE A
↔
COMMUNICATION
↔
DEVICE B
This allows multiple devices to cooperate and share information.
Choosing the Right Communication Method
Different projects use different communication technologies.
Want to communicate with a phone?
Use:Bluetooth
Want to use a remote control?
Use:Infrared (IR)
Want two D1 R32 boards to exchange information?
Use:ESP-NOW
There is no single communication method that works best for every project.
Each technology has its own strengths and uses.
Key Vocabulary
| Term | Definition |
|---|---|
| Communication | Exchanging information between devices |
| Send | Transmit information to another device |
| Receive | Obtain information from another device |
| Bluetooth | Wireless communication with compatible devices |
| Infrared (IR) | Communication using infrared light |
| ESP-NOW | Direct communication between ESP32-based boards |
| Message | Information exchanged between devices |
| Two-Way Communication | Devices both send and receive information |
Summary
In this lesson, you learned how communication allows devices to exchange information.
You explored:
What communication means
Why communication is important
The difference between sending and receiving
Bluetooth communication
Infrared communication
ESP-NOW communication
How devices work together
Communication expands programming beyond a single device. Instead of information staying inside one system, information can move between multiple devices, allowing projects to become interactive, connected, and collaborative.
Key Takeaway
Communication allows devices to exchange information, transforming projects from isolated systems into connected systems that can interact, cooperate, and share data.
As you continue through the Bluetooth, Infrared, and ESP-NOW lessons, you will learn how different communication technologies allow your projects to connect with phones, remote controls, computers, and other D1 R32 boards.
