This is a simple project to orchestrate 2 mBot Ranger and 1 lego robot to do a coreography while they cannot comunicate with eatch other.
Name | Quantity | Board |
---|---|---|
mBot Ranger | 2 | Arduino Mega or Mega 2560 |
Lego Mindstorm | 1 | EV3 Intelligent Brick |
For setupping the project with the libraries installed use the the setup.py
.
Tip
To see the port to use do a arduino-cli board list
to check what ports are
open.
mBot Ranger:
arduino-cli compile -b arduino:avr:mega --port <port> --upload <path-to-sketch>
Lego Mindstorm, connect via Bluetooth and run:
ssh robot@ev3dev
# Default password is maker
gcc firmware.c -lm -lev3dev-c -o bin/firmware && bin/firmware
For Lego Mindstorms, follow the documentation on ev3dev:
- Getting Started with ev3dev
- Devices' drivers for complete interface of sensors and motors.
- ev3dev-C library for interacting with the drivers
For mBots: