

This is a lightning network esp32S2 experimentation PCB (POS/ATM)
- Size
- 51.5 × 157.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 40
- Nets
- 51
- Pads
- 212
- Tracks, vias
- 613, 90
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 9 May 2022
- Updated
- 9 May 2022
Overview
BTCPOS is an open-source printed circuit board by ccadic, from the ccadic/LightningNetworkPCB repository on GitHub. It is a 2-layer board of 51.5 × 157.3 mm with 40 parts on 51 nets, routed with 613 tracks and 90 vias.
It is built around the ESP32-S2-WROOM-N4, BAT54C and BSS138. Its parts include 11 resistors, 9 capacitors, 6 connectors, 5 ICs and 2 diodes. It belongs with the ESP32 boards of this library.
Main components
3ESP32-S2-WROOM-N4
SMD,31x18mm-40℃~+85℃ -97dBm 19.5dBm 2.4GHz 310mA 3V~3.6V 63mA ESP32-S2 On-board PCB Antenna UART、SPI、I2C、GPIO、I2S SMD,31x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesBAT54C
SOT-231 Pair Common Cathode 200mA 2uA@25V 30V 600mA 800mV@100mA SOT-23 Schottky Diodes ROHSNexperiaSchottky DiodesBSS138
SOT-23-55℃~+150℃ 1 N-channel 1.1Ω@10V、1.2Ω@4.5V 1.2V 1.7nC@10V 17.5pF 340mA 350mW 50V 6.5pF N-Channel SOT-23 MOSFETs ROHShongjiachengMOSFETs
README
README.mdLightningNetworkPCB
This is a lightning network esp32S2 experimentation PCB (POS/ATM)

Licence is GPL3 I never read :) But philosophy is: do what you want with it. If you want to encourage me, here is my BTC wallet address: bc1qdy8alfz6t623trqzk2m0mzrz8w87wwgjc9azgc My LN Wallet: lnbc1p38nqhcpp5dr46a44fh3jh4uhenvvuxhza30jzzg2auevfjff3hw0uxne34k8qdqu2askcmr9wssx7e3q2dshgmmndp5scqzpgxqyz5vqsp5hzff9unn0vs4f9qsam9a67ffl5hydvs7n4yxd2n6f3aa29qd9jks9qyyssq4y6nllz8ku0qk05glep3g6frwyypptjahnv4t9neszszl07pl944seglzcfk7q9hreuq62wl3f8jjn4ugytncnhhm3zngr34ektzegspkv3cxk
This board is using An ESP32-S2 wroom chip from espressif A 2.8 inch touch screen (ILI9341 SPI) A 3x4 keypad (https://www.amazon.fr/gp/product/B07GFDKJYZ/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&th=1)
The board is equiped with a USB-C plug to bring 5V and to upload ESP32S2 scketches The board also has a 12v regulator thru a barrel jack, should you want to connect a 12v source and fee the coin selector with 12v. The 12v si also converted to 3.3v for the ESP32 to run.
You have a connector for the CH-926 Coin selector. Have a look at the PCB writing (the wiring is explained) The CH-926 coin pin is 5V. I built a level shifter to be able to talk to the ESP32 pin in 3.3v
You also have a bunch of extra GPIO / SPI and I2C connector on the top back of the PCB. It allows you to connect a TTL thermal printer, should you want to create a LN-POS You also have extra ESP32-S TRX1 TRX0 pins to talk to another devive thru UART. I have added these to be able to talk to a CAM-ESP32, should you want to read QR code from another ESP32 device You hace I2C SDA/SCL pins to connect, for instance, a NFC reader/writer to process payments.
Have fun
Dr Philippe CADIC pcadic(at)gmail.com
Parts
40| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R105, R108, R109, R111 |
| 4 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C101, C102, C106, C107 |
| 2 | 20pF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C104, C105 |
| 2 | 22R | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R101, R102 |
| 2 | 4.7uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C108, C109 |
| 2 | 5.1K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R103, R104 |
| 1 | 0R | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R106 |
| 1 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C103 |
| 1 | 3x4KeypadBlack | 27sharp:KeyPad_3x4 | KBD101 |
| 1 | 470R | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R110 |
| 1 | 5k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R107 |
| 1 | AP1117-33 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U101 |
| 1 | AP1117-50 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U104 |
| 1 | BAT54C | Package_TO_SOT_SMD:SOT-23 | D101 |
| 1 | BATCON | Connector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_Horizontal | J106 |
| 1 | BOOT | 27sharp:SKRPABE010 | SW102 |
| 1 | BSS138 | Package_TO_SOT_SMD:SOT-23 | Q101 |
| 1 | BTC6 | 27sharp:BTC6 | REF10 |
| 1 | Barrel_Jack | 18650:BARREL_JACK | J104 |
| 1 | CHARGE | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D102 |
| 1 | CoinSelectCNX | TerminalBlock:TerminalBlock_bornier-4_P5.08mm | J103 |
| 1 | ConExtra | Connector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_Vertical | J105 |
| 1 | GpioSPI | Connector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_Vertical | J102 |
| 1 | ILI9341-28 | 27sharp:ILI9341-2_8-noSD | U102 |
| 1 | MCP73831-2-OT | Package_TO_SOT_SMD:SOT-23-5 | U105 |
| 1 | RST | 27sharp:SKRPABE010 | SW101 |
| 1 | USB_C_Receptacle | 27sharp:GT-USB-7010 | J101 |
| 1 | esp32-s2-wroom | 18650:esp32-s2-wrooom | U103 |
The 38 most common of 40 parts.
Questions
How big is the BTCPOS PCB?
It measures 51.5 × 157.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the BTCPOS use?
40 parts, built around the ESP32-S2-WROOM-N4, BAT54C and BSS138. 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 BTCPOS KiCad files?
From the ccadic/LightningNetworkPCB repository on GitHub, at the commit this page was made from: the board is BTCPOS.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the BTCPOS design in my own project?
Its repository states no licence, so its author keeps all rights: ask ccadic before reusing the design.
Similar boards
- 2 layers27.9 × 92.7 mm

- 2 layers124 × 35 mm

- 4 layers51.3 × 23.4 mm

20210211 eduino
ccadic/HackZeGarage
ESP32-S2 and CC1101S 433Mhz usb stick to record and send car gates/garages data keys and open stuff
33 parts19 - 2 layers27.9 × 88.9 mm

Morphesp240template
hwreverse/MorphESP240_Shields
HWR0's Shield Designs for the MorphESP 240 by @ccadic
37 parts13MIT - 2 layers155 × 80 mm

- 2 layers51.1 × 30 mm

Franzininho WIFI
Franzininho/Franzininho-WIFI-dev-edition
Versão da Franzininho para teste e validação do ESP32-S2
31 parts39 - 2 layers64.3 × 25.4 mm

- 2 layers64.8 × 41 mm
