Shop OBEX P1 Docs P2 Docs Learn Events
Interesting tool find — Parallax Forums

Interesting tool find

Beau SchwabeBeau Schwabe Posts: 6,568
edited 2009-10-24 21:16 in General Discussion
I found an interesting software tool that basically creates a communication bridge between multiple devices...

Serial Port
File
Keyboard
TCP/IP
Virtual Keyboard

Each Bridge is capable of connecting to any other device, for example:
1) A File and the Serial port configured together can allow a Stamp, Propeller, etc. to create and build (append) a file directly on a PC

2) A Serial port configured directly to the keyboard allows you to send data from the Stamp, Propeller, etc. as if you were typing right at your console.


...Haven't tried this for TCP/IP yet but you can. In the configuration it allows you to specify an IP address and a port number.





The Trial version will timeout after about 20 minutes, but the full license is a one time cost of $35.

Download

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe

IC Layout Engineer
Parallax, Inc.

Comments

  • science_geekscience_geek Posts: 247
    edited 2009-10-22 23:31
    Question on #2:
    Do you mean that if you were to send the ASCII character for "a" from the prop through the serial port, that the computer would see it as if someone pushed "a" on their keyboard?
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-10-23 02:16
    science_geek,

    Yes, I just did a "Hello World" test from the BS2 right into Windows Notepad.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • James LongJames Long Posts: 1,181
    edited 2009-10-23 02:23
    Beau Schwabe (Parallax) said...
    science_geek,

    Yes, I just did a "Hello World" test from the BS2 right into Windows Notepad.

    That is too neat.......I did download it...but haven't played with it at all.

    James L

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    James L
    Partner/Designer

    Lil Brother SMT Assembly Services

    Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-10-23 02:25
    Admittedly it's pretty slick, but I'm not real impressed with his "per seat" license.

    A couple good programs have been written for Serial:-:TCP/IP which are free.
    (Even a hayes modem emulator.)

    If he'd license to the user instead of the machine, he'd get my $35.00

    Looks like there is a "lite" version which does serial-->Keyboard on his website.
    www.billproduction.com/screenshot_lite.jpg

    www.billproduction.com


    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • Roger LeeRoger Lee Posts: 339
    edited 2009-10-23 02:39
    >The Trial version will timeout after about 20 minutes,...

    20 minutes, it takes me longer than that to do anything.
    Never seen a trial period that short, is that for real?

    Roger

    Post Edited (Roger Lee) : 10/23/2009 2:46:25 AM GMT
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-10-23 02:57
    Roger Lee,

    After 20 min, all you have to do is restart the program... I'm sure there is a clever way, due to the nature of the program (hint), that it could be told to restart itself before it timed out. But for $35 you wouldn't need to manage a restart procedure.

    I do think it's a decent program, worth $35, but that's just my opinion.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-10-23 03:14
    Once you get it going and figure out how to enter the password.... (<-it tells you what the default password is, and you can change it to anything you want afterwards).

    What I did Notes:
    1) You want to load the BS2 program first, and then disconnect power to the BS2
    2) Configure the Bridge tool for your Serial port and your Keyboard
    3) Open up a Notepad window and make sure that it has focus <- VERY IMPORTANT ... but you can specify a target Window
    4) Power up the BS2, and you should see the Notepad fill up with "Hello World"


    Note:
    I'm sure you can, but I haven't figured it out yet.... sending special keyboard codes.
    There might even be an option under the Keyboard configuration that allows for you to send RAW keyboard scan codes.






    BS2 Code
    ' {$STAMP BS2}
    ' {$PBASIC 2.5}
    
    Baud  CON 16468 '9600 8N1
    Port  CON 16    'Use programming cable to send Serial Data back to PC
    
    MainLoop:
    
    SEROUT Port,Baud,[noparse][[/noparse]"Hello World",CR]
    
    GOTO MainLoop
    
    

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
    772 x 478 - 131K
    776 x 480 - 140K
    774 x 479 - 131K
  • Roger LeeRoger Lee Posts: 339
    edited 2009-10-23 03:19
    @beau, Thanks for putting me straight.

    Looked like a 20 minute trial at first glance.
    I had a brain cramp.
    I've seen a timeout before, and I should have taken one before posting.
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2009-10-23 20:27
    Beau Schwabe said...
    (Note:
    I'm sure you can, but I haven't figured it out yet.... sending special keyboard codes.
    There might even be an option under the Keyboard configuration that allows for you to send RAW keyboard scan codes.
    Hi , I have something similar I coded in VB that uses the SendKeys instruction , this instruction sends ASCII strings .
    Three of the·control characters are "%" for the Alt key , "^" for Ctrl and "~" for enter.....for example Alt F A (file save as) would be "%fa"
    It would be interesting to know if this works with·the app you are using.

    Jeff T.
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-10-24 21:16
    Take it from an old 'sendkeys' hacker here...

    it'd be much easier to use AutoHotKey to restart it and do the rest !

    See recent new thread on same:
    http://forums.parallax.com/forums/default.aspx?m=395759&f=15&p=1#m395761

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sign In or Register to comment.