We take the data from our ESP32 GET request to our LND node and display it on an Epaper module.
https://github.com/arcbtc/LNDRemote
"Buy Bitcoin" ink stamps, only £1!!! (not for stamping all your fiat) https://www.jigawatt.co/
Check out the brand new http://WorldCryptoNetwork.com/
Follow WCN on...
Here's a synthesized summary of the BTCIOT Tutorial podcast episode, broken down into the requested sections:
1. Narrative Summary
This podcast episode is part of a multi-part tutorial series demonstrating how to connect an ESP32 microcontroller to a Lightning Network Daemon (LND) full node and display data on an ePaper display. The tutorial builds on a previous episode that covered setting up the initial connection and obtaining necessary credentials. This segment focuses on the practical steps of integrating the ePaper display, configuring the ESP32 using the Arduino IDE, and extracting and displaying key information from the LND node, such as node name, active channels, block height, and channel status. A key benefit of this project is the extremely low power consumption achieved through the ESP32's sleep mode, enabling air-gapped monitoring and potentially extending battery life significantly. The host plans to expand the project in future tutorials, including the ability to send data and generate QR codes. He also mentioned plans to offer project kits and merchandise related to the project.
2. Main Topics Discussed
- Building on Previous Tutorial: The tutorial requires completion of the prior episode to obtain necessary credentials.
- ePaper Display Integration: Connecting and initializing an ePaper display to the ESP32, highlighting its low power consumption.
- GPIO Pin Mapping: Configuring the correct GPIO pins for the ESP32, which varies by board model.
- Arduino IDE & Libraries: Utilizing the Arduino IDE and specific libraries:
- Arduino JSON: Parsing JSON data from the LND node (version 5.3 is crucial).
- gxepd2: Controlling the ePaper display.
- Configuration: Setting up Wi-Fi credentials, LND macaroon credentials, and TLS certificate.
- LND Endpoints & Macros: Using the "get info" endpoint and macaroon for authentication, with mentions of alternative options.
- Data Extraction & Display: Demonstrating how to extract and display specific data from the LND node's JSON response.
- Power Efficiency & Sleep Mode: Explaining the ESP32's low power consumption in sleep mode (0.04 milliamps per hour) and active mode (30 milliamps per hour).
- Air-Gapped Monitoring: Highlighting the security benefits of air-gapped node monitoring.
- Versatility: Compatibility with various LND nodes beyond Blitz (e.g., Thunderdroid).
- Future Development: Plans for a future tutorial focusing on POST requests, QR code generation, and server communication.
- Merchandise & Project Kits: Announcing plans to offer related merchandise and project kits through jigawatt.co.
3. Key Quotes
- "So you'll need to complete the tutorial before this tutorial or else you probably will get stuck."
- "Arduino JSON is really nice, what's it called, library but it can be a bit of a pain in the ass because they hard forked so like old versions and new versions and they're not compatible with each other."
- "I really like this as a project because it means you can have an air gap between...and then you can just have this as a little display to check on the status of your node."
4. People Mentioned
- Host: (Name not explicitly stated, but the speaker leading the tutorial)
- Christian: Contributed a feature to Blitz that simplifies LND macro generation.
- Room 77: Provided credentials used for demonstration purposes.
5. Bitcoin Price
No Bitcoin prices were mentioned during the podcast episode.