The picoRoboticCar is a project that involves building and programming a robotic car using a Raspberry Pi Pico. This project aims to provide a hands-on experience with Raspberry Pi Pico. I have not use this microcontroller and like that you can use C/C++ or a version of python called MicroPython.
For this project I have decided to implement as much as possible from scratch using C and C++.
- Robotic Car Kit, this is the one I purchased SunFounder Robot Car Kit
- It includes everything you need for the car
- Rasberry Pi Debug Probe
- Visual Studio Code
- Install Rasberry Pi Pico extension
- I discovered this extension will do the full installation of the toolchain
Pin Number | Function |
---|---|
18 | Ultrasonic Servo |
6 | Ultrasonic Trigger |
7 | Ultrasonic Echo |
26 | Grayscale S0 - U1 |
27 | Grayscale S1 - U2 |
28 | Grayscale S2 - U3 |
8 | Speed Module Left |
9 | Speed Module Right |
19 | RGB LED Board |
4 | Wifi Module TxD |
5 | Wifi Module RxD |
Pin Number | Pin Number | Function |
---|---|---|
17 | 16 | M0 - Front Left Motor |
15 | 14 | M1 - Front Right Motor |
13 | 12 | M2 - Rear Left Motor |
11 | 10 | M3 - Rear Right Motor |
- Motor Control with PWM
- Clockwise
- Counter clockwise
- Stop
- Variable speed control
- Vehicle Control
- Forward
- Reverse
- Stop
- Left turn
- Right turn
- Speed control
- Wifi module driver
- Serial communication
- Speed encoder sensor driver
- Gray scale sensor driver (for line following)
- Ultrasonic senor driver
- Servo driver
- RBG light control
- Line following
- Object collition avoidance
This project is licensed under the MIT License.