Now we construct a board to host your transmitter, and to make it transmit signals from the microproccessor. If you bought the BASICStamp BOE(Board of Education) or own a similar board (like me, I own the TAB SumoBot board), then your lucky, since the BOE comes with direct connections to the output pins on the BS2, allowing you to connect your transmitter directly. I connected the outputs with P0 through P3.
The other option I will demonstrate is using the PICKit 1. It can also be directly connected to the transmitter because it has an expansion header row, though you may be nor interested in constructing a separate breadboard for it instead.
If you are going to connect the Transmitter directly to the PICKit 1, insert the PIC16F684 Microcontroller you received with the kit into the evaluation socket. Now connect you four signal wires to RA4 (two from the top), and RA2 to RA0 (seven to nine from the top). You will also need to connect the two power wires to the board. Ground (the black wire) goes on the bottom socket, V+ (the red wire) goes in the socket just above Ground.
The advantage with directly connecting the transmitter to the PICKit is that you can easily change the program for controlling the robot with the click of a mouse. The disadvantage: leaves little room for prototyping.
First take your solderless breadboard and insert the microcontroller to help plan the placement of the componeents. We will be using the PIC16F684, the one included in the kit.
Now we shall wire the voltage regulator. Insert it to the breadboard. Connect pin 1 to the positive power bus, pin 2 to ground's power bus, and pin 3 to pin 1 on the microcontroller. Place the 100uF capacitor between ground and V+. Make sure the side with the thick square line os connected to ground (otherwise it will explode... ...LITEARALLY!) Connect pin 14 to Ground.
All that's left is to connect your transmitter. I connected mine to RA0-RA2, and RA4. Connect the power wires to the unregulated power buses.
The advantage of using a solderless breadboard for hosting the circuit is there is lots of room for experimental prototyping. The Disadvantage: Must be removed from circuit board and placed into the evaluation socket, then must be removed again after being reprogrammed.
Now all that's left in Part 2 is The Program.