Note
Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts.
Why Join?
Expert Support: Solve post-sale issues and technical challenges with help from our community and team.
Learn & Share: Exchange tips and tutorials to enhance your skills.
Exclusive Previews: Get early access to new product announcements and sneak peeks.
Special Discounts: Enjoy exclusive discounts on our newest products.
Festive Promotions and Giveaways: Take part in giveaways and holiday promotions.
👉 Ready to explore and create with us? Click [here] and join today!
SunFounder PiCar-X¶
Thanks for choosing our PiCar-X.
Note
This document is available in the following languages.
Please click on the respective links to access the document in your preferred language.
The PiCar-X is an AI-driven self-driving robot car for the Raspberry Pi platform, upon which the Raspberry Pi acts as the control center. The PiCar-X’s 2-axis camera module, ultrasonic module, and line tracking modules can provide the functions of color/face/traffic-signs detection, automatic obstacle avoidance, automatic line tracking, etc.
PiCar-X has two programming languages: Blockly and Python. No matter what language you program in, you’ll find detailed steps to teach you everything from configuring the Raspberry Pi to running the relevant example code.
-
This chapter is for those who enjoy programming in Python or want to learn the Python language.
To get Picar-X working properly, you must install some libraries first.
The Raspberry Pi configuration and samples code for the PiCar-X are provided in this chapter.
An APP - SunFounder Controller is also provided to allow you to remotely control the PiCar-X on your mobile device.
-
In this section, you will use a Blockly based APP, Ezblock Studio, which, like Scratch, allows you to drag and drop blocks to make Picar-X move.
It is required to reinstall the SD card with the operating system we provide with pre-installed Ezblock environment before programming. It is recommended to use a new or unused TF card for this section.
Ezblock Studio is available for nearly all types of devices, including Macs, PCs, and Androids.
Ezblock Studio is a good choice if you are 6-12 years old, or don’t have programming skills, or want to test Picar-X quickly.
Content
- About This Kit
- Introduction
- Assembly Instructions
- Adjust Servo for Assembly
- Play with Python
- Quick Guide on Python
- 0. Calibrating the PiCar-X
- 1. Let PiCar-X Move
- 2. Keyboard Control
- 3. Text to Speech & Sound Effect
- 4. Obstacle Avoidance
- 5. Line Tracking
- 6. Cliff Detection
- 7. Computer Vision
- 8. Stare at You
- 9. Record Video
- 10. Bull Fight
- 11. Video Car
- 12. Treasure Hunt
- 13. Controlled by the APP
- Python Video Course
- Video A1: Starting with Raspbrry Pi
- Video A2: Assembly of the PICAR-X
- Video A3: Calibrate the PiCar-X
- Video 1: Motor Move and Steering Control
- Video 2: Controlling the PiCar-X using keyboard
- Video 3: Text to Speech
- Video 4: Obstacle Avoidance with Ultrasonic
- Video 5: Greyscale Line Tracking
- Video 6: Cliff Detection
- Video 7: PiCar-X Computer Vision
- Video 8: PiCar-X Stares at You
- Video 9: Recording Video
- Video 10: Bull Fight with PiCar-X
- Video 11: PiCar-X as Video Car
- Video 12: Treasure Hunt Game
- Video 12: Control PiCAR-X Robot Car use mobile app
- Play with Ezblock
- Quick Guide on EzBlock
- Install and Configure EzBlock Studio
- Calibrate the Car
- Move
- Remote Control
- Test Ultrasonic Module
- Test Grayscale Module
- Color Detection
- Face Detection
- Sound Effect
- Background Music
- Say Hello
- Music Car
- Cliff Detection
- Minecart
- Minecart Plus
- Bullfight
- Beware of Pedestrians
- Traffic Sign Detection
- Orienteering
- Appendix
- FAQ
- Thank You
Copyright Notice¶
All contents including but not limited to texts, images, and code in this manual are owned by the SunFounder Company. You should only use it for personal study,investigation, enjoyment, or other non-commercial or nonprofit purposes, under therelated regulations and copyrights laws, without infringing the legal rights of the author and relevant right holders. For any individual or organization that uses these for commercial profit without permission, the Company reserves the right to take legal action.