Difference between revisions of "BPI:bit MoonCar Kit"
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[zh:BPI:bit MoonCar 登月小车]] | ||
+ | |||
+ | |||
=Overview= | =Overview= | ||
Line 4: | Line 7: | ||
[[File:Original_(1).jpg|thumb|BPI:bit MoonCar]] | [[File:Original_(1).jpg|thumb|BPI:bit MoonCar]] | ||
[[File:Original_(2).jpg|thumb|BPI:bit MoonCar]] | [[File:Original_(2).jpg|thumb|BPI:bit MoonCar]] | ||
− | [[File:Original_(3).jpg|thumb|MoonCar with BPI | + | [[File:Original_(3).jpg|thumb|MoonCar with [[BPI-Bit]]]] |
[[File:Mooncar_for_microbit.jpg|thumb|MoonCar with Micro:bit]] | [[File:Mooncar_for_microbit.jpg|thumb|MoonCar with Micro:bit]] | ||
BPI:Bit MoonCar(Web:bit MoonCar), developed by Webduino and iCShop,made by BPI, is a self-propelled car specially designed for the BPI:Bit(Web:bit)/Micro:bit development board. It has built-in tracking function, color sensing, infrared emission and reception, and buttons. Combined with Web:Bit, it can let the dot matrix display patterns of various colors.The foot position of ultrasonic wave is reserved in front, which can realize the function of automatic obstacle avoidance.More fun ways to control yourself through the Web:Bit education! | BPI:Bit MoonCar(Web:bit MoonCar), developed by Webduino and iCShop,made by BPI, is a self-propelled car specially designed for the BPI:Bit(Web:bit)/Micro:bit development board. It has built-in tracking function, color sensing, infrared emission and reception, and buttons. Combined with Web:Bit, it can let the dot matrix display patterns of various colors.The foot position of ultrasonic wave is reserved in front, which can realize the function of automatic obstacle avoidance.More fun ways to control yourself through the Web:Bit education! | ||
+ | |||
+ | [[File:Mooncar_kit.jpg]] | ||
=Hardware= | =Hardware= | ||
Line 16: | Line 21: | ||
[[File:01.-motor-1024x500_-_en.png]] | [[File:01.-motor-1024x500_-_en.png]] | ||
− | ==Sending and receiving messages== | + | ==IR (Sending and receiving messages)== |
The front of the MoonCar is equipped with a pair of infrared emission and reception, through the general infrared remote control to its instructions. Infrared transmitters can send messages to communicate with other mooncars, making it much more playable. | The front of the MoonCar is equipped with a pair of infrared emission and reception, through the general infrared remote control to its instructions. Infrared transmitters can send messages to communicate with other mooncars, making it much more playable. | ||
Line 73: | Line 78: | ||
==Use with BPI:bit== | ==Use with BPI:bit== | ||
+ | |||
+ | ==Use with Micro:bit== | ||
===Sourcode on github=== | ===Sourcode on github=== | ||
Line 78: | Line 85: | ||
Mooncar project : https://github.com/iCShopMgr/MoonCar | Mooncar project : https://github.com/iCShopMgr/MoonCar | ||
− | == | + | ===课程=== |
+ | *1.[http://www.circuspi.com/index.php/2019/08/15/mooncarlesson2/ 如何设置Makecode开发环境,并让小车运动] | ||
+ | *2.[http://www.circuspi.com/index.php/2019/08/15/mooncarlesson3/ 如何使用小车的8个RGB LED魔幻彩] | ||
+ | *3.[http://www.circuspi.com/index.php/2019/08/20/mooncarlesson4/ 如何使用小车的路径导航] | ||
+ | *4.[http://www.circuspi.com/index.php/2019/08/23/mooncarlesson5/ 如何使用超声波距离感测器] | ||
+ | *5.[http://www.circuspi.com/index.php/2019/09/03/mooncarlesson6/ 如何使用蜂鸣器] |
Latest revision as of 01:31, 17 October 2019
Contents
Overview
BPI:Bit MoonCar(Web:bit MoonCar), developed by Webduino and iCShop,made by BPI, is a self-propelled car specially designed for the BPI:Bit(Web:bit)/Micro:bit development board. It has built-in tracking function, color sensing, infrared emission and reception, and buttons. Combined with Web:Bit, it can let the dot matrix display patterns of various colors.The foot position of ultrasonic wave is reserved in front, which can realize the function of automatic obstacle avoidance.More fun ways to control yourself through the Web:Bit education!
Hardware
power source
MoonCar comes with two tiny metal motors and a training wheel, which are of better quality and durability than the motors with plastic gearboxes. The training wheels are specially made of non-metallic materials, which can reduce the noise caused by striking the ground.
IR (Sending and receiving messages)
The front of the MoonCar is equipped with a pair of infrared emission and reception, through the general infrared remote control to its instructions. Infrared transmitters can send messages to communicate with other mooncars, making it much more playable.
buzzer (make a sound)
On the right side of the MoonCar is a passive buzzer that can be programmed to produce different sounds, such as an electronic organ or an alarm or a ringtone. I can edit the statements generated by different notes and pauses to make MoonCar sound like talking.
Magic lantern
MoonCar is surrounded by a total of eight RGB LED lights, which are WS2812 and can be programmed to easily control the LED you want to light or adjust its brightness. Is there any color you want in the preset column? You can mix the colors you want by adjusting the proportions of R, G, and B channels.
Linear sensor (Track the line running)
At the bottom of the MoonCar is a linear sensor that can move along black or white lines by reflecting infrared light. One on the left and the other on the right can detect the out-of-bounds direction of movement on the black line.
Color identification
In addition to the linear sensor at the bottom, there is a color sensor, and a white light supplement light lamp. During the process, the color blocks on the ground can be identified, and the colors can be directly displayed with the magic LED, which greatly improves the fun.
Expansion function
The front section is equipped with a set of ultrasound (4 pin) and I2C slot, and the left and right position of the middle section is equipped with 2×12 rows of pins, which pull out all the micro:bit foot positions, so that users can add functions at will. The latter section is used to expand the battery connection plate.
Considerate design
The biggest feature of MoonCar is that it can be used in the two main control boards of Web:Bit and micro: Bit. Because the foot position of the two motherboards is different, there is a switch on the right side to optimize the motherboard.
The left switch can switch the power supply voltage of the extended row of pins and slots, whether it is connected to a common 5V sensor or to a 3.3v module such as RFID, it can be used safely with a slight switch.
The lower left part has a charging indicator, which displays a red light when charging and a green light when full. Micro USB port can connect USB cable to charge lithium battery.
Conclusion
In this module we learned about MoonCar, and in the next module we'll start teaching you how to program our MoonCar to move around and explore. See the complete comparison diagram below for details on the sections and associated pins in this chapter.
Software
Use with BPI:bit
Use with Micro:bit
Sourcode on github
Mooncar project : https://github.com/iCShopMgr/MoonCar