sending saved information


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2009
    Posts
    63

    Default sending saved information

    Hi sorry if this is an obvious question...

    basically i managed to program a microcomputer 2431. it basically acts as a digital controller in the controller of the active rectifier of a wind turbine.

    I can easily code it to take the information about the wind turbine without too much work i hope.

    the question im asking is how would i take any saved data thats in the microcomputer and send it to a real computer and turn it into a text file for example? from there i already have programs that could take the data and graph it etc for customer use. im sorry if this is a bad question but im not very hardware (and software) competent.

  2. #2
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    The most obvious approach for smaller amounts of data is over the serial port.

    If you're not using picbasic a code example is of little use.

    Most serial terminal programs can capture to file.
    If you wanted something more reliable you could use checksums.

  3. #3
    Join Date
    Aug 2009
    Posts
    63


    Did you find this post helpful? Yes | No

    Default

    well im using picbasic pro for the microcomputer...

    so i would the Synchronous Serial Port on the 2431 to send information? how would a normal computer that runs OS of xp takes this data... would anyone know how to convert it etc or any good software to create a program to take the data and create a text file from it

    i found quite a nice terminal program called realterm http://realterm.sourceforge.net/ do you reckon this could do the job?

  4. #4
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Send out of the hardware serial port. Use a MAX232 or equivalent as a level shifter. Send the data out as ASCII text.

    Capture the data with HyperTerm (use TRANSFER/CAPTURE TEXT) or
    with TERMINAL or with virtually any other terminal software.
    Charles Linquist

  5. #5
    Join Date
    Aug 2009
    Posts
    63


    Did you find this post helpful? Yes | No

    Default

    ok thanks ill give that a try!

    if im getting this right, is a level shifter just to change the voltage of the active signal as its being sent? where the pic is running at about 5v what would be normal for the computer to recieve it at?

    sorry i may have completely missed the point of the level shifter...

    thanks for the replys

  6. #6
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Rs232

    Hi Robert,
    The data out of the PIC will be 0 to 5V but will be converted to a +- signal out of a RS232 chip that has a negative voltage generator for +-5V swing. Here's a scope shot I found when I Googled "what is RS232"
    http://commons.wikimedia.org/wiki/Fi...cope_trace.jpg
    Louie

  7. #7
    Join Date
    Aug 2009
    Posts
    63


    Did you find this post helpful? Yes | No

    Default

    ahhh ok thats making alot of sense thanks for the help guys im gonna do somee research and hopefully get it up and running!

Similar Threads

  1. polling information in rs-232
    By Tondunard in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 12th February 2008, 12:32
  2. Reading lcd information
    By Sphere in forum General
    Replies: 4
    Last Post: - 15th October 2006, 19:43
  3. Displaying Trend Information
    By Mike M. in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd November 2005, 03:21
  4. Sending data over USB via VB
    By Tissy in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 12th September 2005, 01:00
  5. more information on CMCON?
    By justDIY in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd June 2004, 05:49

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