KS0543 (KS0543F) Keyestudio Beetlebot 3 in 1 Robot for Arduino STEM Education: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
Line 126: Line 126:


=== Project 1: LED Blinking16 ===
=== Project 1: LED Blinking16 ===
'''Description:'''


There is an onboard LED (L) on our Arduino Nano board connected to D13. In this experiment, we WILL make this LED blink.  
There is an onboard LED (L) on our Arduino Nano board connected to D13. In this experiment, we WILL make this LED blink.  
Line 133: Line 131:


=== Project 2: 6812 RGB18 ===
=== Project 2: 6812 RGB18 ===
Description:<br>


There are 4 RGB LEDs can be widely used in the decoration of buildings, bridges, roads, gardens, courtyards and so on by colors adjustment.<br>
There are 4 RGB LEDs can be widely used in the decoration of buildings, bridges, roads, gardens, courtyards and so on by colors adjustment.<br>
Line 140: Line 136:


=== Project 3: Play Music22 ===
=== Project 3: Play Music22 ===
There is a power amplifier component on the expansion board, which is often used to play music and serve as an external amplifying device for music playback devices. <br>
In this experiment, we use the speaker amplifier component to play music.<br>
=== Project 4: 8*8 Dot Matrix27 ===
=== Project 4: 8*8 Dot Matrix27 ===
Composed of LED emitting tube diodes, the 8*8 LED dot matrix are applied widely to public information display like advertisement screen and bulletin board, by controlling LED to show words, pictures and videos, etc.<br>
=== Project 5: Servo Rotation36 ===
=== Project 5: Servo Rotation36 ===
There are two servos on the car. We take the servo connected to pin D9 as an example. <br>
The servo is a motor that can rotate very accurately. It has been widely applied to toy cars, remote control helicopters, airplanes, robots and other fields. In this project, we will use the Nano motherboard to control the servo to spin.<br>
=== Project 6: Motor Driving and Speed Control39 ===
=== Project 6: Motor Driving and Speed Control39 ===
There are many ways to drive motors. This car uses the most commonly used DRV8833 motor driver chip, which provides a dual-channel bridge electric driver for toys, printers and other motor integration applications.<br>
In this experiment, we use the DRV8833 motor driver chip on the expansion board to drive the two DC motors, and demonstrate the effect of forward, backward, left-turning, and right-turning.<br>
===Project 7: Ultrasonic Sensor44 ===
===Project 7: Ultrasonic Sensor44 ===
There is an ultrasonic sensor on the car. It is a very affordable distance-measuring sensor. <br>
The ultrasonic sensor sends a high-frequency ultrasonic signal that human hearing can’t hear. When encountering obstacles, these signals will be reflected back immediately. After receiving the returned information, the distance between the sensor and the obstacle will be calculated by judging the time difference between the transmitted signal and the received signal. It is mainly used for object avoidance and ranging in various robotics projects.<br>
==== Project 7.1: Ultrasonic Ranging45 ====
==== Project 7.1: Ultrasonic Ranging45 ====
In this experiment, we use an ultrasonic sensor to measure distance and print the data on a serial monitor.
==== Project 7.2: Light Following50 ====
==== Project 7.2: Light Following50 ====
In the above experiments, we have learned about the 8*8 dot matrix, motor drivers and speed regulation, ultrasonic sensors, servos and other hardware. In this experiment, we will combine them to create a follow car with the ultrasonic sensor. The can can follow an object to move through measuring distance.<br>
==== Project 7.3: Dodge obstacles54 ====
==== Project 7.3: Dodge obstacles54 ====
In this project, we will take advantage of the ultrasonic sensor to detect the distance away from the obstacle so as to avoid them.<br>
=== Project 8: Line Tracking Sensor61 ===
=== Project 8: Line Tracking Sensor61 ===
There are two IR line tracking sensors on the car. They are actually two pairs of ST188L3 infrared tubes and used to detect black and white lines.  In this project, we will make a line tracking car.<br>
==== Project 8.1: Reading Values61 ====
==== Project 8.1: Reading Values61 ====
==== Project 8.2: Line Tracking64 ====
 
=== Project 9: Light Following69 ===
In this experiment, we use ST188L3 infrared tubes to detect black and white lines, then print the data on the serial monitor. <br>
==== Project 9.1 Read Values69 ====
 
==== Project 9.2: Light Following Car72 ====
==== Project 8.2: Line Tracking ====
=== Project 10: IR Remote Control78 ===
 
==== Project 10.1: IR Remote and Reception78 ====
We’ve introduced the knowledge of motor drivers, speed regulation, and infrared line tracking. In this experiment, the car will perform different actions according to the values transmitted by the infrared tracking. <br>
==== Project 10.2: IR Remote Control Car86 ====
 
=== Project 11: WIFI Control93 ===
=== Project 9: Light Following ===
==== Project 11.1: WIFI Test93 ====
 
==== Project 11.2 : Control 8*8 Dot Matrix Display Via WIFI121 ====
There are two photoresistors on the car. They can vary with the light intensity and send information to the Nano board to control the car.<br>
Photoresistors can determine and conduct the car to move by detecting light.<br>
 
==== Project 9.1 Read Values ====
 
In this experiment, we will learn the working principle of the photoresistor.<br>
 
==== Project 9.2: Light Following Car ====
 
We have learned the working principle of photoresistor, motor and speed regulation. In this experiment, we will use a photoresistor to detect the intensity of light as as to achieve the light following effect. <br>
 
=== Project 10: IR Remote Contro ===
 
Infrared remote controls are everywhere in daily life. It is used to control various home appliances, such as TV, speakers, video recorders and satellite signal receivers.<br>
The remote control is composed of an IR emitter, an IR receiver and a decoding MCU. In this project, we will make a IR remote control car.<br>
 
==== Project 10.1: IR Remote and Reception ====
 
In this experiment, we will combine the IR receiver and the IR remote control to read key values and show them on the serial monitor.
 
==== Project 10.2: IR Remote Control Car ====
 
In the above experiment, we have learned about the knowledge of the 8*8 dot matrix display, the motor driver and speed regulation, the infrared receiver and the infrared remote control. In this experiment, we will use the infrared remote control and the infrared receiver to control the car.<br>
 
=== Project 11: WIFI Control ===
 
In this lesson, we control the car through app. The Beetlebot APP sends commanders to the WIFI ESP-01 module then transfers to it to the microcontroller. By doing this, the car can perform different functions.<br>
 
==== Project 11.1: WIFI Test ====
 
The ESP8266 serial WiFi ESP-01 module is an ultra-low-power UART-WiFi transparent transmission module and designed for mobile devices and IoT applications.<br>
It can achieve networking functions by connecting devices to Wifi internet.<br>
 
==== Project 11.2 : Control 8*8 Dot Matrix Display Via WIFI ====
 
In this experiment, we will use the ESP8266 serial WIFI ESP-01 module to control the 8*8 dot matrix display on the car through APP and WIFI.<br>
 
==== Project 11.3: Multi-purpose Car ====
==== Project 11.3: Multi-purpose Car ====
In this project we will demonstrate multiple functions of the Beetlebot car through app.<br>
The code of ESP8266wifi module is not changed, then change the wifi password of the code into yours.<br>
Upload the code to the Arduino Nano board, as shown below;<br>

Revision as of 11:31, 20 January 2022

Description:

The Beetlebot smart robot, compatible with LEGO building blocks, is a STEM educational product which can automatically dodge obstacles, follow black lines and light to move. Besides, it has three cool forms such as the soccer robot, the siege robot, the handling robot. As for beginners, they can create whatever they want by LEGO building blocks.

Various improvements have been made on the Beetlebot car in comparison with other smart cars. It integrates a motor driver and a large number of sensors and is easy to assemble. Going forward, not only can it impart basic programming knowledge and AI application to children and the youth, but also it can cultivate their creativity, hands-on ability, problem-solving capability, interpersonal communication as well as teamwork ability. With this kit, you have a chance to experience soccer games using your own robots.

Features

  • Compatible with LEGO building blocks: generate diverse forms with LEGO blocks and sensors
  • Three forms: a soccer robot, a siege engine, a handling robot
  • Various functions: Pictures display, atmosphere light control, line tracking, obstacle avoidance, light following , IR control and WIFI control.
  • Easy to build: embedded design on car body; wire up the car body with a few steps
  • High compatibility: reserve ports for the Raspberry Pico board and the ESP32 control board
  • Charging function: integrate a circuit for 18650 batteries, low-cost and effective
  • WiFi Control: adopt WiFi control, can finish tailor-made software development
  • App: compatible with Android and iOS systems, with aesthetic page and flexible control system

Specification:

  • Working voltage: 5V
  • Input voltage: 2.5V~4.2V (lithium battery)
  • Maximum output current: 3A
  • Maximum power consumption: 15W (T=80℃)
  • Motor speed: 5V 200 rpm / min
  • Motor drive form: dual H-bridge
  • Ultrasonic sensing angle: <15 degrees
  • Ultrasonic detection distance: 2cm-400cm
  • IR control distance: about 7 meters (measured)
  • Size: 176mm*137mm*130mm
  • Environmental protection attributes: ROHS

Kit List:

# Picture Name QTY
1 thumb Keyestudio Nano CH340 Development Board 1
2 thumb ESP8266 Wifi Module 1
3 thumb Keyestudio Photoresistor 2
4 thumb 270° Servo 1
5 thumb Keyestudio Development Board 1
6 thumb Keyestudio Driver Board 1
7 thumb LEGO Bulk Lot 1
8 thumb Acrylic Board 1
9 thumb MD0487 Acrylic Board for Ultrasonic Sensor 1
10 thumb Acrylic Board for Servo 1
11 thumb 4.5V 200R Motor 2
12 thumb 8*8 Dot Matrix Display 1
13 thumb Aluminum Block 2
14 thumb 9G 180°Servo 1
15 thumb Car Wheel 2
16 thumb HC-SR04 Ultrasonic Sensor 1
17 thumb Screwdriver 1
18 thumb W420 Universal Wheel 1
19 thumb Blue USB Cable 1
20 thumb JMFP-4 17-Key Remote Control 1
21 thumb Black USB Cable 1
22 thumb Screwdriver 1
23 thumb 3P F-F Dupont Wire 2
24 thumb 4P F-F Dupont Wire 1
25 thumb HX2.54mm-4P Dupont Wire 1
26 thumb Winding Pipe 1
27 thumb 10P XH2.54 Dupont Wire 1
28 thumb Acrylic Gasket 6
29 thumb M3*40MM Dual Pass Copper Pillars 4
30 thumb M1.2*5MM Round Head Screws 6
31 thumb M1.4 Nuts 6
32 thumb M1.4*10MM Round Head Screws 6
33 thumb M2 Nuts 3
34 thumb M2*8MM Round Head Screws 3
35 thumb M3*10MM Round Head Screws 6
36 thumb M3*6MM Round Head Screws 9
37 thumb M3 Nuts 11
38 thumb M3*30MM Round Head Screws 9
39 thumb Soccer Ball 4
40 thumb W1515 Universal Wheel 1
41 thumb 18650 BatteriesKS0543F includes batteries,KS0543 doesn't conclude batteries 1
42 thumb USB to ESP-01S WIFI Module Expansion Board 1

Projects

Project 1: LED Blinking16

There is an onboard LED (L) on our Arduino Nano board connected to D13. In this experiment, we WILL make this LED blink. LED blinking is the most basic experimental project for Arduino enthusiasts. Let’s get started.

Project 2: 6812 RGB18

There are 4 RGB LEDs can be widely used in the decoration of buildings, bridges, roads, gardens, courtyards and so on by colors adjustment.
In this experiment, we will demonstrate different lighting effects with them.

Project 3: Play Music22

There is a power amplifier component on the expansion board, which is often used to play music and serve as an external amplifying device for music playback devices.
In this experiment, we use the speaker amplifier component to play music.


Project 4: 8*8 Dot Matrix27

Composed of LED emitting tube diodes, the 8*8 LED dot matrix are applied widely to public information display like advertisement screen and bulletin board, by controlling LED to show words, pictures and videos, etc.

Project 5: Servo Rotation36

There are two servos on the car. We take the servo connected to pin D9 as an example.
The servo is a motor that can rotate very accurately. It has been widely applied to toy cars, remote control helicopters, airplanes, robots and other fields. In this project, we will use the Nano motherboard to control the servo to spin.

Project 6: Motor Driving and Speed Control39

There are many ways to drive motors. This car uses the most commonly used DRV8833 motor driver chip, which provides a dual-channel bridge electric driver for toys, printers and other motor integration applications.
In this experiment, we use the DRV8833 motor driver chip on the expansion board to drive the two DC motors, and demonstrate the effect of forward, backward, left-turning, and right-turning.

Project 7: Ultrasonic Sensor44

There is an ultrasonic sensor on the car. It is a very affordable distance-measuring sensor.
The ultrasonic sensor sends a high-frequency ultrasonic signal that human hearing can’t hear. When encountering obstacles, these signals will be reflected back immediately. After receiving the returned information, the distance between the sensor and the obstacle will be calculated by judging the time difference between the transmitted signal and the received signal. It is mainly used for object avoidance and ranging in various robotics projects.

Project 7.1: Ultrasonic Ranging45

In this experiment, we use an ultrasonic sensor to measure distance and print the data on a serial monitor.

Project 7.2: Light Following50

In the above experiments, we have learned about the 8*8 dot matrix, motor drivers and speed regulation, ultrasonic sensors, servos and other hardware. In this experiment, we will combine them to create a follow car with the ultrasonic sensor. The can can follow an object to move through measuring distance.

Project 7.3: Dodge obstacles54

In this project, we will take advantage of the ultrasonic sensor to detect the distance away from the obstacle so as to avoid them.

Project 8: Line Tracking Sensor61

There are two IR line tracking sensors on the car. They are actually two pairs of ST188L3 infrared tubes and used to detect black and white lines. In this project, we will make a line tracking car.

Project 8.1: Reading Values61

In this experiment, we use ST188L3 infrared tubes to detect black and white lines, then print the data on the serial monitor.

Project 8.2: Line Tracking

We’ve introduced the knowledge of motor drivers, speed regulation, and infrared line tracking. In this experiment, the car will perform different actions according to the values transmitted by the infrared tracking.

Project 9: Light Following

There are two photoresistors on the car. They can vary with the light intensity and send information to the Nano board to control the car.
Photoresistors can determine and conduct the car to move by detecting light.

Project 9.1 Read Values

In this experiment, we will learn the working principle of the photoresistor.

Project 9.2: Light Following Car

We have learned the working principle of photoresistor, motor and speed regulation. In this experiment, we will use a photoresistor to detect the intensity of light as as to achieve the light following effect.

Project 10: IR Remote Contro

Infrared remote controls are everywhere in daily life. It is used to control various home appliances, such as TV, speakers, video recorders and satellite signal receivers.
The remote control is composed of an IR emitter, an IR receiver and a decoding MCU. In this project, we will make a IR remote control car.

Project 10.1: IR Remote and Reception

In this experiment, we will combine the IR receiver and the IR remote control to read key values and show them on the serial monitor.

Project 10.2: IR Remote Control Car

In the above experiment, we have learned about the knowledge of the 8*8 dot matrix display, the motor driver and speed regulation, the infrared receiver and the infrared remote control. In this experiment, we will use the infrared remote control and the infrared receiver to control the car.

Project 11: WIFI Control

In this lesson, we control the car through app. The Beetlebot APP sends commanders to the WIFI ESP-01 module then transfers to it to the microcontroller. By doing this, the car can perform different functions.

Project 11.1: WIFI Test

The ESP8266 serial WiFi ESP-01 module is an ultra-low-power UART-WiFi transparent transmission module and designed for mobile devices and IoT applications.
It can achieve networking functions by connecting devices to Wifi internet.

Project 11.2 : Control 8*8 Dot Matrix Display Via WIFI

In this experiment, we will use the ESP8266 serial WIFI ESP-01 module to control the 8*8 dot matrix display on the car through APP and WIFI.

Project 11.3: Multi-purpose Car

In this project we will demonstrate multiple functions of the Beetlebot car through app.
The code of ESP8266wifi module is not changed, then change the wifi password of the code into yours.
Upload the code to the Arduino Nano board, as shown below;