First of all, anyone who studies or works with the electronics has some old dev boards which he/she
doesn't use anymore, but have some emotional value, so you want to make that board immortal. Let's make them useful. :D
Step 1: Collecting the Parts for Our Project
These should be easy to collect :D
The parts list:
A Piece of Drywall
Some green foil
An Old Dev Board
NodeMCU 12E (esp8266)
Female Pin Headers
A Shift Register sn74hc595
Old components, processors, motherboards etc.
A Voltage Converter(220V AC to 12V DC)
Optional: Voltage Converter 12V to 5V
Step 2: Soldering
I chose the simplest way to connect 7seg display and NodeMCU, so we should solder wires
on 7 segment display pins. Displays on my board are with a common cathode and, due to the limited number of pull-down inputs(only one on NodeMCU 12E), I connected the output pins from the NodeMCU on the base of a transistor, and connected the ground from an old dev board to the ground pin from the Node.I didn't connect shift reg and 7seg display to the attached scheme because it would be tough to follow, instead of that, i attached pin out for 7seg display.
Also, adding female pin headers allows us to use the NodeMCU for other purposes.
Step 3: Code
I am too busy with the projects important for a few courses on my faculty, so I just merged two already existing
codes, one for the 7seg display and other for the NTC clock. The code is a little bit messy and it has some unimportant parts, but it works correctly and steadily.
Step 4: Gluing the Parts to Our Green Board
I glued a drywall with a montage-kit, and the components with a hot-glue gun. When you attach the drywall to your wall, you must underlay the drywall with something for a few hours, as it may slip down.
Step 5: Adding a Voltage Converter
I added a voltage converter from a car charger. I did so because I didn't want to
overheat the onboard regulator, but if you have stable voltage (around 12v), you can connect your bord via vin pin.
Step 6: Enjoy the Room's New Look
Having done this, you didn't only save your board from oblivion, but also made your room more interesting.
You stopped being late, you have some colorful night light, and a place for storing old and useless components.