I don't even own an Arduino yet, but I am just wanting to check whether this project is feasible first.
What I would like to do is put an "exhaust" pipe on a bicycle that pushes out bubbles. The amount of bubbles depends on the instantaneous acceleration of the bike.
The basic idea is:
-
Measure acceleration using an accelerometer (presumably with an arduino)
-
Map that acceleration to to a value within some output voltage range and actually send that voltage out (presumably also from the same arduino). (I dont expect to have any problem implementing the code for this... I have already done accelerometer apps before on Android, for example)
-
Connect this voltage directly from the arduino to a modified bubble gun
The main problem I would expect to run into is that the arduino is going to be limited on how much current it can supply... and the bubble gun may exceed that... so some intermediate power supply might be needed, but I don;'t know what that would be or how that would work.
So, my basic question is whether it is trivial to do this? Are there any existing concrete tutorials that do something similar?