Hello boys.
After more two years I write new message for desrcribe to you what I am building.
If you remember, I want to cover the rear trunk of my car for to create a boat tail, but at high speed this boat tail create more lift that is dangereus at hi speed cornering.
I thought that an active spoiler is the best solution for the safety and the preservation of good aerodynamic.
So, I have installed a wiper motor to be linked to the spoiler.
This motor is drived by three relays for activation and reverse turn.
An simply circuit contain a potenziometer to be connected to the spoiler or at the motor for measure the angular inclination.
Two electrics limit are added for limiting spoiler range.
So, I bought an android device and an IOIO board ( see:
https://www.sparkfun.com/products/10748) that provide 48 pin for digital I/O, analog input (AD converter), PWM, SPI and I2C interfaces and USB plug or bluetooth stick for android connection.
I wrote big part of necessary software (app android) that control the spoiler in manual or automatic mode.
Now I can control the motor in manual mode through two button up and down direction.
For automatic mode, I use 3 axis accelerometer android embedded for understand the forces that affect the car during driving, I want add others two signal for an best management: brake signal and vehicle speed, but I need to add an frequency/voltave converter for connection at the IOIO.
Considerable time is required for to complete this work, the difficulty comes from the algorithm to the engine control strategy.
What do you think?
video
motor controlled by android with accelerometer