+21622886281
Car Micro:bit Project

Development of a remote control car with Micro:bit

Purpose of this project:

In this project we will build a remotely controlled car (by infrared) controllable by the Micro:bit card.

The user will be able to drive the car by a remote control in three directions (front, right and left) and stop it.

Required components

  • one Micro:bit board
  • one GPIO board two relays
  • one remote control
  • one infrared sensor
  • wires connection
  • chassis two wheels
  • two DC motors
  • one wheel

Construction of the car

Assembling the car with Micro:bit

To make the assembling, one can connect

For the first relay:

  • pin S to pin P0 of the Micro:bit board
  • the pin (+) to pin 3.3V of the Micro:bit board
  • the pin (-) to the GND of the Micro:bit board
  • the pin ON to an energy of 5V

For the second relay:

  • pin S to pin P1 of the Micro:bit board
  • pin (+) to pin 3.3V of the Micro:bit board
  • pin (-) to the GND of the Micro:bit board
  • pin ON to an energy of 5V

For each of the two motors:

  • the first terminal to the COM pin of the relay
  • the second terminal to the GND terminal of the Micro:bit board

For IR Infra Sensor:

  • Pin OUT to pin P2 of
  • Micro:bit board Pin (+) to pin 3.3V of Micro:bit board
  • Pin GND to GND of Micro:bit board

Makecode program

Here is the makecode program for the micro:bit card connected to the car.




0 commentaire


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top