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.

Build your own (cheap!) multi-function wireless camera controller.

Step 9Building the Main Circuit

Building the Main Circuit
«
  • DSC_6555.jpg
  • DSC_6556.jpg
  • DSC_6557.jpg
  • DSC_6558.jpg
  • DSC_6559.jpg
  • DSC_6560.jpg
In this step we'll prototype the heart of the circuit. You'll need your microcontroller, the 4MHz crystal, two 22pf ceramic capacitors, a 10k resistor and some wires for VCC and ground. We'll also put in a couple of LEDs so that we can run a test app to make sure everything works.

Place the microcontroller on the breadboard so it straddles the middle trench. This way, again, we don't connect opposite pins to each other.

First, pin 1. This is reset and should be held at logical 1 for the chip to work. Connect it to the +5V voltage rail by means of the 10k resistor (and some wire if you need it).

Working down, we get to pins 7 and 8. These are VCC and ground respectively. Connect up pin 7 with a (red) wire to the 5V rail and pin 8 to ground.

On the opposite side, connect pin 20 up to VCC too (AVCC) and ground pin 22.

Place the crystal so it connects up pins 9 and 10. Then, connect a capacitor from each of these pins to ground (you can just put the capacitors so they feed into the ground pin).

For the LEDs we're going to use pins 24 and 25. Put a resistor and LED in series with each pin (going to ground). Check the LED polarity is correct (it's unlikely you'll actually burn it out with the low voltages if you wire it backwards, but it won't turn on). The negative leg is on the same side as the flat indent in the plastic casing.

Check the pictures below to compare with your circuit and continue!
« 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!
15
Followers
1
Author:Whiternoise
I'm a third year physicist at Warwick University, dabbling in electronics and photography and currently seeing what interesting combinations you can make with the two :)