PIC16F819 serial coms


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Posts
    2

    Default PIC16F819 serial coms

    Hi guys Im a bit new to Pic Basic Pro but I do have loads of experience with electronics, PIC assembly language/C and using Picaxe.

    A while ago I designed power supply circuit that used a picaxe 18 (Pic16F819) to send voltage readings to a PC using RS232 @2400 n-8-1 on a three wire interface. That was all well and good but picaxes are just not very good at receiving serial data from other devices. Unlike pic basic pro programs picaxe programs cause the chip to wait forever until serial data arrives.

    Just for this application I decided to use pic basic pro instead. I still want to use the 16f819 but I've been looking for the relevant files pic16f819.BAS and pic16f819.INC for a while but I just can find those files.

    The thing is my design calls for an 18 pin device without a crystal, and my board is already laid out so the electronic design cant be changed. Does anybody know where I can find those files or can anybody suggest an alternative processor or techniques to use another 18 pin chip without a crystal?

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

    Default

    seems you need a PBP upgrade or the installation is screwed-up. Those 818/819 have been added in v2.43... current version is 2.47

    http://www.melabs.com/support/upgrade.htm#pbp
    Steve

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

  3. #3
    Join Date
    Jun 2007
    Posts
    2

    Default

    Thanks for that. The pic basic pro thing is like a breath of fresh air for me. It gives me a break from assembly language and allows me to actually do serial coms without making compromises

Similar Threads

  1. Replies: 33
    Last Post: - 19th March 2010, 03:02
  2. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 17:03
  3. interfacing to the pc serial port
    By kelangfei in forum General
    Replies: 4
    Last Post: - 7th October 2007, 22:35
  4. Serial coms with a pc
    By Andre_Pretorius in forum Serial
    Replies: 13
    Last Post: - 18th June 2007, 14:41
  5. Off Topic?? - Serial coms.
    By muddy0409 in forum Schematics
    Replies: 9
    Last Post: - 19th April 2007, 06:42

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