3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Nunchuk-controlled Helicopter

Step 6The hardware setup

The hardware setup
«
  • wiring.png
  • my_setup.jpg

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 StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
38
Followers
4
Author:a1r(A1Rstudios.com)
My name is Jonathan Rico, I'm 17, I'm french and I live in Morocco near Casablanca. I'm in Terminale S (French equivalent to 12th grade) at the CNED (homeschool, but controlled by the french governmen...
more »