|
Intro to Physical Computing Syllabus code, circuits, & construction
|
Xport-to-PIC printed circuit board |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| This page details a printed circuit board I designed to interface an Xport to a 28-pin PIC microcontroller. I've tested it with the 18F252, but presumably it will work with any 28-pin PIC with the same pin assignments. The board is designed as a module for integrating the Xport with sensors and simple actuators through the PIC.
The PIC onboard is connected to a 24-pin connector so that all of its I/O pins, and ground and 5V, can be connected to external devices. It's also connected to the Xport's RX, TX, configurable I/O, and reset pins via two sets of jumper terminals. There is also a connector to allow for in-circuit serial programming of the PIC. In addition to the PIC, the board also has a MAX3323 3.3V TTL-to-RS-232 converter, to connect the Xport to an RS-232 serial port. The MAX3323 both inverts the TTL serial signals and adjusts the voltages to RS-232 levels. Here's a schematic of the board. The image is large. Following are images of the top of the board and the bottom:
Top of board
Bottom of board And here's a picture of a finished board:
The jumpers are as follows:
If you're looking to fabricate a version of this board yourself, the gerber files are here. I made the original document in Eagle CAD, and orderd my boards from Advanced Circuits. You can also get boards made cheap by Sparkfun (tell them I sent you). I got the components for my board from Newark and Digikey; here are the part numbers:
As always, I recommend soldering the passive components first (resistors, diodes, connectors, capacitors) and the active components last. The only exception to this is that I usually solder on the voltage regulators and power connector at the start, then connect power and measure for the appropriate voltages across the power and ground connections of the PIC connector, the Xport connector, and the MAX3323. Once you've got the hardware connected, you're ready to move on to configuration. Note; I don't warrant this board in any way. use at your own risk. assembled properly, it works fine, but this design is not certified for commercial or industrial use in any way. It is copyright Tom Igoe, 2004 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||