I wanted to make a useful Christmas present for my mother-in-law. For exercise she likes to use her Gubli under the desk elliptical machine. I wanted to simulate her walking around a track as she exercised. I purchased a magnetic switch from Adafruit and asked my husband to design a 3D printed bracket to hold it to the exercise machine. I then programmed an Arduino to read the inputs from the magnetic switch and move a stepper motor and light a NeoPixel ring. I only had the Beta version ready by Christmas but just finshed the final version housing all of the electronics in a wooden box that is glued to the top of the exercise machine. It works great!
After I purchased the magnetic control switch from Adafruit ($3.95) I asked my husband to design a bracket.
We designed a box that fit on top of the elliptical machine and could hold the electronics.
After programming the Arduino and doing all of the soldering for the NeoPixel ring and the magnetic switches I glued the Arduino and stepper motor driver inside the wooden box.
I then affixed the NeoPixel ring to the front of the box.
The stepper motor with attached Avatar was glued to the top of the box and the entire box was glued to the ellipitical machine.
The Arduino is programed to detect the number of steps taken and then to rotate the stepper motor which causes the Avatar of my mother-in-law to move in a circle, like she is on a track. The NeopPixel ring lights a new light for every 50 steps and makes a rainbow show and then clears after 1,000 steps. According to my mother-in-law she likes the addition to her ellipitical and it makes stepping fun. The components are powered by the dc power jack that is accessible through the box.