| Hack A Day 18F4550 Proto Board |
| Written by Evan | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thursday, 14 December 2006 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Download the Schematic and PCB Layout Files (Eagle 4.16 Format) This is my entry in the Hack A Day design challenge at the end of 2006. This board is a Microchip PIC prototyping board for the 18F4550 microcontroller using USB. It is designed to have the PIC loaded with a USB bootloader and then a separate programmer is no longer needed. The board has all the circuitry needed for a successful USB interface. Free I/O pins have 1-3 solder pads for easy connection for prototyping. This board is based on the one I use for all my own USB experimentation, and is compatible with the firmware and software in my 18F4550 USB Interface article, my PIC USB Bootloader article, and others. It should also work fine for other PIC USB interfacing projects, such as HID or CDC (virtual COM port) applications.
The board can be populated with a 7805 voltage regulator for use with an external power supply, or can be used directly from USB bus power (up to the current limit of USB), with a 3-pin header that can be used with a jumper to select one mode or the other. The board is made with a mixture of through-hole and surface-mount components, however all of the surface-mount components are resistors or capacitors (only 2 leads), and are the 1206 package size (not microscopic), which are not very hard to solder successfully.
Assembly Instructions:Note: these instructions assume that the user has moderate soldering skills, at least with through-hole components. 1) It is probably best to start by soldering all of the surface-mount parts first. There are 3 capacitors and 7 resistors. None of them are polarized, so don't worry about which direction you solder them on. Probably the easiest method for soldering these parts is as follows: 2) Solder in the IC socket. Because of its size, it may be helpful to use a piece of tape to hold it in place while you flip the board and solder it. It's also a good idea to solder just two pins in opposite corners to hold it in place, flip the board back to make sure it's fully seated and flat with respect to the board, before soldering the rest of the pins. If not, just heat the solder joints again while pressing the socket in from the other side. 3) Solder in the pushbutton switches. 4) Solder in the ceramic capacitors C1-C3. These are non-polarized so orientation doesn't matter. 5) Solder in the crystal. Again, orientation doesn't matter here. 6) Solder in the LEDs. LED1-LED4 are green, and in case the orientation on the board isn't clear, the flat sides should be facing out from the center of the board - LED1&2 facing the Hack A Day logo, LED3&4 facing the other way. LED5 is red, and the flat should be facing down, toward the USB connector. 7) Solder in the electrolytic capacitor C5. Pay attention to orientation, the negative side should be toward the bottom edge of the board, with the logos. 8) Solder in the USB connector. 9) (Optional) Solder SIP sockets into one row of the prototyping pads. These sockets come in a longer strip, and can be snapped to whatever length you need. Since the prototyping pads don't include all pins, you need to snap the headers into several smaller pieces. It is helpful to use some tape to hold the headers in position (and upright) while soldering. 10) Solder jumpers J1 (3-pin), J2 and J3 (2-pin). 11) Solder in the 5V regulator, IC1. The heatsink side of the case should be facing the top edge of the board, away from the IC socket. 12) Solder in the electrolytic capacitor, C7. Negative lead should be facing the IC socket. At this point you should be done with the basic assembly! You can program the PIC with a bootloader or other firmware using a traditional PIC programmer, stick it in the socket, and be ready to go. The SIP sockets are handy because you can simply insert wires to run connections to a breadboard, etc. As for the jumpers: J1 allows you to select between external power via the voltage regulator, and USB bus power. Place one of the 2-pin shorting jumpers on it. These are the same thing used for jumper settings on hard drives, CDROM drives, motherboards, etc., so feel free to steal one from some old computer equipment instead of buying some. J2 is for external power to the voltage regulator, from a 9v battery or whatever you choose to use. See the 7805 datasheet for acceptable input voltage ranges. J3 is for running power to your breadboard or other external board if you want, or it could also be used to power this board from an existing external regulated 5v supply. {mos_sb_discuss:8} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Updated ( Tuesday, 30 January 2007 ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||