I currently have a project where I would like to take an Arduino board and use its onboard accelerometers to control a frequency based ground output. I was hoping to program it so that it has let’s say a 10x10 table where the X axis of the table represents the accelerometer readings on its X axis, and the Y axis of the table represents the accelerometer readings on its Y axis. The goal is that on the 10x10 table it will be able to blend the readings of both the X and Y accelerometer axis inputs to control the frequency output duty cycle from the table. Basically so that the more G forces of acceleration the sensor reads, the higher the duty cycle will be on the ground output.
This ground output will then be hooked to a solid state relay which will then control a 12v motor.
I haven’t a CLUE where to start with this. Would this be a very complicated program to do? Anyone have a link that might have code similar to this that I could look at?