Este tutorial es parte de: SunFounder Rasberry Pi Pico Pico 4WD Smart Car Kit
Files related to this group will be displayed together.
Course Lesson 8 of 10: Raspberry Pi Pico Smart Car – Lesson 8: Servo Motor and Object Following
Welcome to Lesson 8 of the Raspberry Pi Pico Smart Car course by Robojax. This lesson is part of the 10-part instructional series based on the SunFounder Raspberry Pi Pico 4-Wheel Drive Smart Car Kit.
In this video, you will learn how to control a servo motor using Python, and how to integrate that control into your smart car’s interaction with its environment. You’ll also explore an exciting application: having the smart car follow an object or hand within a specific distance range.
What You’ll Learn
The first part of the lesson introduces the servo motor and shows how to set it to specific angles using Python code. This knowledge is fundamental for any robotic project involving actuators like arms, sensors, or camera mounts.
In the second half, the lesson covers a follow-object behavior: when an object (like your hand) is placed 10 to 20 cm in front of the car, the smart car will move toward the object, stop upon reaching it, and then reverse slightly. This kind of proximity-based movement is foundational to robotics and automation.
This behavior is implemented using an ultrasonic sensor in conjunction with the servo motor. While the detailed code structure is not covered line-by-line, the behavior is clearly demonstrated to help you replicate the function.
📦 Links to purchase the kit, view documentation, and download source code are available below this article.
Este tutorial es parte de: SunFounder Rasberry Pi Pico Pico 4WD Smart Car Kit
- Course Lesson 1 of 10: Raspberry Pi Pico 4WD Smart Car Kit from SunFounder by Robojax
- Course Lesson 2 of 10: Basic Python to drive Raspberry Pi Pico 4WD Smart Car Kit
- Course Lesson 3 of 10: Assembling Raspberry Pi Pico 4WD Smart Car Kit from SunFounder by Robojax
- Course Lesson 4 of 10: Raspberry Pi Pico Expansion board for 4WD Smart Car Kit
- Course Lesson 5 of 10: Controlling RGB LED WS2812B Using Raspberry Pi Pico
- Course Lesson 6 of 10: Controlling DC Motors using Raspberry Pi Pico 4WD Smart Car Kit
- Lesson 7 of 10: Line Tracking, Cliff Detection Calibrate Greyscale Sensor Raspberry Pi Pico Car
- Course Lesson 9 of 10: Obstacle Avoidance using Raspberry Pi Pico 4WD Smart Car
- Course Lesson 10 of 10: Controlling Raspberry Pi Pico 4WD Smart Car Kit with mobile App
Common Course Links
- Purchase SunFounder Pico 4WD Smart Car Kit from AliExpress
- Purchase SunFounder Pico 4WD Smart Car Kit from eBay
- Amazon Canada: Purchase Pico 4WD Smart Car Kit by SunFounder
- Amazon France: Purchase Pico 4WD Smart Car Kit by SunFounder
- Amazon Germany: Purchase Pico 4WD Smart Car Kit by SunFounder
- Amazon Italy: Purchase Pico 4WD Smart Car Kit by SunFounder
- Amazon Japan: Purchase Pico 4WD Smart Car Kit by SunFounder
- Amazon Spain: Purchase Pico 4WD Smart Car Kit by SunFounder
- Amazon UK: Purchase Pico 4WD Smart Car Kit by SunFounder
- Amazon USA: Purchase Pico 4WD Smart Car Kit buy SunFounder
- Purchase Pico 4WD Smart Car Kit from SunFounder.com
- SunFounder Pico-4wd Car Kit Documentation
- Video Play List of 10 lesson on SunFounder Pico 4WD Smart Car Kit
Recursos y referencias
Aún no hay recursos.
Archivos📁
No hay archivos disponibles.