PDA

View Full Version : 18F452 PC Comminication Problem



elektroline
- 25th September 2007, 11:40
Hi,

i want to comminicate with 18F452 to PC Visual Basic. but i think my problem is OSC . Coz i m using 10 MHZ Quartz and with PLL so 40 MHZ OSC... Maybe it doeasnt senkron.

if had any project pls send me.. or same project...

Thanx already now...

mister_e
- 25th September 2007, 23:08
I would suggest you check everything in simple block and step by step

1. Simple led blink or PWM : This will confirm your configuration fuse and OSC setting are fine
2. Use low baudrate 2400-9600 baud and dump some text string to your PC using Hyperterminal or MicroCode Studio Serial communicator.
3. read the simple VB6 tutorial bellow
http://www.rentron.com/VisualBasic.htm

4. post the whole project (PIC code, config fuses, VB code and schematic) here.

good luck

elektroline
- 27th September 2007, 14:37
This program steps working... only comm not worked. i ll send it... ok. Thanx..

mister_e
- 27th September 2007, 14:46
Hi,
a while back i did a really nifty terminal example. Maybe this would help to start

http://www.picbasic.co.uk/forum/showthread.php?t=1833 see post #4

HTH