This project demonstrates the concept of swarm intelligence using three Makebot robots programmed with Scratch. The swarm consists of one master bot and two slave bots. The communication between the bots is centralized and limited, utilizing IR sensors integrated with Arduino controllers.
- Makebot Development Kit
- 3 Arduino Boards
- IR Sensors
- Motors
- Scratch Programming Environment
- Master Bot: The master bot coordinates the actions of the slave bots by sending commands through IR communication.
- Slave Bots: The slave bots receive commands from the master bot and perform actions accordingly.
- IR Sensors: The IR sensors are used for communication between the master and slave bots.
- Arduino Controllers: Each bot is controlled by an Arduino board that processes the IR sensor data and executes the commands.
- Scratch Programming: The Scratch program is used to write the communication and control logic for the bots.
-
Assemble the Hardware:
- Set up the IR sensors on each bot.
- Connect the Arduino boards to the IR sensors and motors.
- Ensure all connections are secure and the components are properly powered.
-
Set Up the Software:
- Install the Scratch programming environment on your computer.
- Write the Scratch program to handle communication and control for the master and slave bots.
- Upload the respective programs to the Arduino boards of the master and slave bots.
-
Calibrate the Sensors:
- Ensure the IR sensors are properly calibrated for effective communication.
-
Test and Adjust:
- Run the program and observe the bots' behavior.
- Make necessary adjustments to the Scratch program to improve the communication and coordination of the swarm.
To see the Swarm Bots in action, please watch the following demonstration video:
Click the image above or this link to watch the video.
This project showcases the basic principles of swarm intelligence using Makebot robots, Arduino controllers, and IR sensors. It's an excellent introduction to robotics, communication protocols, and decentralized control systems. Enjoy building and experimenting with your Swarm Bots!