xinyuan-lilygo / lilygo-t-relay Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
i saw the relay are 5v
is there a way to get the 5 volt on this board and what should be its supported max amper
I am not find any of your product with relay and 4g, it is possible to us 7600 with this T-Relay?
I just bought 6 of the 4 relay boards. Will you sell the 8 relay boards on your AZ store also? I do not like ordering from Aliexpress due to shipping time.
Hi,
I tested internal PCF8563 rtc with the sample program RTC_PCF8563_TimeSynchronization. It got updates from ntp-server and set date/time to the rtc, but the rtc was not incrementing. For example just after ntp update loop() printed out
Hardware clock :Wednesday, January 31 2024 17:25:17
System clock :Wednesday, January 31 2024 17:25:17
but 10 seconds later:
Hardware clock :Wednesday, January 31 2024 17:25:17
System clock :Wednesday, January 31 2024 17:25:27
I had the same problem with Adafruit library as well as https://github.com/Makuna/Rtc library. Could it be a hardware problem? I just got the board from LilyGo (order 13992).
Hello first of all, thank you for the versatily and the quality of your products.
I am realy enjoy to discover your T-Relay board and I am wondering if it is possible to add an external antenna for the wifi.
On the product picture it seem to have pads near ESP32,
Is it for soldering an SMA connector for external Wifi Antenna ?
Thanks in advance for your response
Hello everybody,
I need to configure I2C, and I can't do it using the wire.begin(26, 14) method. Can someone explain to me how I configure the pins for I2C
I'm using a very similar code to the one here for esphome and Home Assistant.
Everything works fine except that when the board resets or reboot all the relay are triggered.
Very inconvenient when controlling a garage door for example.
Any suggestions to solve this and avoid these relay triggering?
I have tried some solutions using the relay options on esphome (ALWAYS_OFF, etc.) but without success.
Any help will be much appreciated.
First of all, thank you for creating this repository with sample configurations.
I'd like to ask for additional config for T-Relay with W5500 Shield and ESPHome.
Thank you :)
Hello i was able to configure esphome with the ESP32S3 t-relay....now i've connected an expansion board but i cannot find the way to configure the YAML file to make that work. Can you help with this?
Hello, I use I2C peripherals and on the T-Relay the default I2C SDA (IOpin 21) is assigned to a relay. Does the T-RElay ESP-WRover-E use different pins as default for I2C?
Hello,
I tried to connect LilyGo T-Relay S3 to W5500 ethernet shield but with no results.
Does anyone know which pins I need to connect to the board and what is the configuration in esphome?
Thanks in advance!
@LilyGO
Hi all,
fyi - maybe it sould be documented somewhere what we found out here: https://www.letscontrolit.com/forum/viewtopic.php?p=64424#p64424
Summary;
Hi,
For a future version, it would be better if you could swap the Vcc (3.3V) and GND on the pins row:
[... | 15 | 14 | Gnd | Gnd ]
[... | 04 | 02 | 3.3V| 3.3V]
to this instead
[... | 15 | 14 | 3.3V| Gnd ]
[... | 04 | 02 | 3.3V| Gnd ]
Because if you want to make independent connectors, you're more likely to use rows (15,14,Vcc,Gnd) and (4,2,Vcc,Gnd) than columns.
Please remove
Hi, I'm trying to install the full tasmota firmware in this device. I've compiled tasmota source with the #define USE_SHIFT595 and I have my board flashed and runnig but now, I'm stuck in how to configure Tasmota to the proper pins of TRelayS3
Tasmota Signals are labeled :
74x595 SRCLK
74x595 RCLK
74x595 OE
74595 SER
How do this signal match with GPIOS in your board?
Any clue in how to be abel to have this board (and extension) up and running?
Thx!!!
I have the T-4 relay and the T-Relay W5500 Shield and I am trying to get the sample working.
The W5500 initializes (serial monitor prints "Ethernet W5100 Discovery !") but
Ethernet.linkStatus()
always returns LinkOFF, and the LEDs on the RJ45 socket do not light up.
I understand I should be able to test the LEDs simply by plugging in a live network cable and supplying 3.3v and Gnd to the W5500 (without having the T-relay connected) - just for testing.
Which of the header pins (other than the SPI) are used on the T-Relay W5500 Shield and are connected ?
There should be 3 x GND and two 3v3 as per the pinout, and the SPI communication appears to be working based on successful discovery.
Thanks in advance
T-Relay S3 supports up to 3 expansion boars to have up to 24 relays.
I'd like to ask for an example with an expansion board, so it will be easier for beginners (like me) to get started.
Also, do I need additional hardware (T-U2T) to connect the board to PC?
Sadly I can't find any information and I want to buy all parts that are needed at once.
Hi,
is there a way to upload via USB-Serial CH340 without using the usb tongle? I forget to buy it with this relay
Can anyone help me find the board on platform io with vscode? I can't seem to.
The documentation for K4 relay says GPIO 05 and others GPIO 15.
I have tried both of them and none work to toggle the relay. The other GPIO 18, 19 and 21 work
Is it possible to use any of the IO pins on the T-Relay (4) board for UART communications? The usual ones for UART0 (IO3, IO1), 1 (IO9,IO10) and 2 (IO16, IO17) are not brought out onto the header.
This comment on the T-Display made me wonder if something similar is possible for the T-Relay.
Xinyuan-LilyGO/TTGO-T-Display#47
I am getting 'class WiFiClass' has no member named 'mode' when compiling this sketch any ideas where i am going wrong?
Hello I just bought LilyGo-T-Relay 4 way and trying to add ethernet with a w5500 module (a standard one, not the LilyGo one) What are the correct Hardware SPI pins? On the homepage the picture shows: PIN_W5500_CLK IO22, PIN_W5500_MOSI IO26, PIN_W5500_MISO IO13, PIN_W5500_CS IO27, are those the correct pins ? I have tested the same shield with another esp32 without any problem, but having problems to get this running on the LilyGo...Thanks Joop
The pin assignments shown in LilyGo T Relay S3 documentation doesn't match the schematics.
I think that these are the right ones:
static const uint8_t TX = 43;
static const uint8_t RX = 44;
static const uint8_t SDA = 16;
static const uint8_t SCL = 17;
// Temperature Sensor
static const uint8_t DSDATA = 21; // Not Connected
// RTC
static const uint8_t RTC_CLK32 = 15; // Not Connected
static const uint8_t RTC_INT = 18;
// HT74HC595ARZ
static const uint8_t SHIFT_REG_CLK = 5
static const uint8_t SHIFT_REG_LATCH = 6
static const uint8_t SHIFT_REG_DATA = 7
The board was alive upon receival, blinked using running light pattern when powered on via usb dongle
I attempted to upload the ESPHome sketch from this site and upload went to 100% but failed to verify the uploaded flash
Now the board is in infinite boot loop. Serial monitor shows infinite stream of
rst:0x10 (RTCWDT_RTC_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
12:30:47.390 -> flash read err, 1000
12:30:47.390 -> ets_main.c 371
12:30:49.812 -> ets Jun 8 2016 00:22:57
I tried also connecting to the board via https://espressif.github.io/esptool-js/
Most of the times it fails to connect, but from time to time it does
So I tried uploading the binary via espressif js tool with the same effect
esptool.js v0.1-dev
Serial port WebSerial VendorID 0x1a86 ProductID 0x55d4
Connecting....
Detecting chip type... ESP32
Chip is ESP32-D0WD (revision 1)
Features: Wi-Fi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: ....
Uploading stub...
Running stub...
Stub running...
Changing baudrate to 921600
Changed
Compressed 3084992 bytes to 258749...
Writing at 0x1000... (6%)
Writing at 0x5000... (12%)
Writing at 0x9000... (18%)
Writing at 0xd000... (25%)
Writing at 0x11000... (31%)
Writing at 0x15000... (37%)
Writing at 0x19000... (43%)
Writing at 0x1d000... (50%)
Writing at 0x21000... (56%)
Writing at 0x25000... (62%)
Writing at 0x29000... (68%)
Writing at 0x2d000... (75%)
Writing at 0x31000... (81%)
Writing at 0x35000... (87%)
Writing at 0x39000... (93%)
Writing at 0x3d000... (100%)
Wrote 3084992 bytes (258749 compressed) at 0x1000 in 2.918 seconds.
File md5: 916dae96966cbb74d0c914e77c70cb76
Flash md5: 4fa117c057552d512f686f7e56fc4fdf
Error: MD5 of file does not match data in flash!
Bad hardware? Should I try another t-relay board, or there's a way to revive this one?
I see you have mounted 10A relay. Are the screw terminal block and PCB trace matched for 10A ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.