What steps will reproduce the problem?
1. Upload NESpad serial example on Arduino board.
2. Plug in wires as shown between the pinout graphic and the documentation (NES
strobe =
Arduino pin 2, NES clock = Arduino pin 3, NES data = Arduino pin 4, NES +5V =
Arduino +5V
pin, NES GND = Arduino GND pin).
3. Run program with NES controller connected.
4. Open serial monitor.
5. Press buttons on NES joypad.
What is the expected output? What do you see instead?
I expect to see the bytes sent by the chip in the NES joypad, but instead, all
I see is:
11111111111111111111111111111111
repeating line-by-line, once each second.
What version of the product are you using? On what operating system?
I am using an Arduino Duemilanove with an Atmega 328, connected to an original
NES controller.
The Arduino IDE is operating on a late-2008 MacBook Pro with a 2.4 GHz Intel
Core 2 Duo, 2 GB
RAM, running OS X version 10.5.8.
I have not encountered any similar problems using my Arduino with other
projects interacting
with this exact same setup.
Please provide any additional information below.
I posted this previously, but I found that my baud rate was set incorrectly in
the serial monitor.
Upon setting the serial monitor baud rate to 57600 as stated in the code, the
output changed,
but the condition did not. I still receive no button press data of any kind
from my NES joypad.
The joypad I am using was just unplugged from a working NES console, and was
working before
I tried to use it with my Arduino.
The code found at
http://little-scale.blogspot.com/2007/07/nes-controller-to-arduino.html
works just fine, though. Just thought you should know.