Labels

Tuesday, April 30, 2013

MDDN 251 - LED dj set

LED Dj set with a ps2 controller + arduino 

My project that I set out to create was a LED Dj set controlled by a PlayStation 2 controller. How I 
went about doing so was stripping down the wires at the end of the controller understanding the 
meaning of each one and how they would react in the project. I then connected it to my arduino 
Uno with the wires mapped out to be in the correct pin places.  Example code was used to get 
configuration of the controller and have it read out commands in the serial monitor if everything had 
been wired correctly. I ended up running into a amount of difficulties during trying to connect the 
PlayStation 2 controller to the arduino Uno. After numerous times of changing wires around in the 
pin ports I found out that the first controller was broken. After getting a new controller I found that 
the wires were slightly different and had to then work out what wires were the , Clock, command, 
Data, acknowledge , etc. 
The end result of what I wanted my project to achieve was to assign buttons and the analogs on the 
controller to change the speed of the LEDs flickering, different ones turning on, and to dim them. 
The result would be a small lighting system that a user could Dj to music being played.   






No comments:

Post a Comment