Learning Arduino
- Brett Hoog
- Feb 16, 2021
- 1 min read
Updated: Feb 22, 2021
During our design phase of this ride, I got to thinking on how we were actually going to power and control Axelerator. No one on our team had much experience with coding or wiring, so I took the liberty of learning how to program our ride to work from a control board. I had a Raspberry PI system that I was not using, so I decided to play around with it. However, I did not have any other materials that would be needed to operate and control our ride. Realizing this, I searched online and found a kit that would benefit towards our ride.
The kit I found was a SMRAZA Arduino kit and further developed skills to control our ride. There was a servo motor with this kit and this would end up being similar to the servo motors we used to rotate the seats. I learned how to code this servo motor to rotate for a specified time.

Here is the code I used for getting this servo motor to move back and forth. The servo motor that came with the kit could only rotate 180 degrees.


Here is a video of the working servo motor from the push of a pushbutton.
Comments