Hello to everyone!
I am new to the Raspberry Pi, in fact, I haven't bought one yet, first I wish to get the information I need before I can decide if the project I wish to create can be done with a RPI.
As the title says, I want to do some small car mods. Here's what I want to do:
-LED Daylights that turn on when I unlock the car
-LED Daylights that turn off when I lock the car
Afterwards, I need to specify that my side mirrors have a motor that works both ways to close or open the side mirrors
-I wish to make the side mirrors work kind of like the LEDs, when I lock/unlock the car, the mirrors close/open.
And finally, I wish to install bi-Xenon projectors on my car. However, by law, in France, when you have xenon headlights, you MUST have light washers (no problem for this) and also, an automatic headlight height system, so the headlights are always horizontal, no matter the position of the car.
Now, the main problem, si that a car works only on 12V, and (correct me if I'm mistaken) a RPI input/output only works on 5V maximum.
I am aware of the stuff I might need, maybe not everything.
For the LED Daylights and the mirrors, the doors have a small motor for locking the door, and it works with 3 wires. One is the ground, the other two are +12V, one works when the doors are locked, and the other when they are opened, and they work only 2 seconds. So this could be something to trigger the mirrors and the LEDs. the mirrors can be continously given 12V because if the motor closing and opening them doesn't move, it stops working, it's like this from factory.
For the headlight height, I am pretty sure I need something like an accelerometer to always know the position of the car. And the headlights already have a small motor to control the height, it's controlled manually, though, 6 positions possible, depending on how much weight there is in the car.
Of course, I am aware about all the security that needs to be done to make such a thing, with all the fuses and everything.
And also, I have some basic knowledge in programming with Java.
So, here I need the help of the experts, is my project possible with the RPI?
Oh, yeah, I forgot, for testing purposes, I have 2 spare headlights laying in my room, I changed mine with brand new ones. I also have a spare computer PSU, also for testing, and of course, it has both 5V and 12V.