Labels

Tuesday, April 30, 2013

MDDN 251 - LED dj set video

Led dj set video



Here's a link to youtube for the video also:
http://www.youtube.com/watch?v=GMJKrqapSMo&feature=youtu.be

Music by Devultra
Song: My friend scrappy

Had permission to use the song, 'My friend scrappy' by Devulrta.

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.   






MDDN 251 - Final 3 photos

Final three photos




Friday, April 26, 2013

MDDN 251 - Asked for help

Asked for help

I have been browsing youtube and asking people that have created their arduino projects on how i could get mine working. I haven't had much feedback but found out about having to use a pullup resistor with certain wires coming from the controller into the arduino. Also asked a few third year mates on how i could do it but they weren't sure about it.  Still haven't manged to get it to work though. This second controller could may be broken also.

Thursday, April 25, 2013

MDDN 251 - Changing wire pins

Changing wire pins

Since i haven't been able to get the controller working with the wires in the places they are now i looked at different wiring systems. I tried one that makes brown wire the Data, yellow attention, orange command, ect. 

The site that i found the information on.
http://www.made-by-bacteria.com/viewtopic.php?f=56&t=62

I also just randomly switched the wires round in the pins to see if i could get a reading.

Wednesday, April 24, 2013

MDDN 251 - Wire connections

Wire connections


After connecting all the wires from the playstation 2 controller to arduino i have managed to get a power reading indication. When the analog toggle button is pressed light comes through the LED. For some reason the controller isn't getting the information through though as buttons are indicated that they are being pressed.  

Tuesday, April 23, 2013

MDDN 251 - New controller

New controller



 I tried a different way of revealing the wires at the end of the second remote by cutting off the black case and pushing the wire with the metal prongs firmly so they pop out. Having it done like this makes it a lot easier to connect wires into the arduino or breadboard slots.