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: 1281
|
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
nRF24L01 Module Demo for Arduino
May 6, 2011
Case 2丨Using Wukong 2040 sensor to train neural network
December 1, 2023
Case 1: Using Wukong 2040 sensor to train neural network
November 23, 2023
Introduction to ELECFREAKS XGO Robot Dog Kit
November 8, 2023
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
- 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
- Downie
- Wenjie
- Laser Engraver Tutorial
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
Laser Engraver
Laser Engraving Machine
Wish List
Comments