For this High School project, Engineering II was to create a timer for the Engineering I's MagLev speed project.
We were tasked to use light sensors on an Arduino board to record the time of MagLev racers electronically
Materials:
Arduino board and breadboard
Two Light Sensors
LED's
Liquid Crystal Display Board
There was not much research to be done on this project as it was fairly unique to our class specifications. The teacher provided us with a code that used buttons to make a timer and we needed to incorporate the light sensor into the code, and mount it onto the track.
One of the biggest challenges of the project was figuring out how to use the display board. Code was provided, but it was difficult not only to transfer the code, but to figure out how to configure the breadboard to our greatest use. This process involved mostly trail and error, first to get the screen to output what we wanted, then to manipulate the code to use the light sensor.
The final code and Arduino configuration are listed next to here and below. The LCD screen was confusing at first to put together and get power, but once it worked it was a very useful display. After it is set up properly, the screen was easy to print on, and required only basic commands to form a display.
The timer code that was given was different from what I had created myself, but much more useful in the system of the code.
The timer successfully worked as intended. It recorded the times of the Maglev carts that engineering I built with a more accurate time. For a few very specific car, the timer malfunctioned when they finished and displayed random characters. Since the problem was so rare, and we had begun to move on to the next project, the problem was not addressed.