Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 2.74 KB

README.md

File metadata and controls

70 lines (43 loc) · 2.74 KB

LNBCARD - Shiny Bitcoin&Nostr payments

The LNBCARD

This is an open source project that let you test lightning payment notifications. Connect the LNBCard to your LNBits wallet or Alby wallet (LNDhub) and receive light notifications.

This board can be used as a cool Tip accessory for your shop or to bring it on a meetup and teach about lightning.

This project uses part of the job done with BitcoinSwitch of BenArc: https://github.com/arcbtc/bitcoinSwitch

Requirements

  • LNBCard board get yours at 🛒bitronics.store🛒
  • 3D badge BOX (pending)
  • Screen support (soon)

Flash firmware

Standard tool

Flash the LNBCard firmware from online flash tool ESPtool and the binary files that you will find in the bin folder. If you want you can compile the entire project using Arduino.

  1. Get an LNBCard board
  2. Download this repository
  3. Go to ESPtool online: https://espressif.github.io/esptool-js/
  4. Load the firmware with the binary from one of the sub-folders of bin corresponding to your board.
  5. Important: Hold BOOT Button and then plug your board .
  6. Select each file from the sub-folder (.bin files) and then press flash.

Update firmware

Update the LNBCard firmware following same flashing steps but only using the file 0x10000_firmware.bin.

Build troubleshooting

  1. Online ESPtool works with chrome, chromium, brave
  2. ESPtool recommendations: use 115200bps
  3. Build errors > If during firmware download upload stops, it's recommended to enter the board in boot mode. Unplug cable, hold right bottom button and then plug cable. Try programming
  4. In extreme case you can "Erase all flash" on ESPtool to clean all current configuration before uploading firmware. There has been cases that experimented Wifi failures until this was made.
  5. In case of ESP32-WROOM Boards, could be necessary to put your board on boot mode. Hold boot button, press reset button and then program.

LNBCARD configuration

After programming, you will only need to setup your Wifi and lightning wallet parameters.

Wifi Accesspoint

  1. Connect to LNBCardAP
    • AP: LNBCardAP
    • PASS: BoltPower
  2. Setup your Wifi Network
  3. Add your LNBits wallet ID or your LNDHUB URI

Description video

Introducing the LNBCARD

Donations/Project contributions

If you would like to contribute and help dev team with this project you can send a donation to the following LN address ⚡[email protected]⚡.

If you want to order an LNBCard you can contribute to my job at 🛒bitronics.store🛒

Enjoy