Muenzer 63 - An old remote dial coin box with money changer
The Münzer 63 (manufacturer's designation Siemens AG: MünzFW63) is a coin-operated telephone which was introduced in 1963 and used until the early 1990s. Back then, it was good old German engineering, with lots of electromechanics and mechanical coin testing. It was rescued from the scrap heap by a good friend in the 90s and lovingly stored for 30 years before I was able to give it a second life.
It is now an offline Lightning ATM with a few extra gadgets, as the dial and handset lent themselves perfectly to user interaction. The coin slot, coin cassette and coin ejector could also be reused. However, the coin check is now carried out electrically. The ATM was also given a display and an LED button. Everything was positioned as inconspicuously as possible so that as little as possible had to be falsified or even damaged from the outside. Externally, it is virtually still original, or can be completely restored. The interior was largely gutted, but as much as possible was reused.
It is a piece of contemporary history that is now to be loaned to Bitcoin events or companies such as hotels, restaurants, etc. with a Bitcoin connection for a certain period of time. It is intended to fascinate as many plebs or PreCoiner as possible and bring the technology of Bitcoin⚡Lightning a little closer.
If you lift the handset, you hear a dial tone and dial a number via the dial disk, you hear various announcements. The announcements do not come from the exchange, but from a small MP3 player which is controlled by an ESP32. With the dial number 9 you hear an announcement that you can activate the Lightning ATM function (automatic teller machine) with the speed dial. Once the ATM has been activated, the display is updated and indicates that you can now insert money into the coin slot. After each coin insertion, the display updates and shows the amount of coins inserted and the LED button lights up. If you press the button, a QR code is displayed. If you scan the QR code with a Lightning wallet of your choice, you can have the Bitcoin Lightning Satoshis transferred to your wallet for the equivalent value of the fiat coins inserted.
The heart of the new Muenzer 63 is an offline ATM based on the GitHub project "offline-LightningATM-esp32" by Felix. It has a coin validator like the well-known Lightning ATM, except that the controller is not a Rapsberry Pi Zero minicomputer, but an ESP32 and it does not require Wifi, because it also works offline.
The ATM has been extended a little for the Muenzer 63. It has been given an additional module, a mini MP3 player with a 3 watt amplifier, which communicates with the ESP32 via a serial UART interface and can play MP3 files from an SD card. The ESP32, the module, three Mosfet solid state relays and a 12V/5V voltage converter are soldered onto a strip grid board and the entire board is equipped with connection options.
Muenzer 63: info | old manuals
ESP32 NodeMCU: Google
DFPlayer Mini - MP3-Player: data sheet | Github | info | code and video
PWM Mosfet Module (relay): Google | great documentation
Step down converter 12V to 5V: Google
Power supply 12V: Google
Coin acceptor: Google
Display: Waveshare
Dial: wiki
Inputs and outputs:
GPIO | Inputs |
---|---|
14 | Button of the LED button |
4 | Pulse input from the coin acceptor |
15 | Pulse input of the dial disk |
12 | Query telephone handset fork |
13 | Reserve |
GPIO | Outputs |
---|---|
32 | LED of the LED button |
22 | Lock signal coin acceptor (inhibit) |
21 | Background light (coins) |
19 | Green arrow light |
Interface with MP3 module:
GPIO | MP3 modul |
---|---|
16/17 | UART2 RX/TX |
Interface with display:
GPIO | Display |
---|---|
18/23/25/25/27/33 | CLK/DIN/DC/CS/BUSY/RST |
The ESP32 pinout you can find here.
The connector front to back here.
And the connector front to middle here.
As the ESP32 has two core processors, the code here has been optimized so that part of the program runs via the second processor. It is mainly the pulse query of the dial that is queried cyclically. The part of the ATM with the pulses from the coin selector runs on the second processor and is processed in a similar way to a step chain.
To protect the private wallet data, the LNbits wallet string is stored in the file "private_data.h". It is entered in .gitignore and is ignored when uploading to Github. This prevents you from accidentally uploading the wallet data. There is a file "private_data_example.h" in the "include" directory. It is an example file that must be copied in the same directory and renamed to "private_data.h". Only in this file the string of the LNbits wallet must be adapted. As the file is entered in .gitignore, the content is ignored by Git. Changes do not appear in Git and therefore cannot be accidentally uploaded to GitHub.
Text to speech converter: ttsmp3.com
UART Com: microcontrollerslab.com
Daktari⚡️ who rescued the Muenzer 63 from the scrap heap in the 90s
and kept it in good condition for over 30 years.
Flex for the great offline-LightningATM.
In addition to the beautiful exterior of the Muenzer 63, the heart of the project.
Ben Arc and the LNbits community for the great LNbits.
Without which there would never have been such beautiful lightning⚡️functions. 🧡
Lightning⚡Address: [email protected]
Web: https://ereignishorizont.xyz/