HI! I'm new here and new to arduino and circuits overall. My first project is to interface the arduino with a gamecube controller.
I have found gamecube pinouts on google and have striped the gamecube controller wires. Then I soldered them to jumpers so I can connect everything easier. My current problem is that the arduino returns only 0's.
Current Pinout:
Yellow 5V power supply (used by rumble motor).
Red DATA line: bi-directional data to/from console, pull-up to 3.43V
Green & White Ground.
Blue 1 3.3V logic supply
The red cable is connected to the digital pin 2 on the arduino.
This is my current code:
const int dataPin = 2;
void setup() {
// put your setup code here, to run once:
pinMode(dataPin, INPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int sensorValue = digitalRead(dataPin);
Serial.println(sensorValue);
}
As I said, I only see 0's in the serial monitor. Any help is appreciated. Thank you!
I'm thinking about trying to work on something similar but theres a small snag. I bought a small arduino micro clone and I haven't had a chance to play around with it yet but it says the 3.3V regulator doesn't work when not powered by USB, which it won't be. If I regulate my own 3.3V off board can I just connect it to the Arduino 3.3V pin can I just treat it like a normal Arduino setup or is there something wrong with bypassing the Arduino's 3.3V regulator and attaching your own?