3908 views|1 replies

349

Posts

4

Resources
The OP
 

【McQueen Trial】Line Patrol Program [Copy link]

 

The McQueen car provides three programming environments
Mind+ is a graphical programming environment developed by DFRobot itself. It is a full Chinese environment and can be used offline, which is very suitable for children to develop and use. However, only the WIN version is provided, which limits the use environment. MAKECODE is the official development tool of micro:bit. It can be used online across platforms and can be developed on IPAD, saving the trouble of using a computer. Enter the URL https://makecode.microbit.org/ to open the online programming environment and load the maqueen library.
There are two infrared reflection sensors at the bottom of the McQueen car for line detection. There are two blue indicator lights on the front of the car to show the status of the detector. The white light is on when there is reflection, which is very convenient for debugging. Load the car patrol line sample program, click the download button, and copy the program to the development board.
Draw a path on the ground with a black pen.
Turn on the car power and the car moves along the path, as shown in the figure below.
From the picture, we can see that the car is not running smoothly. Next time, try to reduce the speed of the car and see if it slows down. This content is created by EEWORLD forum user xscc. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source


Latest reply

Don't drink and drive  Details Published on 2019-5-24 12:08
 
 

256

Posts

0

Resources
2
 
Don't drink and drive
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list