Last updated
Last updated
mBot Mega is a programmable robot with a metal structure. It offers gesture recognition, automatic line tracking, and obstacle avoidance features, and supports programming based on Hui Programming, Arduino IDE, and Raspberry Pi interfaces. mBot Mega is equipped with four Mecanum wheels. Compared to ordinary wheels, Mecanum wheels make mBot Mega more flexible and versatile in movement, making it a better choice for learning robot motion algorithms.
● Arduino C Programming, Wise Programming Graphical Programming
● Long press function switching Press any of the collision sensors until the color of the RGB light changes.
● Green: Gesture Recognition, Blue: Auto Line Patrol, Yellow: Auto Obstacle Avoidance
● Light colour: green
● Standby status: both RGB modules are dark green.
● When the obstacle avoidance sensor detects an obstacle, the RGB LED turns bright green.
● The three assembled IR obstacle avoidance sensors can detect three states at a distance of 3-10cm:
Slide to the right: when the obstacle avoidance sensors 3 and 2 or sensors 2 and 1 detect signals in sequence, the robot moves to the right by about 10 cm. the RGB LED on the right side turns bright green when the robot moves, and returns to dark green when the robot stops.
Slide to the left: when the obstacle avoidance sensors 1,2 or sensors 2,3 detect the signal in sequence, the robot moves to the left about 10cm. when the robot moves, the RGB LED on the left side turns bright green and returns to dark green when the robot stops.
Push: When obstacle avoidance sensors 1 and 3 detect the signal at the same time for more than 0.2 seconds, it is judged to be a push gesture, and both the left and right RGB LEDs turn bright green, and the robot moves backward.
● When all sensors fail to detect the signal, mBot Mega stops moving and the RGB LEDs revert to dark green
● Light colour: yellow
● When no obstacle is detected, all LEDs light up dim yellow.
● When an obstacle is detected by any of the IR sensors, all LEDs light up bright yellow.
● After switching to the automatic obstacle avoidance mode, move according to the status of the three sensors:
Forward: forward when none of the three sensors detect an obstacle
Turn left : when obstacle avoidance sensor 1 detects an obstacle, it will rotate about 90 degrees clockwise at the scene.
Turn right: when obstacle avoidance sensor 3 detects an obstacle, it rotates approximately 90 degrees counterclockwise on the spot.
Turn Backward: When Obstacle Avoidance Sensor 2 detects an obstacle, it will move backward about 5cm.
● Light colour: blue
● When the wire patrol sensor does not detect black, the RGB light is low blue.
● When the wire patrol sensor detects black, the RGB light on the corresponding side is high blue.
● After switching to line patrol mode, if any line patrol sensor detects black, it will start to patrol; if both line patrol sensors cannot detect black, rotate in place for 5 seconds until black is detected and then start to patrol; if black is still not detected after 5 seconds, stop the movement and wait for black to be detected and then start to patrol again (wait for manually placing it on the black line).
● Voltage use range: 2.4-6V
● Rated no-load speed: 118±10%RPM
● Rated load speed: 84±10%RPM (0.3kg.cm)
Product Parameter
描述
product code
10050
controller chip
ATMEGA2560-16AU
Input Voltage/Current
DC 6-12V 10A
working voltage
DC 5V
General Purpose I/O Pin
43
serial port
3
I2C interface
1
SPI interface
1
Analogue Input
15
DC current rating per I/O pin
20mA
flash
256KB
RAM
8KB
EEPROM
4KB
main frequencies
16MHz
Product Dimension
86mm×53mm
● Detectable range: light-coloured objects that can reflect infrared rays within the range of 20-120mm.
● Returns low (0) when an obstacle is detected, otherwise returns high.
● Adjust the maximum triggering distance by rotating the potentiometer, decreasing when rotating clockwise and increasing when rotating anti-clockwise.
Detectable range: within 2-20mm, outputs a high level when light colours (surfaces that reflect infrared light) are detected, otherwise outputs a low level (0).
● Outputs a low level when the key is pressed and a high level when the state is released.
● 4 RGB LEDs can be controlled individually, refer to the following diagram for LED serial numbers
● The screwdriver has a Phillips screw and a hexagon socket head screw at each end, so you can use them interchangeably depending on the situation.
Mounting the left motor bracket
Mounting the right motor bracket
Installation of wire patrol sensors
Attachment of motor bracket
Installing the motor drive module
Mounting Megapi to the car
Installing the Battery
Mounting the Infrared Obstacle Avoidance Sensor to the Upper Cover Plate
Mounting the body shell to the motor mount
Connect the motor
Connection sequence of the electronic modules
Corresponding positions of electronic modules
● 3pin connection method provides more freedom. Compatible with almost all 3pin electronic parts, such as sensors, light strips, etc.
If the battery is low during use, the robot will not work properly (e.g. Bluetooth disconnection, underpowered motors, etc.).
Software Installation
Installing Wise Programming:
Wise Programming is a graphical programming software independently developed by Kid's Maker for the STEAM education field, with over 10 million users using it to create, learn and share. It not only allows users to create interesting stories, games, animations, etc. in the software, but also allows them to programme hardware such as Makeblock system, micro:bit, Arduino, etc. It supports switching code languages such as Python with one click. Wise Programming supports one-click switching of code languages such as Python and provides Python input mode, while incorporating cutting-edge technologies such as AI (Artificial Intelligence) and IoT (Internet of Things).
Versions:
● PC (need to download and install software):
● Web-side (no need to install software, you can program on the web page):
● Wise Programming Mobile allows you to enjoy programming on mobile devices. You can download the Wise Programming App by searching for ‘Wise Programming’ in major app shops.
In order to connect the hardware on the web side of Wise Programming, we need to install the Wise Programming Assistant (mLink).
Download mLink to your computer by visiting this website:
Add the mBot Mega from the device library
Connect mBot Mega and update firmware. Connect the mBot Mega to your computer using the USB cable and click Connect to start connecting the device.
RGB control:
Use the data cable to connect MegaPi motherboard and computer, use the jumper cable to connect the RGB module to MegaPi motherboard, and open the Wise Programming Tool (desktop, web, and mobile are all available), click on Add, select mBot Mega in the Device Library, click on Connect and switch to Upload Mode.
Flashing: When the power is turned on, the RGB module produces the phenomenon of alternating light on and off.
Light up one by one: switch on the power, the RGB lights on the RGB module light up one by one, and when all the lights are lit, all of them turn off.
When the obstacle avoidance sensor detects an obstacle, the RGB light is on, otherwise the RGB light is off.
When the wire patrol sensor detects a black wire, the RGB lamp lights up, otherwise the RGB lamp goes out.
When the collision sensor detects an impact, the RGB light illuminates, otherwise the RGB light goes out.
Breathing light
running light
running horse lamp
One second forward, one second back, and the cycle is executed
One second to the left, one second to the right. Cycle through.
One second left panning, one second right panning
4 - 45° movement
Robot Dance
Robot obstacle avoidance
Robot patrols