做一个属于自己的USB键盘记录器(三)
0赞
发表于 6/8/2011 5:28:06 PM
阅读(3227)
Step 3Solder First "Zone"

This shouldn't be too hard, just join:
VCC -> VCC
GND-> GND
D+ -> CLK
D- -> DAT
See here for USB Pinout.
See here for PS/2 Pinout
It will look like this:
Step 4Solder PIC and Program It


You need to temporarily solder your PIC onto a small piece of surface-mount board or by solder a wire to each pin, one by one.
No matter which way you have chosen, you need to be able to connect your PIC to Pickit 2 or any other PIC programmers that support PIC 12F1822.
I've written the code using PCW from CCS, so, if you want to modify the code, feel free to modify or distribute it as you wish, just mention this guide if you want to redistribute it :)
I've attached also the .hex if you want to simply copy what I've done :)
I don't i enter into details of programming, because I expect that you already know how to do that.
No matter which way you have chosen, you need to be able to connect your PIC to Pickit 2 or any other PIC programmers that support PIC 12F1822.
I've written the code using PCW from CCS, so, if you want to modify the code, feel free to modify or distribute it as you wish, just mention this guide if you want to redistribute it :)
I've attached also the .hex if you want to simply copy what I've done :)
I don't i enter into details of programming, because I expect that you already know how to do that.


