Patrol car based on Nezha and four-route patrol

The four-way survey sensor is a new sensor in the Planetary family. It has four survey probes and has survey capability on more complex maps. The operating voltage is between 5-3V.
material requested:
2、Structure of the building:
2.1、Set up the fixed structure of the motor
2.2、Join the two motors together
2.3、Splice the frame part
2.4、Spliced rear wheel
2.5、Spliced front wheel
2.6、The upper part of the motor is reinforced
2.7、Reinforce the lower part of the motor
2.8、Nezha fixed structure
2.9、Assemble a four-way patrol line
2.10、assemble NeZha
Connect micro-bit final product
3、code
basic.forever(function () { PlanetX_Basic.Trackbit_get_state_value() if (PlanetX_Basic.TrackbitState(PlanetX_Basic.TrackbitStateType.Tracking_State_4)) { neZha.setMotorSpeed(neZha.MotorList.M1, 70) neZha.setMotorSpeed(neZha.MotorList.M2, 70) } if (PlanetX_Basic.TrackbitState(PlanetX_Basic.TrackbitStateType.Tracking_State_6) || PlanetX_Basic.TrackbitState(PlanetX_Basic.TrackbitStateType.Tracking_State_13)) { neZha.setMotorSpeed(neZha.MotorList.M1, 100) neZha.setMotorSpeed(neZha.MotorList.M2, 0) } if (PlanetX_Basic.TrackbitState(PlanetX_Basic.TrackbitStateType.Tracking_State_7) || PlanetX_Basic.TrackbitState(PlanetX_Basic.TrackbitStateType.Tracking_State_9)) { neZha.setMotorSpeed(neZha.MotorList.M1, 0) neZha.setMotorSpeed(neZha.MotorList.M2, 100) } })
4、demonstration
February 25, 2022
|
View: 705
|
Categories: PROJECTS, ALL
| Tags: nezha breakout
|
By: Tom
|
Modify By: Ken at August 8, 2022
Share this post
About the Author

Tom
How to Send Micro:bit Data to ThingSpeak IoT Platform
January 11, 2018
VC0706 Camera Module DIY Guide
December 18, 2014
Notice of Accounts&Passwords for Former Website
April 13, 2020
Draw A Picture with Watercolors by A Nezha Robot
August 10, 2022
2022 The Best Five STEAM Robot Car for Homeschooling
August 4, 2022
Make A Robot Car with A Mechanical Arm
July 9, 2022
Monthly Archive
Topics
- Curriculum
- Course
- Micro bit supplier
- Wholesale Suppliers
- Micro bit tutorial
- Micro bit classroom pack
- Mcorbit Environment Monitoring
- Temperature-controlled
- Motor
- Fan
- TPBot car
- TPBot
- Micro:bit car
- AI Lens
- Micor:bit AI Lens
- Microbit gyroscope
- Micro:bit LEDs
- BBC micro:bit
- Micro:bit Manipulator
- Wukong board
- Cutebot
- Micro:bit Motorcycle
- Nezha breakout
- Micro:bit DIY
- 360° servos
- AI Lens
- Retro Arcade
- Ecode
- PlanetX
- Microbit programming
- Your:bit
- Do your:bit
- IoT:bit
- Octopus
- Rainbow LED Ring
- Joystick:bit
- Wonder Building Kit
- Sensor:bit
Tags
Micro:bit
DIY
micro bit course
micro bit curriculum
micro bit supplier
micro:bit supplier
micro bit classroom pack
micro:bit classroom pack
micro bit tutorial
micro:bit tutorial
TPBot
micro:bit car
AI Lens
micro:bit AI Lens
microbit gyroscope
Micro:bit LEDs
BBC micro:bit
Micro:bit Manipulator
Wukong board
Cutebot
micro:bit Motorcycle
nezha breakout
micro:bit music
360° servos
AI Lens
Retro Arcade
ecode
PlanetX
sonar:bit
Microbit programming
your:bit
do your:bit
IoT:bit
Octopus
Rainbow LED Ring
Joystick:bit
Wonder Building Kit
Wish List
Comments