So i've been obsessed with arduino for the last month. the project that I am working on is adding GT350 Magnaride to my non Magnaride mustang.
I just want to make sure that the hardware im using can support this.
the Inputs that are required.
4 Pots Analog input (Ride height sensors for calculating wheel rate speed using a delta calculation at about 1 Kz)
3 Can bus inputs Steering wheel angle, brake force (PSI) and accel.
1 MPU6050 Accelerometer (not using angle just the g-force on the X and Y)
4 outputs through Mosfets
datalogging all inputs and outputs- the hardware I have and whats on order.
Arduino Nano, Uno and Mega 2560 (Due on order)
MPU6050 breakout board
Micro SD card datalogger breakout board
Can Bus MCP2515 breakout board
OEM Ford ride height sensors- Now this is what it needs to do (I have the code for this kinda figured out)
- read g force and apply voltage to appropriate shocks
- Canbus signals will modify 1.
- Wheel travel sensors will modify 1.
- Datalog all of the above.
So I suppose my question is can an Arduino Due do all this at 1khz?
Should I have separate arduinos processing their own data and spitting it out to a dedicated arduino controlling the shocks?
Should I move to a Teensy 4.0?
I'd like to see 1khz but would settle for 500hz sampling and writing to each shock.