Making your own crypto wallet for BITCOIN coins

Project purpose:

The project is designed to generate an electronic wallet, encrypt the private wallet number and then store it on the Wemos D1 board. The project consists of four parts.

Part 1 is the firmware for the Wemos D1 module (folder “wallet_flash” in .ino format).

Part 2 is the source file of the wallet graphical environment for windows. A program was written in python version 3.9 (file “”

Part 3 is a compiled program based on a python script. This program is compiled and does not need to be installed on the computer python and dependencies necessary for the project

Part 4 – stl case files for printing it on a 3D printer (case1, case2, cover).

The key is stored in the memory of the Wemos D1 board. All operations are performed using the graphical shell.

What you need:

Wemos D1 module

OLED display 0.96″ I2C

Two bolts with a diameter of 4 mm and two nuts M4

3D printer

Watchbands 20mm

Building an Arduino project:

1 We print the case on a 3D printer. Solder the wires to the display.

2 Solder the display to the board as follows:

3 Insert the board into the case. From the beginning, we insert the board into the black part of the case, then into the red one. Can be fixed with hot glue if necessary. We insert it so that the hole in the back of the case coincides with the USB socket of the board. In this case, the module cover is directed upwards.

4 We glue the screen with a thermal gun at the four corners of the cover rectangle. We insert the nuts into the bottom holes, connect it to the computer, flash it with a sketch from the wallet_flash folder. We attach the straps. It should turn out like this:

Principle of operation

Extract the bitcoin_wallet folder from the archive (link to the github at the bottom of the article) and extract it to drive C into the following directory C:\bitcoin_wallet_arduino

Then run the bitcoin_wallet.exe file in the bitcoin_wallet folder

1 Connect your device to your computer and select the appropriate comport. Then click connect. The status bar should show “connected”, and the arduino display should show “START”.

2 If you want to work in the test blockchain, leave a checkmark in the “Network selection” field. If you want to use a real blockchain, then check the “Real” checkbox.

3 To create a wallet, click the “Create Wallet” button, create a PIN code and click the “Save Wallet” button. The arduino display should show “SAVE” when successfully saving the wallet to the arduino memory

4 If you already have a wallet, or you want to save a newly created wallet, then click the add wallet button and paste the private key there. And then enter the pin code and click the “Download Wallet” button. If you forget the PIN code, then access to the wallet will be lost. You will have to manually select passwords. Loading a private wallet into memory does not require internet access.

python -m pip install pyserial
python -m pip install bit
python -m pip install cryptocode

Source code for arduino, python script and compiled version of the program at the link

Similar Posts

Leave a Reply Cancel reply