Electric Vehicle (electronics/components) question. What would be the best tool for the job? Answered
I am starting an electric vehicle project. For this project I have two motors, each powering to 2 fixed wheels. I will have a computer (Arduino-ish) supply power to these motors based on the graph of cos 2x (1 being 100% power ratio). The the steering wheel is the input of the degrees/radians.
(Now comes my question)
I will need some way for the computer to know what degree the steering wheel is currently at, (0 degrees= strait, -90 degrees=90 degrees left, 90 degrees of course being 90 degrees right.) what would be the most efficient way of doing this?