Flash and configure from browser! https://bitcoinswitch.lnbits.com/
Once flashed, press GPIO4 in few seconds of ESP32 booting up to be able to config
![]() |
![]() |
![]() |
![]() |
---|
👉 An absolutely incredible bitcoinSwitch guide by Axel 👈
For use with LNURLDevice in LNbits.
Join us! t.me/makerbits
-
Install Arduino IDE 1.8.19
-
Install ESP32 boards, using boards manager
-
Download this repo
-
Copy these libraries into your Arduino install "libraries" folder
-
Open this bitcoinSwitch.ino file in the Arduino IDE
-
Select the correct ESP32 board from tools>board
-
Upload to device
build with arduino-cli
sh build.sh
build webinstaller, fetch main assets from lnbits.github.io
sh build-installer.sh
start preview
cd installer
http-server -p 8080
compiling
arduino-cli compile --build-path build --fqbn esp32:esp32:esp32 bitcoinSwitch
monitoring
arduino-cli monitor -p /dev/ttyUSB1 -c baudrate=115200
uploading
arduino-cli upload --fqbn esp32:esp32:esp32 --input-dir build -p /dev/ttyUSB1