Final Project – Time Machine

For my project, I built a time machine that takes the user through the future, allowing them to examine possible different outcomes for each year they visit. As they drag on the slider on the front of the box, they are transported between the years 2021, 2300, and 3000. The pressure sensor on the box allows the user to explore the outcomes for each of these years – no pressure for the best possible outcome, full pressure for the worst possible outcome, and light pressure for a middle-of-the-road outcome. The light on the box also changes color to represent the devastation of each scenario.

Overall this project came out exactly as I was hoping. The box looks exactly as I envisioned in the initial sketch, and the animations are pretty close to what I was imagining as well. There were some technical issues along the way, but ultimately I was able to implement all of the features I was looking for. The most challenging things programming-wise were setting up a system to match up the two different input and a system for making sure the slider value didn’t reset back to 0 when let go. The wiring was also particularly challenging – I have very little electrical experience so I was really faking it till I made it with regards to the pin hookups, but eventually I was able to get all the pieces working how I wanted. I had a very hard time using the clinch adapters for the ribbon sensors, they were much more difficult to apply and close than advertised!

Switch for the slider input. Using >/< comparisons combined with messages allowed me to only output when the user was touching the slider (i.e. not 0), as opposed to a [scale] which would constantly output whatever value it was on.
System for matching up the inputs. Basically each input of the two inputs could be 0, 1, or 2, which made a total of 9 combos. The [pak] at the top combines the inputs into a single message like the one on the right side, which then gets compared with each of the nine possible combinations. Depending on which one it is, it gets assigned a number and sent into the [jit.playlist]. I also decided to trigger the playback with a [change], so the video only switches when the input changes, eliminating any timing or looping issues.
Demo of my project. This may be the only way to see it as I’m borrowing some wires from a friend that I might need to return before the last class!

One Comment Add yours

  1. Javier says:

    The physical model is very good because it looks like a mini time machine. The animations are great and are even comical too. I also like the use of the slider and force sensor to interact with your time machine.

Leave a Reply