Wireless communication lets robots send and receive commands without a physical cable. This cheat sheet covers Bluetooth and related wireless ideas that matter when building or programming robots. Students need these concepts to understand why a robot may respond slowly, disconnect, or lose data.
It also helps connect robot behavior to real communication limits such as range, interference, and bandwidth.
The core ideas include pairing, addressing, signal strength, latency, data rate, packet loss, and communication protocols. Bluetooth is useful for short-range robot control because it is low power and supported by many phones, laptops, and microcontrollers. Important formulas compare speed, time, distance, data size, and reliability.
Good robot communication design balances range, speed, power use, and safety.
Key Facts
- Latency is the delay between sending and receiving data, and it can be estimated by latency = receive time - send time.
- Data rate describes how fast information is sent, and data rate = data size / transmission time.
- Transmission time can be found with transmission time = data size / data rate.
- Packet loss percent is packet loss percent = lost packets / sent packets x 100.
- Signal strength usually decreases as distance increases, so a robot farther from the controller is more likely to lose connection.
- Bluetooth pairing creates a trusted connection between two devices before regular data exchange begins.
- A robot control packet often includes a device address, command, value, and error-checking data.
- Reliable wireless robot control requires matching command speed to the robot task, because high-speed movement needs low latency and fewer lost packets.
Vocabulary
- Bluetooth
- Bluetooth is a short-range wireless communication technology used to exchange data between nearby devices.
- Pairing
- Pairing is the process of connecting two wireless devices so they recognize and trust each other.
- Latency
- Latency is the time delay between when a signal is sent and when it is received or acted on.
- Bandwidth
- Bandwidth is the maximum amount of data that a communication link can carry per second.
- Packet
- A packet is a small bundle of digital data sent across a network or wireless connection.
- Interference
- Interference is unwanted signal noise from other devices or obstacles that can weaken or disrupt communication.
Common Mistakes to Avoid
- Confusing Bluetooth with Wi-Fi is wrong because Bluetooth is usually shorter range, lower power, and lower bandwidth than Wi-Fi.
- Ignoring latency is wrong because a robot may keep moving for a short time after a stop command is sent, which can create unsafe behavior.
- Sending too much data too quickly is wrong because the wireless link has a limited data rate and packets may be delayed or dropped.
- Assuming signal strength is constant is wrong because distance, walls, metal objects, batteries, and other radios can change connection quality.
- Forgetting error checking is wrong because a corrupted command could make the robot perform the wrong action.
Practice Questions
- 1 A robot receives a command 0.18 seconds after it is sent. What is the communication latency?
- 2 A sensor sends 2400 bits of data in 0.6 seconds. What is the data rate in bits per second?
- 3 A robot controller sends 500 packets and 20 packets are lost. What is the packet loss percent?
- 4 A robot works well near the controller but becomes jerky across the room. Explain two wireless communication reasons this could happen.