Password keeper digispark by me

Password keeper digispark by me

thingiverse

I want to remember all my passwords for different sites, but it doesn't always work out. Recently I thought about the idea of a flash drive with passwords - conceived - done. The "flash drive" consists of 2 parts for cool geeks, and 3 for ordinary people who have a 3D printer, or they can print the 3rd part (case) Digispark attiny85 key TACT clock button 12x12-7.0 The case it is ///Code for arduino ///////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////// //////////////////// Сюда вводим количество сайтов char* sites[] = { "Pc Andmin", // My PC Admin "Chrome", // Google Chrome "Google", // Google "Facebook",// Facebook "Instagram",// Instagram "Twitter",// Twitter "Pinterest",// Pinterest "Autodesk",// Autodesk "Github",// Github "End",// End Stroke "->"};// Start /////////////////// Сюда вводим пароли char* paswords[] = { "PAsswordForMyPCAdmin", // My PC Admin "PAsswordFor", // Google Chrome "PAsswordForGoogle", // Google "PAsswordForFacebook",// Facebook "PAsswordForInstagram",// Instagram "PAsswordForTwitter",// Twitter "PAsswordForPinterest",// Pinterest "PAsswordForAutodesk",// Autodesk "PAsswordForGitHub"};// GitHub //////////////////Программа /////////////// add # before include #include "DigiKeyboard.h" const int buttonPin = 1; // переменная для кнопки, назначаем ее на контакт 1 int reading = 0; // переменная в которой хранится состояние кнопки, 0 (выключено) //////////////////// const int button = 3; const int led = 13; int bounceTime = 50; int holdTime = 250; int doubleTime = 500; int lastReading = LOW; int hold = 0; int single = 0; int LEDstate = 0; long onTime = 0; long lastSwitchTime = 0; int siteCounter = 0; int firstEnter = 0; void setup() { pinMode(buttonPin, INPUT); } void loop() { DigiKeyboard.sendKeyStroke(0); int SiteSizes = sizeof(sites) / sizeof(sites[0]); int reading = digitalRead(buttonPin); // //first pressed if (reading == HIGH && lastReading == LOW) { onTime = millis(); if (firstEnter==1){ for (int i=0; i <= strlen(sites[siteCounter-1]+1); i++){ DigiKeyboard.sendKeyStroke(0x2A); } } DigiKeyboard.print(sites[siteCounter]); // hold = 0; siteCounter++; firstEnter = 1; if (siteCounter>SiteSizes-1){ siteCounter=0; } } //held if (reading == HIGH && lastReading == HIGH && hold == 0) { if ((millis() - onTime) > holdTime) { for (int i=0; i <= strlen(sites[siteCounter -1]); i++){ DigiKeyboard.sendKeyStroke(0x2A); } DigiKeyboard.print(paswords[siteCounter -2]); // Pc AChrome_1 hold = 1; single = 0;// } } lastReading = reading; } ///////////////////////////code end

Download Model from thingiverse

With this file you will be able to print Password keeper digispark by me with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Password keeper digispark by me.