Add USB to any PIC project for less then $3

Status
Not open for further replies.
Why wont it work in Parallel? a 18pf and 10pf heh

**broken link removed**

Im no pro but thats what i would do ...
 
Nice work Mark!!! i just added it to my basket heh. I love SMT then you had to go and make it be a Resonator type ... man its a all in one solution...

Thanks again. I probably would have been using a Cap and Crystal forever heh

Also it says the capacitance can be 30/33/39pF

so 39pf can be used?

In the datasheet for MCP2200 they have a example of:
https://www.mouser.com/ProductDetail/Murata/CSTCE12M0G15L99-R0/?qs=8wOOb4nECAtGxVWl3FcxzQ==

Also
https://www.electro-tech-online.com/custompdfs/2010/12/51901A.pdf

Page 19 ; x1 = CSTCE12M0G15L99-R0

So heh there the same brand too
 
Last edited:
Why wont it work in Parallel? a 18pf and 10pf heh

**broken link removed**

Im no pro but thats what i would do ...
I feel that two numbers of 22pF, one on each side, are enough. and no need to be too specific .
 
Last edited:
yeah,. i hesitated at first since its a exe and from a site called "hackinglab" heh makes you think a bit.... but then i thought heh its Burt... hes legit!
 
Looks full featured heh like i can do anything needed with it heh... ill test it right now

Ah... cant select custom PORT my MCP2200 is on COM8... ill have to change it heh
 
Last edited:
Nice here is a small token of data from my Accelerometer UART... i have it set at 4800bps... (for now)

Code:
Terminal log file
Date: 12/26/2010 - 8:24:15 PM
-----------------------------------------------
00 00 00 58 00 00 02 00 00 00 58 00 00 02 00 00 
00 58 00 00 02 01 00 01 58 00 00 02 00 00 00 58 
00 00 01 00 00 00 58 00 00 02 00 00 00 58 00 00 
02 00 00 00 58 00 00 02 00 00 00 58 00 00 02 00 
00 00 58 00 00 02 00 00 00 58 00 00 02 00 00 00 
58 00 00 02 00 00 00 58 00 00 02 00 00 00 58 00 
00 02 00 00 00 58 00 00 02 00 00 00 58 00 00 02 
00 00 00 58 00 00 02 00 00 00 58 00 00 02 00 00 
00 58 00 00 02 00 00 00 58 00 00 02 00 00 00 58 
00 00 02 00 00 00 58 00 00 02 00 00 00 58 00 00 
02 00 00 00 58 00 00 02 01 00 01 58 00 00 02 00 
00 00 58 00 00 02 00 00 00 58 00 00 02 00 00 00 
58 00 00 02 00 00 00 58 00 00 02 00 00 00 58 00

58 = 0x58 which is the signal to collect the next 6 bytes of data which is, Xn,XH,XL,Yn,YH,YL

Xn is a flag to signify X is NEGATIVE
XH is the upper byte of int X
XL is the lower byte of int X

Y is the same as X but well... Y

So " 58 00 00 02 01 00 01" would be Start, X=+2,Y=-1
Simple heh

This all falls into this USB post since its from the MCP2200... I miss my FTDI but too expensive... I like it more because i dont have to worry about crystal/resonator heh. But price matters a ton these days.
 
Last edited:
You can alias com ports but that a book in it self Google aliasing serial com ports for windows xp you'll see what I mean

And when you get into Linux you get real power over Com ports
 
Last edited:
On the topic of linux and usb and PIC you think it would be harder or easier to write straight USB code for LINUX?
 
Linux has a lot out there as way of code that you could learn by and reuse. I think as good as you are at C you'll be more at home with Linux
 
heh thanks for the complement. Im learning as i go.

Slight off topic right here... i play lotto now almost everyday... hoping to win big... if i do i plan on buying a little set of things and hosting a contest here on the forums. Maybe like $500 worth of stuff... like sensors, buttons and a whole starter kit to making PCBs (including a printer)....

So do me a favor and wish me luck guys... if i get it ill host something ... and some people will win.. (of course there will be 2nd and 3rd prizes)

ok back on topic... I am going to setup a PC i have on the side with Linux and see how it goes. I hear Ubuntu is like all the rage in the linux world heh
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…