

Nostr zap lamp
Get a visual Zap! when someone zaps your or anyone on Nostr.
- Size
- 41.9 × 52.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 5
- Nets
- 30
- Pads
- 36
- Tracks, vias
- 21, 0
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 2 Aug 2023
- Updated
- 24 Aug 2025
Overview
Nostr zap lamp is an open-source printed circuit board by lnbits, from the lnbits/nostr-zap-lamp repository on GitHub. It is a 2-layer board of 41.9 × 52.3 mm with 5 parts on 30 nets, routed with 21 tracks and 0 vias.
Its parts include 2 connectors and 1 IC. It belongs with the lEDs and displays boards and the ESP32 boards of this library.
README
README.mdNostr Zap Lamp

Get a visual "Zap!"" when someone zaps you or anyone on Nostr.
The Nostr Zap Lamp flashes when a relay broadcasts a Nostr event of kind 9735. You can set the lamp to flash zaps sent to a specific npub, or any npub on nostr.
The number of flashes corresponds to the number of digits in the number of sats sent. i.e. 3 sats will result in 1 flash, 152 sats will result in 3 flashes, 1001 sats will result in 4 flashes.
Buy a pre-assembled or complete Zap Lamp kit on the LNbits shop
Features
- Show a signal when a zap is sent to one or all nostr npubs
- Background brightness control
- Easily configure to use your own nostr relay
- Simple configuration to work with any npub
Parts
- LED "Neon" lamp
- An ESP32 dev board
- USB cable
- A momentary switch push button - For example https://www.amazon.com/Momentary-Spring-Return-Self-Return-Pushbutton-Switches/dp/B09DJY5Y5L
- Four jumper cables
- Block connectors
- A case. This repo includes files for a 3D printed case
Build Instructions
- Identify the positive and negative leads of the lamp. Tie a knot in the +ve lead for future identification
- Cut the lamp leads to around 10cm long
- Attach a female jumper lead to each. Solder or use block connectors to attach the leads.
- Attach female jumper leads to the push button
- Connect the lamp to the ESP32: GPIO13 on the ESP32 -> lamp's positive wire and GND on the ESP32 -> lamp's negative wire.
- Connect the push button button to the ESP32 on GPIO4 and GND
- Install the lamp, ESP32, button and lead in the printed enclosure
- Power on the device and configure using the WiFi access point portal.
Firmware Upload Instructions
- Use the web installer at https://nostr-zap-lamp.lnbits.com/ to flash and configure the device
- Alternatively, use the Arduino IDE to flash the firmware.
- Install the ESP32 board in the Arduino IDE by adding the following URL to the board manager: https://dl.espressif.com/dl/package_esp32_index.json
- Install the following libraries using the Arduino IDE library manager:
- uBitcoin
- WebSockets
- ArduinoJson
- base64
- WiFiManager
- Nostr
- Open the nostrZapLamp.ino file in the Arduino IDE
- Select the ESP32 Dev Module board and the correct port
- Compile and upload the firmware
- Use the web installer at https://nostr-zap-lamp.lnbits.com/ to configure the device
5v Relay option
Using a 5v Relay the lamp will be brighter, or you can swap out the light and connect anything to the relay that you want to turn on.
ESP32 GND <==========================> Relay "DC-"
ESP32 5V <==========================> Relay "DC+"
LED POS <===========================> Relay "DC+"
ESP32 GND <=========================> Relay "COM"
LED GND <===========================> Relay "NO"
GPIO 13 <===========================> Relay "S"
Parts
5| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | Button | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_TDK_PS1240P02BT_D12.2mm_H6.5mm | BZ1 |
| 1 | ESP32_DevKit_V1_DOIT | ESP32_DevKit_V1_DOIT:esp32_devkit_v1_doit | U1 |
| 1 | LED | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J1 |
The 4 most common of 5 parts.
Similar boards
- 2 layers98 × 27 mm

- 2 layers21 × 33 mm

24g2usb pico2w
joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.
5 parts1.7kApache-2.0 - 2 layers53.2 × 59.6 mm

A10 OLinuXino Lime Rev B SHIELD TEMPLATE
OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C
5 parts1.5k - 2 layers30 × 11 mm

Main control board servo tester
jamro/tiny-engineer
A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.
5 parts1.1k - 2 layers78.8 × 35.3 mm

KiCadTest
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
5 parts915 - 2 layers50 × 23 mm

- 2 layers43.2 × 28.5 mm

- 2 layers20.3 × 15.2 mm

L0 light sensor
Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
5 parts546MIT
Questions
How big is the Nostr zap lamp PCB?
It measures 41.9 × 52.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Nostr zap lamp use?
5 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Nostr zap lamp KiCad files?
From the lnbits/nostr-zap-lamp repository on GitHub, at the commit this page was made from: the board is pcb/NostrZapLamp.kicad_pcb and its schematic pcb/NostrZapLamp.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Nostr zap lamp design in my own project?
Its repository states no licence, so its author keeps all rights: ask lnbits before reusing the design.