Picbasic pro help please + hardware suggestions


Results 1 to 9 of 9

Threaded View

  1. #1
    tsteele's Avatar
    tsteele Guest

    Default Picbasic pro help please + hardware suggestions

    Hi
    Can anyone give me some advice on how to go about a project I have been asked to look at please.
    I need to extract the data from a series of remote data loggers which have in their event list lines of data similar to the following:-

    1,yyyyyyy,zzzzzzzz,xxxxxxxxxxxxxxxxxxxxxx, CR,LF
    1,yyyyyyy,zzzzzzzz,xxxxxxxxxxxxxxxxxxxxxx, CR,LF
    1,yyyyyyy,zzzzzzzz,xxxxxxxxxxxxxxxxxxxxxx, CR,LF

    Depending on the logger, there can be anything from 1 up to 500 lines.
    I need to capture the zzzzzzzz and the xxxxxxxxxxxxxxxxxxxxxx bits of each line and store them in either the pic memory or some external memory.
    I can then use two buttons to scroll the data onto an lcd .
    the zzzzzzzz will be a number like 10978561 and the xxxxxxxxxxxxxxxxxxxxx will be an ascii text message up to 20 characters long terminated in a comma, followed by a CR and LF.

    The actual hardware design shouldn't be a problem, but I am uneasy about bits of the programming.
    I would like to use Picbasic Pro which I have some experience with using 16F876's and a bootloader.

    My worries are that I will not be able to read in a line up to the CR,LF, parse it and store it somehow before the next line comes in.
    There is no handshaking available on the devices, and data is transferred at 19.2k or 38.4kbaud.
    Can anyone give me some pointers on which pic would be best, and running at what speed and how and where to store the incoming strings, would I be able to use the internal program memory or an external device like a Fram?

    Any help would be appreciated.

    Regards
    Tony
    Last edited by tsteele; - 28th June 2006 at 18:56. Reason: typo correction

Similar Threads

  1. ICD, ICSP and Picbasic Pro
    By mwhatley in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 8th August 2024, 20:42
  2. Conversion from picbasic pro to hex for mplab
    By pr2don in forum Forum Requests
    Replies: 5
    Last Post: - 10th October 2010, 19:53
  3. How to configure SPI in PICBASIC PRO?
    By moogle in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 15th April 2007, 18:31
  4. Question for all that use MELABS PICBASIC PRO
    By oskuro in forum Off Topic
    Replies: 2
    Last Post: - 24th March 2005, 17:15
  5. PicBasic Pro & PicBasic syntax different
    By Billyc in forum General
    Replies: 5
    Last Post: - 16th April 2004, 21:19

Members who have read this thread : 0

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