Page 1 of 1

need some help with 18f2550

Posted: Sat Feb 10, 2007 8:12 pm
by phatali
hi
im in need of some advice, i have this pic 18f2550 and want to connect a female usb plug up to the pic now i know that pins 15 is D- , 16 is D+, and vdd is pin 20. this is ok but if im wanting to connect this via version 3 board do i assign it to a port or use a certain port im sure its very simple :oops: haha just im confused, i hope someone can help me out .
thanks
ali

Posted: Sun Feb 11, 2007 9:30 am
by Steve
The D+ & D- USB pins of that chip are RC5 and RC4, so these can be accessed via the PORTC E-Block connector or via the header blocks next to the chip sockets (see the datasheet for the pinout).

It is likely you will not need to connect Vdd to the usb socket (unless you want to power the whole of the board via usb, but this can be tricky and I would not suggest you did this).

You will need to connect the ground pin of the USB port to the development board.

Posted: Sun Feb 11, 2007 1:54 pm
by phatali
fantastic!!
thanks for the help im going to experiment now hehe :D