Joy-Car Demo

This demo program for the Joy-Car shows the main functions of the vehicle and enables a simple demonstration of its capabilities. It offers three different modes that can be switched using buttons A and B on the micro:bit. Each mode represents a central function of the Joy-Car:

  • Mode 0 - Obstacle detection with moving ultrasonic sensor: In this mode, the ultrasonic sensor is used to detect obstacles. The sensor is mounted on a servo motor and can move to scan obstacles at different angles.
  • Mode 1 - Line tracking: Here the Joy-Car follows a black line using the line sensors on the underside. This mode demonstrates the vehicle's ability to move automatically along a defined route.
  • Mode 2 - Remote control: In this mode, the Joy-Car can be controlled manually via a remote control or other input methods, allowing interactive control of the vehicle.

By simply switching modes, the program offers a versatile way of testing and presenting the Joy-Car's functions.

Download

Here you can download the code example in your preferred programming language. Due to its size, this project is only available to download in MicroPython.

micro:bit