I'll not worried about the code for this project as much as the wiring. I would like to use an NPN transistor to short the power switch pins on my motherboard. I plan to do this by having the GPI0 attached to the mechanical switch, completing GPI0's circuit. I will have GPI2 connected to the base of the transistor, while having the collector and emitter of the transistor connected to the + and - pins of the motherboard's power switch.
GPI0 will be configured as an input.
GPI2 will be configured as an output
I posted here to get help on wiring because I am extremely new to the world of Arduinos, and this is my first permanent project. Therefore:
Any tips for more efficient wiring or if there are any problems with my wiring would be extremely appreciated.
I've read that motherboards send and receive at the 3.3V logic level, but if this is wrong, please correct me
If it's necessary, my motherboard is a GA-Z97X-SLI
I edited the post to correct the resistance of R1 as pointed out by Paul__B
I also removed my original image, and replaced it.