A robot car is a type of mobile robot that is designed to move on wheels or tracks. It can be controlled remotely or autonomously, and it can be outfitted with a variety of sensors and other equipment to perform various tasks.
Here are some examples of tasks that a robot car can perform:
Robot cars can be used in various fields such as:
In this tutorial, we will control a car using the Micro:bit card and a smartphone.
we create two programs: a mobile application with App Inventor for the smartphone and a makecode program for the Micro:bit card.
Controlling a car using a smartphone and Micro:bit is a way to remotely control a robot car using a smartphone to send commands to a Micro:bit, which is connected to the car’s motor controller. Here’s an example of how it could work:
Micro:bit GPIO Card
The micro:bit GPIO card is an expansion board for the micro:bit computer that adds additional input and output (I/O) pins, known as General Purpose Input/Output (GPIO) pins. These pins allow the micro:bit to connect to a wide variety of sensors, actuators, and other devices, providing more flexibility and functionality for projects and experiments. The GPIO card typically includes a number of different types of I/O pins, such as digital input/output pins, analog input pins, and PWM (pulse-width modulation) output pins. It also provides a breadboard area to connect electronic components to the micro:bit. With the GPIO card, the micro:bit can be used to control a wide range of devices such as motors, LEDs, sensors and more.
A 2-wheel car robot kit is a collection of components that can be used to build a small, autonomous robot that moves on two wheels. These kits typically include a microcontroller, such as a ESP32 card, to control the robot’s movements, as well as motors, wheels, and other hardware to enable the robot to move and navigate.
2-wheel car robots are often used as educational tools, as they can be used to teach basic principles of robotics, electronics, and programming. They can also be used as a platform for experimenting with different control algorithms, sensors, and other hardware.
This robot kit is composed of:
2 gear motors (1:48)
2 car tires
1 universal wheel
A test plate is a type of device used in robotics to test the functionality and performance of various components or systems. It is typically a physical platform or structure that is designed to hold and support various test items or devices, such as sensors, actuators, motors, or other types of mechanical or electrical components. Test plates can be used to simulate different environments or conditions, such as temperature, humidity, vibration, or other factors, in order to evaluate the performance of the components or systems being tested. They can also be used to perform a variety of diagnostic or diagnostic tests, such as stress testing, endurance testing, or other types of evaluations.
Wires are used to transmit electrical signals and power to various components such as motors, sensors, and microcontrollers. It’s important to properly route and secure the wires to prevent tangles and damage. There are several methods for doing this, including using cable ties, clamps, and wire looms. It’s also a good idea to use different colors or labeling to identify the different wires and their functions. When connecting wires in a robot, it’s important to follow proper safety procedures, such as using the correct wire stripper and connectors, and wearing protective equipment such as gloves and safety glasses.
For the assembly of the car you can see the following article: https://www.robotique.tech/robotics/development-of-a-remote-control-car-with-microbit/
Here is the makecode program which allows you to connect the Micro: bit card to the smartphone and to receive a message containing the command order of the car.
We are going to create a mobile application called ‘commander_voiture’ with App Inventor which allows you to control the car from the smartphone.
We propose to create the design of the application, with the following visual:
To program the application, App Inventor offers us to use the Blocks space, which allows you to create a program in the form of a block diagram. Very easy to use but requiring a little programming logic.
Here is the program of the application created in the Blocks area of the Inventor App:
After installing the mobile application on your Smartphone, follow these steps to connect to the Micro:bit card:
que extensiones se utilizan. ??? podrían ayudarme con el código en app inventor.