Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: TeensyTyper - Teensy 2.0 script running dongle

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Posts
    10

    TeensyTyper - Teensy 2.0 script running dongle

    I have made a few projects with my Teensy 2.0's. This is the first I can show off.

    It is based off of some of the projects out there (though, pre the macro keyboard one).

    http://www.goewert.org/2012/08/teens...-keyboard.html

    Click image for larger version. 

Name:	teensytyper.png 
Views:	299 
Size:	101.6 KB 
ID:	270

    I just wanted a dongle that could run through several keyboard scripts to get me through typing some annoying sets of keys. I wanted it to fit in my pocket, in the same way a full sized keyboard doesn't.

    Full source and breadboard schematics are on my github page.

    https://github.com/jgoewert/TeensyTyper

    Next up, my Star Wars Yoke to USB.

  2. #2
    Senior Member ZTiK.nl's Avatar
    Join Date
    Dec 2012
    Location
    Amsterdam
    Posts
    179
    Quote Originally Posted by jgoewert View Post
    in the same way a full sized keyboard doesn't
    'almost, but not quite, entirely unlike tea'

    I understand that the 7 segment displays which script is running, do you select a script with the two buttons on the right side ('+1' and 'execute' button) ?

  3. #3
    Junior Member
    Join Date
    Feb 2013
    Posts
    10
    Quote Originally Posted by ZTiK.nl View Post
    'almost, but not quite, entirely unlike tea'

    I understand that the 7 segment displays which script is running, do you select a script with the two buttons on the right side ('+1' and 'execute' button) ?
    Yes. The top button is select. The bottom button is execute. I pulse the dot on the 7-segment when it is is in "Waiting" mode and then it stays on while the script is running to give some visual feedback that it is working. I put that in because the systems I access disable the USB port by default and only turn it on in certain conditions. So, the box would get power and send keypresses, but the system would be ignoring it. I wanted to make sure I had some visual feedback to let me know my TeensyTyper was working to be able to troubleshoot and know when scripts finished.

    In my edited version, I use script 1 to do a Windows logout-login by hitting the CTRL-ALT-DEL and pressing all the info in. My script 2 is a password that changes quarterly, but has a full list pre-generated until 2050 which I store in the EEPROM. Script 3 sets the marker for script 2 to use the next quarter. Script 4 steps back a quarter for script 2. Script 4 is just a hardcoded password that doesn't require any more keypresses.

    I initially intended to wrap the USB cable inside the box, but most of the time, I just wrap it around the outside since it takes less time to do. I plan on making one that is smaller and use one of those springy cable auto-wrappers and get this down to USB memory stick size.

  4. #4
    Senior Member ZTiK.nl's Avatar
    Join Date
    Dec 2012
    Location
    Amsterdam
    Posts
    179
    Sounds like you're all set for the next 36 years

    Looks great, very useful too!

  5. #5
    I did something similar but my motivation was on keyboard remapping instead of scripts. You can also see pictures on my implementation (post #20) as well for sharing some ideas. Cheers!

    http://forum.colemak.com/viewtopic.php?id=1561

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •