Skip to content

The line-following and obstacle avoidance robot is an intelligent autonomous vehicle capable of moving along a predefined path while detecting and avoiding obstacles in its way.

Notifications You must be signed in to change notification settings

donotwaitx/Autonomous-navigation-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš— Raspberry Pico Line Following Car

This project demonstrates how to build a car that can follow a line using the Raspberry Pi Pico, L9110 motor driver, and IR sensors.

πŸ› οΈ Components

  • Raspberry Pi Pico
  • L9110 Motor Driver Module
  • 2 IR Sensors
  • 4 DC Motors
  • Chassis for the car
  • Jumper wires
  • Power supply

πŸ“Š Wiring Diagram

Raspberry Pi Pico L9110 Motor Driver IR Sensors
GP5 A_IA
GP4 A_IB
GP3 B_IA
GP2 B_IB
GP0 IR_LEFT
GP1 IR_RIGHT

▢️ How to Run

  1. Connect the components as per the wiring diagram.
  2. Copy the provided code into a new file on your Raspberry Pi Pico.
  3. Run the code on the Raspberry Pi Pico.
  4. Place the car on a track with a black line and watch it follow the line.

πŸ› οΈ Troubleshooting

  • Ensure all connections are secure.
  • Verify the IR sensors are working correctly by checking their output values.
  • Adjust the speed values if the car is not responding as expected.

πŸ“œ License

This project is licensed under the MIT License.


πŸš— Raspberry Pico Obstacle Avoidance Car

This project demonstrates how to build a car that can avoid obstacles using the Raspberry Pi Pico, L9110 motor driver, and an ultrasonic sensor.

πŸ› οΈ Components

  • Raspberry Pi Pico
  • L9110 Motor Driver Module
  • 1 Ultrasonic Sensor (HC-SR04)
  • 4 DC Motors
  • Chassis for the car
  • Jumper wires
  • Power supply

πŸ“Š Wiring Diagram

Raspberry Pi Pico L9110 Motor Driver Ultrasonic Sensor
GP5 A_IA
GP4 A_IB
GP3 B_IA
GP2 B_IB
GP1 TRIG
GP0 ECHO

▢️ How to Run

  1. Connect the components as per the wiring diagram.
  2. Copy the provided code into a new file on your Raspberry Pi Pico.
  3. Run the code on the Raspberry Pi Pico.
  4. Place the car in an environment with obstacles and watch it avoid them.

πŸ› οΈ Troubleshooting

  • Ensure all connections are secure.
  • Verify the ultrasonic sensor is working correctly by checking its output values.
  • Adjust the speed values if the car is not responding as expected.

πŸ“œ License

This project is licensed under the MIT License.

About

The line-following and obstacle avoidance robot is an intelligent autonomous vehicle capable of moving along a predefined path while detecting and avoiding obstacles in its way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages