Posts

Showing posts from December, 2025

Final Project: Reusing the Snake board design to create Tetris with the Arduino

Image
      This project is my final one, and I am super happy and sad to be at the end. I have learned so much in this course, and also had so much fun. There was a lot of creativity and design in making these projects, and I got to work hands on in NMID for the first time, which is something I will never say no to. This project layout will be the one I keep my Arduino as. The board setup works between my Snake and Tetris code, and is a great way to show what I learned in this class. The components for this one are the same as the Snake Arduino setup. The joystick is necessary for movement controls, like it was in Snake. Left and right move the pieces, down sends the pieces downwards, and up rotates the pieces so you can control their fit. The 8x8 LED array is meant to convey what the current game-board looks like, and when your current piece under control is moving. The last parts are the wire connectors, which connect the 5v, Ground, 8x8 LED array, and Joystick all to the Ar...

Art Meets Engineering: Using an Arduino compatible microphone to create light based on sound

Image
      This weeks project was based on using good engineering principals to create art. I tend not to be a very artistic person in general, but when I thought about art, I tend to think of movies, and moving colors, so I can up with the idea for colors to move based on the "strength" of your voice. While the piezo can detect stuff such as taps, I needed a microphone to detect actual sound input, so I had to order one off of Amazon. In the parts diagram below, swap out the piezo for the microphone, but everything else is exactly what I used. I connected all the regular LED's to digital pins 2-8 and 12, so that way I could just send a simple High/Low when I needed them on or off. I connected the RGB LED's pins to digital 9-11, so that way I could use the PWM technique to get analog results from a digital pin. I connected the final pin to ground. The microphone is connected to the 5V, ground, 0 digital pin, and the A0 analog pin to out put the digital and analog results. ...

Fun With Unity: Using an alternate controller to move a cube in Unity

Image
      This project used a potentiometer to control a cube in unity. The two programs were connected with serial through the Arduino IDE. The set up for the project was very simple, a potentiometer to move the cube, and a LED connected so we would know when the Arduino was running. The Potentiometer was outputting to Analog 0, so that way we could control a variable speed, and possibly have the cube stagnate, which couldn't be done with a digital pin. The LED is connected to digital 7, because we only need a high low to make it work. This project was very easy to complete, since all the instructions were written out for us. It was fun to get to use Unity again, which I have in the past, and also see how even a regular controller can be controlled through Unity, and also an alternate one. Tying in C# to the two connects things very well for me. Link to video showing work