Jamie Searle
UNITED KINGDOM • + Follow
Edit Project
Tools, APP Software Used etc.
|
arduino IDEArduino
|
|
|
EasyEDA |
Description
GameCube Power Switch for PC Front Panel
GC2PC
This PCB is designed to allow the original GameCube power switch to function with the momentary switch required by the front panel headers on most PC motherboards. It is designed to fit exactly in place of the GameCube's original power switch PCB, minimizing the need for any physical modifications to the console's casing.
Users will need to provide their own GameCube power switch and handle the microcontroller programming, for which detailed documentation is supplied.
Features include:
- Direct compatibility with the GameCube's power switch housing.
- Attiny85 microcontroller for signal translation.
- SPI Programming interface.
- LED indicator for the 5V line.
Code
ATTiny85 Arduino Code
Arduino
const int switchPin = 3; // Pin connected to the switch (ATtiny85 pin 2, Arduino pin 3)
const int ledPin = 4; // Pin connected to the LED (ATtiny85 pin 3, Arduino pin 4)
int lastSwitchState; // Last stable state of the switch
unsigned long lastDebounceTime = 0; // Last time the switch state was toggled
unsigned long debounceDelay = 50; // Debounce delay to prevent noisy signals
void setup() {
pinMode(switchPin, INPUT_PULLUP); // Configure the switch pin with internal pull-up
pinMode(ledPin, OUTPUT); // Configure the LED pin as an output
lastSwitchState = digitalRead(switchPin); // Initialize the last known switch state
}
void loop() {
int currentSwitchState = digitalRead(switchPin); // Read the current state of the switch
// Check if the switch state has changed from the last read
if (currentSwitchState != lastSwitchState && (millis() - lastDebounceTime) > debounceDelay) {
lastDebounceTime = millis(); // Reset the debounce timer
// Toggle the LED for 1 second if the state changes
digitalWrite(ledPin, HIGH); // Turn on the LED
delay(1000); // Keep it on for 1 second
digitalWrite(ledPin, LOW); // Turn off the LED
lastSwitchState = currentSwitchState; // Update the last switch state
}
}
Schematic and Layout
Apr 17,2024
65 views
GameCube Power Switch for PC Front Panel
2 Layers PCB 29.4 x 44.8 mm FR-4, 1.6 mm, 1, HASL with lead, Black Solder Mask, White silkscreen
Converts the latching switch on the Nintendo GameCube into a momentary connection as required by PC motherboard front panel headers.
65
0
0
Published: Apr 17,2024
BOM(Bill of materials)
Centroid file
Purchase
Donation Received ($)
PCBWay Donate 10% cost To Author
File Last Updated: 2024/04/17 (GMT+8)
File update record
2024-04-1720:12:14
Centroid file is updated.
2024-04-1720:12:14
Parts List (BOM) is updated.
2024-04-1720:12:14
Gerber file is updated.
Only PCB
PCB+Assembly
*PCBWay community is a shared platform and we are not responsible for any design issues.
Copy this HTML into your page to embed a link to order this shared project
Copy
Under the
Attribution-NonCommercial-NoDerivs (CC BY-NC-ND)
License.
- Comments(0)
- Likes(0)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000
Remove
It looks like you have not written anything. Please add a comment and try again.
View More
View More
VOTING
0 votes
- 0 USER VOTES
0.00
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Design
1/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Usability
2/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Creativity
3/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Content
4/4
More by Jamie Searle
You may also like
-
-
Open Source Very Large Stick - Freejoy & MMjoy2 breakout board
561 0 0 -
RF Control training board for students based on ESP32 C3
742 0 2 -
Aquarius+ Computer, Standard PCB
985 0 5 -
KINETIC COASTERS with a TWIST! Laser or 3D Print some DIY Magic
644 0 1 -
RPI - 8 IO PLC With ATTiny85 Watch Dog
556 0 1 -
Nintendo Famicom HVC-001 Controller Shells
667 0 1 -
COMMODORE 128 DIAGNOSTIC REV.785260 KEYBOARD DONGLE
621 0 4