Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc authored May 7, 2024
1 parent cf3ce56 commit 8f4ebe3
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@ The number of flashes corresponds to the number of digits in the number of sats
+ Block connectors
+ A case. [This repo includes files for a 3D printed case](enclosure)

## Wiring
ESP32 GND <==========================> Relay "DC-"

ESP32 5V <==========================> Relay "DC+"

LED POS <===========================> Relay "DC+"

ESP32 GND <=========================> Relay "COM"

LED GND <===========================> Relay "NO"

GPIO 13 <===========================> Relay "S"

## Build Instructions

+ Identify the positive and negative leads of the lamp. Tie a knot in the +ve lead for future identification
Expand Down Expand Up @@ -67,3 +54,20 @@ GPIO 13 <===========================> Relay "S"
- 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"

<img src="https://github.com/lnbits/nostr-zap-lamp/assets/33088785/7e265c4e-256c-49fb-a936-c3c6ccfa081b" style="width:300px">

0 comments on commit 8f4ebe3

Please sign in to comment.