Step 6The hardware setup
Okay, now that we're done on the software side, we will focus on building the hardware that goes with it. As I said in the Introduction, I'm currently away from home (and for a long time), and I don't have access to my laserprinter, that means that you won't get a clean pcb this time :'( Indeed, the hardware setup here is kinda messy.
- Due to the low discharge rate of 9v batteries, I prefer using a separate power supply for the leds, to avoid any brown-outs on the arduino. Here, I just used the old remote's case because of it's battery holder. If you want a cleaner layout, just buy a battery holder . I use 4 AA batteries to power the leds.
Now for the wiring (take a deep breath) :
- chop off the nunchuk's connector (or use this)
- connect the nunchuk's red wire (Vcc) to the arduino's 5v supply
- connect the nunchuk's white wire (gnd) to the arduino's GND
- connect the nunchuk's green wire (SDA) to the arduino's Analog pin 4
- connect the nunchuk's yellow wire (SCL) to the arduino's analog pin 5
- connect the 3 IR leds in series, with the 10 Ohm resistor to the external supply's +
- connect the IR leds cathode with the TIP120's collector (middle pin)
- connect the TIP120's emitter (right pin) to the arduino's GND
- connect the Arduino's GND to the external supply's -
- connect the TIP120's base (left pin) to arduino digital pin 2
- connect the potentiometer's left wire to the arduino's 5v supply
- connect the pot's right wire to the arduino's GND
- connect the pot's middle wire to arduino analog pin 0
- connect the 9v battery to its clip and plug it in the arduino's power jack.
- check the picture for any errors.
Now program your Arduino, and head to step 7 to begin having fun (finally !)
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|














































