Skip to content

Search the documentation

Kit
Firmware

The MoBot kits

MoBot makes three kits. Each one is a small computer board with parts around it. You write Python for the board, and your Python reaches the parts through one object. On the Smart Car and the Mini that object is called robot. On the Smart Home it is called home.

Smart Car Mini Smart Home
What it is A wheeled robot that follows lines, avoids obstacles and tells colours apart A small wheeled robot that you drive from the app. It has lights, a buzzer and Police, Ambulance and Piano modes A house you build. It measures, raises alarms, opens with a card and lights itself, and it is on Wi-Fi
Chip ESP32 ESP32 ESP32-S3
Motor driver DRV8833 (the first Smart Cars use an L298N) DRV8833 None: the house has no drive motors
Main parts Two DC motors, a five-eye line sensor, a distance sensor, a colour sensor, a compass, a battery sensor, a buzzer and two LEDs. Servos and joysticks are add-ons Two DC motors, an RGB LED, two LEDs and a buzzer. A distance sensor or a two-eye line sensor can be added Temperature and humidity, motion, gas and light sensors, a knob, a button and an RFID reader. A screen, a three-digit number display, an RGB lamp, a buzzer, a servo and a fan
Link to your phone Bluetooth Bluetooth Wi-Fi, set up over Bluetooth
In code robot robot home
Pins Smart Car pins Mini pins Smart Home pins

The Mini is sold on the website as the Smart Car Mini. These pages call it the Mini.

The Smart Car and the Mini both use robot, and many parts have the same name on both. This table matches the reference. The firmware 3.0 names were chosen so that the same code works on both robots for everything they share.

In code Smart Car Mini
robot.bluetooth yes yes
robot.gamepad yes yes
robot.led1, robot.led2 yes yes
robot.buzzer yes yes
robot.left_motor, robot.right_motor yes yes
robot.line_sensor yes, five eyes yes, two eyes. Switch it on first with robot.enable_line_sensor()
robot.distance_sensor yes yes. Switch it on first with robot.enable_distance_sensor()
robot.name, robot.set_name(name), robot.mode yes yes
robot.rgb_led no yes
robot.color_sensor yes no
robot.compass yes no
robot.battery yes no
robot.servo1 to robot.servo4, robot.servos, robot.enable_servos() yes no
robot.joystick1, robot.joystick2, robot.enable_joysticks() yes no
robot.enable_distance_sensor(), robot.enable_line_sensor() not needed: both sensors are on from start-up yes

Three things to know when you move a program between the robots:

  • The line sensor has five eyes on the Smart Car and two on the Mini. robot.line_sensor.read() gives a list with one value per eye.
  • The Mini has to switch its distance sensor or its line sensor on first, with robot.enable_distance_sensor() or robot.enable_line_sensor(), because the two share pins. See Mini pins.
  • The Mini has no colour sensor, compass, battery sensor, servos or joysticks, and the Smart Car has no robot.rgb_led.

These pages describe firmware 3.0, which is the default. The current release is 3.0.2. Where a name changed in 3.0, the old 2.x name is shown beside it. See Firmware for versions, and Names from 2.x to 3.0 for the full list of renamed calls.