Skip to content

Murede/Robot-Car-Control-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Robot Car Control System

This project combines sensing, control logic, and hardware feedback in a Python control loop for a small autonomous car.

The system reads infrared line-following sensors to determine vehicle position relative to a path and updates motor behavior accordingly. It also uses ultrasonic obstacle detection so the car can stop, reverse, and attempt a recovery maneuver when the path ahead is blocked. The code ties together motor control, LEDs, a buzzer, and sensor input in one loop instead of treating each part separately.

I included this project because it shows embedded-style thinking and hardware-software integration. The main value is not just the Python file itself. It is the way the logic maps noisy sensor states into physical actions and fallback behavior.

Files

  • robot_car_control.py contains the main control loop

Hardware Dependencies

This code expects the following hardware driver modules to already exist in the runtime environment:

  • ultrasonic
  • motor
  • servo
  • infrared
  • adc
  • buzzer
  • led

Running the Project

  1. Place robot_car_control.py in the same environment as the hardware driver modules.
  2. Verify the pin mappings, motor direction conventions, and sensor orientation for the actual robot kit.
  3. Run the script on the target board or controller.

What This Project Shows

  • hardware-software integration
  • real-time control logic from multiple sensors
  • practical obstacle handling and recovery behavior

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages