Skip to content

uaraven/Picotp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PicOTP - OTP generator for Raspberry Pi Pico W

This hardware OTP generator can be connected to your computer using USB cable and you act as one-click OTP macro keyboard.

BOM

Hardware:

Software:

  • CircuitPython 10.0

3D printed enclosure:

  • Printed case
  • Printed lid
  • 3x 6mm M2 bolts and M2 nuts

Installation

Install CircuitPython 10.0 onto your Raspberry Pi Pico W. You can download it here. If you are new to CircuitPython, you can start here

After installation, connect the board to computer using USB cable. You should see CIRCUITPY disk in the file manager.

Copy all *.py files and lib and fonts folders to the root folder of the CIRCUITPY disk.

Configuration

Edit secrets.py to configure your Wi-Fi ssid and password and your OTP secrets.

Replace xxx with your Wi-Fi name and yyy with the Wi-Fi password in the following line:

CONNECTION = {"ssid":"xxx", "password":"yyy"}

Add as many OTP codes as you want in SECRETS list:

SECRETS = [
    ("Account Title", "Secret code")
]

Each OTP code must be a python tuple where the first element is the account name and the second element is the OTP secret code.

Using

After you have configured Wi-Fi and the OTP codes, you should see the account name on the top of the display in blue, code digits in the middle of the screen and the timer progress bar at the bottom.

Pressing A button will send the code to the connected computer. B button will send the code followed by Enter key. X and Y buttons scroll through the configured codes.

3D printed case

Print two parts of the case (Case.stl and Lid.stl), 0.4 layer hight, 2-3 perimeters, no supports (you can use supports for lid)

Insert M2 nuts into the holes and screw the lid to the main case.

Step files for modifying the 3d models are also provided.

Security Notice

The OTP codes are stored on the device in plain text. Do not use the device in anywhere where someone else can get an access to it. Use this project at your own risk. You've been warned.

License

This project is distributed under the terms of MIT license (See LICENSE file)

About

OTP generator for Raspberry Pi Pico W with macro keyboard function

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages