Im waiting for the ftdi part, later i will get in touch about that for now can i wired in apic to pic serial connection de Tx (from pic transmiter) to de Rx (from pic receiver) direct or ned to put some resistor?
Thanks
No real need for resistor for a PIC to PIC connection.
If you have any MAX232, MAX233, you could also try a PIC to PC connection. Not easier, but probably better for a first experimentation.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi Mister,
I have done the pic/pc conection alredy and works finenow im going to try pic/pic.
Thanks for the help
By by
Hi,
Today i get the VDIP2, im reading a lot about this part and how to use it with a pic http://www.picbasic.co.uk/forum/show...highlight=vdip like to thank especially to BrianT for is great job my code is based on is.
Here is the data from VDIP2 http://www.vinculum.com/documents/da...s/DS_VDIP2.pdf
Im very new at all this and i have a lot of concerns on doing this (the part is not very cheap 32€im afraid to kill her) as i read from BrianT e have to reflash it and i do not now if i need to do the same a not clear how to and what firmware to put.
Ftdi do not suport very well me...
I to do not now if i need to put some resistors in the pic vdip2 connections?
My 1st idea was and is to connect a pic to a nokia 6230 with is original usb data cable and sending sms and macking calls..
Here my traing code
Code:DEFINE LOADER_USED 1 define OSC 20 Include "modedefs.bas" ' Include serial mode DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1 DEFINE HSER_SPBRG 129 ' 9600 Baud @ 20MHz, 0.16% DEFINE HSER_CLROERR 1 ' Clear overflow automatically 'bits 2 & 3 temporarily inputs TrisC.2=0 'active LOW reset line to VDIP2 TrisC.3=1 'Cts# Flow control to VDIP2 TrisC.4=1 'Rts# Flow controlto from VDIP2 TrisC.5=0 'Led to see if pic and code is ok blink 3 times TrisC.6=0 'Rx VDIP2 TrisC.7=1 'Tx VDIP2 B0 var byte High portb.5 Pause 500 Low portb.5 Pause 500 High portb.5 Pause 500 Low portb.5 Pause 500 Start: High PortC.2 'active LOW so not reset Low PortC.3 'pull VDIP2 pin CTS low Input PortC.2 'from VDIP2 pin RTS High PortC.6 'condition serout pin to mark state Pause 5 HSEROUT ["AT", 13] HSEROUT ["ATD=+351xxxxx000;", 13] STOP end
Please comment anf if some one can hellp me...
Thanks for all and sory for this long letters and less good work post.
By by
Last edited by camolas; - 30th May 2008 at 11:18. Reason: correcting code
I've got a small question...
What good is a 10us delay between 2 9600 baud HSEROUT statements, when, at 9600 baud, a bit takes 104.1us?
Bookmarks