Hi to everybody,
I am an Arduino enthusiast and I would like to use it to allow auto height adjustement for car lights through an LWM stepper motor according to the road inclination (using an MPU 6050 MEMS sensor).
My LWM stepper motor can be controlled through a tension between 0 and 12V which sets the motor to a predefined height (unluckily no specs can be found on the stepper motor).
I do know that Arduino outputs only 5V tensions and they can be modulated through PWM. What's the best approach to convert Arduino modulated 5V to modulated 12V ? As far as I understood reading the forums a mosfet with an RC low pass filter could be fine otherwise I have to use a digital potentiometer...what's the best approach ? Any schematics is greatly appreciated (I am a programmer not an electrical engineer)!
Thanks in advance