Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #30 on: February 01, 2013, 03:38:17 pm » |
How have you wired it up? A very clear photo would help answer that.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #31 on: February 01, 2013, 03:39:30 pm » |
What happens if you press buttons on the controller, or move things? Getting zero seems to say to me nothing is pressed.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 67
|
 |
« Reply #32 on: February 01, 2013, 03:43:41 pm » |
What happens if you press buttons on the controller, or move things? Getting zero seems to say to me nothing is pressed.
even if i press something i still get nothing. just "0"
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #33 on: February 01, 2013, 03:43:52 pm » |
I honestly can't tell from that if you followed the instructable or not. Let's hope.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 67
|
 |
« Reply #34 on: February 01, 2013, 03:45:05 pm » |
I honestly can't tell from that if you followed the instructable or not. Let's hope.
what do you mean?.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #35 on: February 01, 2013, 03:46:43 pm » |
The pictures have stopped displaying. I suggest you upload them as an attachment. Click on "Additional Options" below the post to do so.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 67
|
 |
« Reply #36 on: February 01, 2013, 03:53:51 pm » |
The pictures have stopped displaying. I suggest you upload them as an attachment. Click on "Additional Options" below the post to do so.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 67
|
 |
« Reply #37 on: February 01, 2013, 04:02:48 pm » |
i cleaned it up a bit, it should be easier to see
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #38 on: February 01, 2013, 04:05:07 pm » |
Well judging by this that I found after Googling you may not have the wires right:  You have Gnd (brown) going to pin 4.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #39 on: February 01, 2013, 04:07:38 pm » |
Although this says differently:  Now that you understand the pins on the Nintendo controller, hook up your jumper wires by using arrow’s colors from the photo above. (Note: The pins are fairly deep, be sure that your wires are deep enough and snug to insure a strong connection) As for the other ends of the wires, place the RED wire from +5V on the Nintendo controller to 5V on the Arduino. Place the BLACK wire from GROUND on the NES controller to GROUND on the Arduino. Pretty straight forward. Place the ORANGE wire from STROBE on the NES controller to Digital Pin 2 on the Arduino. Place the WHITE wire from CLOCK on the NES controller to Digital Pin 3 on the Arduino. Place the YELLOW wire from DATA on the NES controller to Digital Pin 4 on the Arduino. NES Wired
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #40 on: February 01, 2013, 04:09:26 pm » |
All I am saying is, try to be absolutely certain you have the wiring right.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #41 on: February 01, 2013, 04:10:37 pm » |
Do you remember which colour went into which pin on the plug? Or do you have another one to compare to?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 0
Posts: 67
|
 |
« Reply #42 on: February 01, 2013, 04:14:52 pm » |
i feel stupid, i accidently switched the yellow and brown, its working now, but when i run processing and open up notepad, i get nothing
|
|
|
|
« Last Edit: February 01, 2013, 04:25:23 pm by Craftee »
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #43 on: February 01, 2013, 04:19:33 pm » |
Glad that's working.
I'm no Processing expert, someone else will have to help you with that part.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #44 on: February 01, 2013, 04:21:10 pm » |
By the way, on the Leonardo, you need to wait for Serial to become available: void setup() { Serial.begin(9600); while (! Serial ) { } // <------- add this
|
|
|
|
|
Logged
|
|
|
|
|
|