18F452 PC Comminication Problem


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2005
    Location
    Corum,Turkiye
    Posts
    15

    Default 18F452 PC Comminication Problem

    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...

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    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
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Dec 2005
    Location
    Corum,Turkiye
    Posts
    15

    Default Hi

    This program steps working... only comm not worked. i ll send it... ok. Thanx..

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    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
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. problem with input and output (18F452)
    By turkuaz in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th March 2008, 23:21
  2. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  3. 18F452 compile problem
    By pcbb in forum General
    Replies: 1
    Last Post: - 21st April 2007, 02:16
  4. Replies: 5
    Last Post: - 20th March 2006, 01:34
  5. PC - PIC problem...
    By menhwa in forum Serial
    Replies: 2
    Last Post: - 20th February 2006, 19:57

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts