Adoption of the Bitcoin Switch with the T-Call Go V1.4 which has a GSM800 Module and a OLED display.
This repo is based on the original source of bitcoinSwitch of @benarc!
This Commit was used for developing.
- https://www.lilygo.cc/products/t-call-v1-4?variant=42285821460661
- https://www.waveshare.com/wiki/2.4inch_LCD_Module#Introduction
- Relay
You will find the sources for https://www.waveshare.com/1.5inch-RGB-OLED-Module.htm too.
2 Portal Pin
### TFT ###
5V (violet) 3.3V/5V Power input
GND (white) GND
14 (green) DIN / MOSI Data input
18 (orange) SCL Clock input
32 (yellow) DC Data/command signal selection, low level indicates command, high level indicates data
33 (blue) CS Chip select, active low
25 (brown) RST (because 5 is used for the modem)
(gray) N.C.
### Relay ###
12 IN of Relay
FYI: GPI: GPIO34-39 can only be set as input mode and do not have software-enabled pullup or pulldown functions.
I needed to extend the current bitcoinSwitch config for the LNURL on the display and the gsm network. See elements.json.example.
- QRCode Library: Github
Pin 4 is used by the modem. Changed Portal PIN to 2.
#define PORTAL_PIN 2
int16_t strength = modem.getSignalQuality()99 not known or not detectable
2 ... 30 --> Check Table here: https://m2msupport.net/m2msupport/atcsq-signal-quality/
- Use https://javl.github.io/image2cpp/
- Option: Arduino Code, Single Bitmap
- Option: Horizontal 2 Bytes
I am using a relay on pin12 and it was triggered, when the moden is dooing something. I needed to set the pin on output in the beginning of the code. (Not wait until the first payment is recived).
If you like this project, please adapt the landingpage to your local stores, that accept bitcoin or even extend it. Why not send some tip love?