{"id":3160,"date":"2014-05-30T16:30:21","date_gmt":"2014-05-30T16:30:21","guid":{"rendered":"http:\/\/randomnerdtutorials.com\/?p=3160"},"modified":"2019-04-02T10:23:36","modified_gmt":"2019-04-02T10:23:36","slug":"teensy-username-and-password-auto-filler","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/teensy-username-and-password-auto-filler\/","title":{"rendered":"Teensy &#8211; Username and Password Auto Filler"},"content":{"rendered":"<p>In this project we&#8217;re going to make our own hardware password management tool.<!--more--><\/p>\n<h2>Watch the video below to see how it works<\/h2>\n<p style=\"text-align:center\"><iframe width=\"720\" height=\"405\" src=\"https:\/\/www.youtube.com\/embed\/NYISDdXiGmY?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<h3>Resources<\/h3>\n<p>I recommend you to take a look at those posts below to learn more about the Teensy board.<\/p>\n<ul style=\"color: #404040;\">\n<li style=\"font-weight: inherit; font-style: inherit;\"><a href=\"https:\/\/randomnerdtutorials.com\/getting-started-with-teensy\/\">Getting Started with Teensy<\/a><\/li>\n<li style=\"font-weight: inherit; font-style: inherit;\"><a href=\"https:\/\/randomnerdtutorials.com\/teensy-arduino-memory-game\/\">Teensy\/Arduino &#8211; Memory Game<\/a><\/li>\n<\/ul>\n<h2>Parts Required<\/h2>\n<p><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-3161\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/05\/autofiller-parts.jpg?resize=414%2C276&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"autofiller parts\" width=\"414\" height=\"276\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/05\/autofiller-parts.jpg?w=800&amp;quality=100&amp;strip=all&amp;ssl=1 800w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/05\/autofiller-parts.jpg?resize=300%2C199&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 414px) 100vw, 414px\" \/><\/p>\n<ul>\n<li style=\"font-weight: inherit; font-style: inherit;\">1x Teensy (<a href=\"https:\/\/randomnerdtutorials.com\/getting-started-with-teensy\/\">Getting Started with Teensy<\/a>)<\/li>\n<li style=\"font-weight: inherit; font-style: inherit;\"><a href=\"https:\/\/makeradvisor.com\/tools\/pushbuttons-kit\/\" target=\"_blank\" rel=\"noopener noreferrer\">3x Pushbuttons<\/a><\/li>\n<li><a href=\"https:\/\/makeradvisor.com\/tools\/mb-102-solderless-breadboard-830-points\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: inherit; font-style: inherit;\">1x Breadboard<\/span><\/a><\/li>\n<li style=\"font-weight: inherit; font-style: inherit;\"><a href=\"https:\/\/makeradvisor.com\/tools\/resistors-kits\/\" target=\"_blank\" rel=\"noopener noreferrer\">Jumper Cables<\/a><\/li>\n<\/ul>\n<p>You can use the preceding links or go directly to <a href=\"https:\/\/makeradvisor.com\/tools\/?utm_source=rnt&utm_medium=post&utm_campaign=post\" target=\"_blank\">MakerAdvisor.com\/tools<\/a> to find all the parts for your projects at the best price!<\/p><p style=\"text-align:center;\"><a href=\"https:\/\/makeradvisor.com\/tools\/?utm_source=rnt&utm_medium=post&utm_campaign=post\" target=\"_blank\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2017\/10\/header-200.png?w=1200&#038;quality=100&#038;strip=all&#038;ssl=1\"><\/a><\/p>\n<h2>Schematics<\/h2>\n<p><a href=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/05\/autofiller-schematics.jpg?quality=100&#038;strip=all&#038;ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter wp-image-3162 \" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/05\/autofiller-schematics.jpg?resize=407%2C485&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"autofiller schematics\" width=\"407\" height=\"485\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/05\/autofiller-schematics.jpg?w=493&amp;quality=100&amp;strip=all&amp;ssl=1 493w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/05\/autofiller-schematics.jpg?resize=251%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 251w\" sizes=\"(max-width: 407px) 100vw, 407px\" \/><\/a><\/p>\n<h2>Upload the code below<\/h2>\n<p><strong>Note:<\/strong> With a few changes this projects\u00a0also works with the Arduino Leonardo<\/p>\n<pre style=\"max-height: 40em; margin-bottom: 20px;\"><code class=\"language-c\">\/*\n Created by Rui Santos\n \n All the resources for this project:\n http:\/\/randomnerdtutorials.com\/\n \n Based on some Arduino code examples \n *\/\n \n\/\/inlude the bounce library \n#include &lt;Bounce.h&gt;\n\n\/\/ Creating Bounce objects for each button makes detecting changes very easy.\nBounce button3 = Bounce(3, 10);  \nBounce button4 = Bounce(4, 10);  \nBounce button5 = Bounce(5, 10);  \n\nvoid setup() { \n  pinMode(3, INPUT_PULLUP);\n  pinMode(4, INPUT_PULLUP);\n  pinMode(5, INPUT_PULLUP);\n} \n\nvoid loop() {\n  \/\/ updates all the buttons\n  \/\/ don't use long delays in the loop\n  button3.update();\n  button4.update();\n  button5.update();\n  \n  \/\/ when you press the buttons\n  if (button3.fallingEdge()) {\n    Keyboard.print(&quot;usermame_1&quot;);\n    Keyboard.set_key1(KEY_TAB);\n    Keyboard.send_now();\n    Keyboard.print(&quot;password_1&quot;); \n    Keyboard.set_key1(KEY_ENTER);\n    Keyboard.send_now();\n  }\n  if (button4.fallingEdge()) {\n    Keyboard.print(&quot;usermame_2&quot;);\n    Keyboard.set_key1(KEY_TAB);\n    Keyboard.send_now();\n    Keyboard.print(&quot;password_2&quot;); \n    Keyboard.set_key1(KEY_ENTER);\n    Keyboard.send_now();\n  }\n  if (button5.fallingEdge()) {\n    Keyboard.print(&quot;usermame_3&quot;);\n    Keyboard.set_key1(KEY_TAB);\n    Keyboard.send_now();\n    Keyboard.print(&quot;password_3&quot;); \n    Keyboard.set_key1(KEY_ENTER);\n    Keyboard.send_now();\n  }\n  \n  \/\/ release all the keys\n  Keyboard.set_modifier(0);\n  Keyboard.set_key1(0);\n  Keyboard.send_now();\n}\n\n<\/code><\/pre>\n\t<p style=\"text-align:center\"><a class=\"rntwhite\" href=\"https:\/\/github.com\/RuiSantosdotme\/Random-Nerd-Tutorials\/raw\/master\/Projects\/Teensy_Username_and_Password_Auto_Filler.c\" target=\"_blank\">View raw code<\/a><\/p>\n<h3 style=\"color: #222222;\">Do you have any questions?\u00a0Leave a comment down below!<\/h3>\n<p style=\"color: #404040;\">Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my\u00a0Facebook Page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this project we&#8217;re going to make our own hardware password management tool.<\/p>\n","protected":false},"author":1,"featured_media":3163,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[303,196,197],"tags":[],"class_list":["post-3160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-0-arduino","category-teensy","category-t-tutorials"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/05\/Presentation1.jpg?fit=755%2C452&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/3160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=3160"}],"version-history":[{"count":0,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/3160\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/3163"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=3160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=3160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=3160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}