Tuesday, March 26, 2013

Senior Design Control System

Yesterday I 3D printed the two halves of the case that will house the components for the control system I am designing. Managed to print the wrong version of one of the halves and had to reprint it, wasting almost an hour of time. I popped in the components to see how they fit. I'll have to enlarge some of the holes for the Arduino ports since it's a tight fit. Next step, which I can't say I'm looking forward to is all the wiring and soldering that will come from converting everything seen here into the little box shown below. A quick note, I didn't tolerance the holes for the ports correctly so that's why the side looks crappy. I also printed a really thin shell so that the print time was faster. Will make it nicer once I print the final model.





Making a Game Part 3

I'm done.. I'm done... I'm done! I can't believe I've finished my first serious goal for a project. At some point I want to add different difficulty levels and fix it so there's an "introduction" light sequence. For now, I'm going to leave it. Code is after the break. I added comments so that you may understand it. if you have any questions feel free to email me.




Sunday, March 24, 2013

Making a Game Part 2

Made some progress with the game. Thought I was almost done with the coding but I'm stuck and will seek help with it. Current progress is after the break. Decided to start commenting my coding as well so I don't forget everything if I try to look at something later.

Control System

Started getting to work on the control system for my senior design project. It looks pretty cluttered right now. Going to use the 3D printer at work to design a case and then solder everything together into a nice little package. The code will also be cleaned up soon with some comments. Thanks to Arduino.cc and http://bildr.org/2011/07/ds18b20-arduino/ for most of the code.

 Cluttered wire mess.


The wires bundled at the right are the temperature sensors. These correspond to three different readings of W1, W2, and P, which are shown below. 



Monday, March 11, 2013

Making a Game Part 1

Decided to make something interesting so I decided on a simple game. The goal of the game will eventually be to keep the light within the row of lights. This is achieved by pushing the light back into the direction from which it came. It's basically a balancing game in which you don't want to have the light "fall over". Created a simple introduction for the game and worked on the basic mechanics. Will upload a finished product soon. Current code can be viewed after the break.





Joystick Intro

I got a joystick and I started playing around with it. Not sure what I'm going to make yet with it but just to get started I designed the little circuit below without coding. I was thinking of doing a Simon Says kind of thing but the code for that is incredibly long.