PK2 UART tool


Closed Thread
Results 1 to 14 of 14

Thread: PK2 UART tool

Hybrid View

  1. #1
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869

    Default Re: PK2 UART tool

    Follow up, after googling for a while, I ended up back on PBP forum reading a thread started by Hank. The gist concerning this thread is UART tool won't do what I want. I need to use a real terminal or custom GUI. Well I don't plan that level of effort for the testing I am doing, So tonight I will try 1 last thing.

    If I can fit the data on 1 line, maybe I can send a "header" so to speak as the first line, then the data all out on the next line. When I send new data, I will send the code for backspace to see if I can get to the beginning of the data line and send the new data.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818

    Default Re: PK2 UART tool

    Hi Bert,
    It sounds like you want to receive data and display it line over line in a "console" or dos type environment so it displays as :
    DATA WORD 1
    DATA WORD 2
    DATA WORD 3
    DATA WORD 4

    . . . is this correct ? Assuming it is then given a typical DOS " MODE" you could see
    80 x 40 characters.On screen.
    You would likely have to write this program for the PC probably in " C ". Or using VB in a GUI environment. Another option is to write your USART to output HTML and view in a browser . . . HTML could format text to display that way, I THINK.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869

    Default Re: PK2 UART tool

    Hi Joe, that is mostly correct about how I want to display the data. But I want to overwrite the values with new values, not scroll them as the uart tool does now.

    I have no idea how or where to start to get data from a com port to a browser window. Next issue I have no idea how to get data from pk2 to an application. But I have spent time trying to learn both python and liberty basic, so maybe I should try and make an app for displaying the data. Dave (makracket) has an example of python serial on his website. So maybe I could head down that path.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

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

    Default Re: PK2 UART tool

    What you want to do, most, see all, ANSI terminal would do it. Hyperterminal, TeraTerm and so on.

    Check this link on Darrel's Website
    http://www.pbpgroup.com/modules/wfse...hp?articleid=9

    You could also hack the PK2 code, it's open source and really well documented.

    It's up to you

    It's also easy to do in VB or C#, lots of example 'round the web. The Express version are free for non-profit use.
    Steve

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

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: PK2 UART tool

    Here is some old stuff I was helping some kids with.
    Look at the "liberty" code "remote..." if you go the Liberty route.
    http://mackrackit.com/mac/www/dave/basic.html
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869

    Default Re: PK2 UART tool

    The weather station looks almost perfect as is. Accepts a stream from com port and puts the data in the boxes.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  7. #7
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818

    Default Re: PK2 UART tool

    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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