Arduino/Projects/Cruise Control

From msgwiki
Revision as of 14:20, 31 October 2023 by Walttheboss (talk | contribs)
Jump to navigation Jump to search

Project Description

This project is a cruise control add-on for cars that do not have this tech. The general way this will work is it will have an Arduino uno R3 board that will receive input from an A3144 hall sensor. With that input from the hall sensor, the Uno R3 will calculate the car's rpm, translate that into a speed, and then take that and compare it to the last 100m that it last calculated. It will then compare that with the given speed it was provided by said user. With this known information, the car will then have the cruise control servo speed up the car or slow the car down. It will continue to calculate the speed of the car and compare and fix any problems. It will also have an emergency off switch that will signal the program to stop at any time and have the user take full control of the speed of the car.


Pins Explanation

This is the underside of the cruise control module; it has 6 pins. I will list out the pins top to     bottom left to right. The top two pins are the brake pins which engage the cruise control feature. These two pins will not be in use because of their location. Now on the bottom starting from left to right the first and second pins are the motor control and swivel the double sided thing back and forth. You can reverse the polarity to move it left or right. The second pair of pins do the same thing as the pins on top. Those pins will be used because they go directly to the cable adapter.