Micro to PC UNIVERSAL INTERFACE


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default Micro to PC UNIVERSAL INTERFACE

    Developing a PC program which serially interfaces to micros... not the first out there BUT, which will display in textboxes continously sent serial data, also send settings, data RTC stuff etc. The user interface looks good enough to be used continously.PIC end uses INT for rcv so program isn't just waiting around for serial. A FTDI USB adapter makes for easy hookup and use.
    The PC apparently needs the fairly receint Microsoft .Net framework stuff to work. Currently testing deployment functions etc. Looking for feedback and VB help from more experienced programmers.
    E-mail on or off this forum
    Don
    [email protected]
    Attached Images Attached Images   
    Last edited by amgen; - 25th May 2008 at 01:43. Reason: added jpg

  2. #2

    Default uP to PC continued

    adding Jpg for serial concept. Please check my program. You can build your pic project around this interface.
    don f.
    Attached Images Attached Images   
    Last edited by amgen; - 26th May 2008 at 03:00.

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

    Default

    This is something i'm fairly experimented in. I prefer to use USB PIC though.
    Steve

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

  4. #4

    Default USB Serial

    Thankyou sir for replying, I was getting lonely here. USB PIC good , but can only learn one thing at a time and VB.net might take me 50-100 years to learn. Also my interface program works with usb or straight serial, and any PIC's with HW serial will only take 2 pins to do much work and programming is pretty easy ?
    Your opinion on my PIC stuff ?
    1) set up an array of 100, more or less to hold mem on pic
    2) small asm for RCV interrupt
    -check for start char say "~"
    -take all next chars (100 max) or up to end char say ";", one at a time
    -put them into array reserved locations
    -turn off int, set some flag to inform Basic to do stuff on data
    3) Basic rummages through array for instructions and data, clears mem and resets flag and interrupts
    Wasn't that hard to set that stuff up.

    I built the interface to work with that layout. I used the microsoft VB.Net click-once to deploy the program which can be deleted with the remove programs in windows.
    Since I don't have a web now, I just e-mail the program now as requested.
    I 'try' to make stuff straight forward, easy to understand so if you use the interface, you could tell me if I am nuts!
    Adding one more jpg of Info Page.
    don f.
    Attached Images Attached Images  
    Last edited by amgen; - 27th May 2008 at 02:04.

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

    Default

    Hi Don,
    looks like a reasonable scheme to me. I may agree that serial comm could be easier when you begin as it's already built-in in VB.

    However, if you want to do some USB learning, i would suggest you those 2 bellow.

    USBDemo, something to learn USB a little bit
    http://www.picbasic.co.uk/forum/showthread.php?t=5418

    Using EasyHID with VBExpress 2005 (maybe .NET as well)
    http://www.picbasic.co.uk/forum/showthread.php?t=6463&
    Steve

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

Similar Threads

  1. Replies: 0
    Last Post: - 30th July 2009, 22:29
  2. parallax rfid reader module interface with PC
    By jonil22 in forum Off Topic
    Replies: 2
    Last Post: - 3rd February 2008, 06:54
  3. Parallx rfid reader module interface with PC
    By jonil22 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st January 2008, 08:50
  4. USB interface from PIC16F877 to PC
    By headshouter in forum USB
    Replies: 0
    Last Post: - 26th February 2006, 04:58
  5. PC interface
    By tigrot in forum Schematics
    Replies: 1
    Last Post: - 9th October 2004, 19:32

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