LilyGO-T-RELAY 4 channel ESP32 #16054
Replies: 4 comments 28 replies
-
There is only one relevant serial port for flashing. TX/RX on gpio 1/3. Yes, that's not broken out in headers, but that's what you get for not buying the standard USB/serial adapter sold by Lilygo. And you need the usual power+gnd, and grounding gpio 0 to get in flashing mode. |
Beta Was this translation helpful? Give feedback.
-
Well, the board smoked when I applied power via the usb-c so I'm done for now. I did buy another board at the same time because I see reviews saying some flashed it. The chip is PSF-B so I'll look at the page that was shared. Was so hoping to get to try tasmota over this weekend. Update: And of course, none of the leads for headers are marked to show which connect to rx/tx. |
Beta Was this translation helpful? Give feedback.
-
If that helps anyone else, I went through the Happy to report that it was easier than I feared (although I do have the adapter to make the process simple)! I documented the steps I followed in https://github.com/yoannchaudet/LilyGo-T-Relay-Tasmota. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For anyone who's playing with this board, it was nearly impossible to find information on this so I thought I should share.
I accidentally ordered the above board without the U2T kit adapter to flash it. I'm wanting to get something done over the weekend and am not sure I'll be using this board permanently as I learn about tasmota so I decide to try using serial.
From what I've read, this board has three serial ports.
A quick look here seems to only show two sets of R/X pins.
https://tasmota.github.io/docs/Pinouts/#esp32-wrover
This seems to show pins 17 (rx) and 18 (tx) are what I'll need or alternatively, 34/35.
The image in the link shows gpio1 tx, gpio3 rx and gpio9 rx, gpio10 tx.
However, the board doesn't have any of those, it only shows IOxx pins and none are the above.
It could be pins IO34 and IO35 so I tried that but I get nothing.
I cannot find any information on what pins I need to connect to get serial access.
I have the esp32 module on this. ESP32-WROVER-B but as mentioned, that link being shared, I don't have those pins in the header.
The header labels are all IOxx and none of the numbers are pins I've found anywhere in this link or on the net.
The top pins on the right show 34 and 35 and I have IO34 and IO35 on the header label but those didn't work.
I took a nice and thick C-cable and carefully cut it open to reveal only four wires.
Two power, two data I guess since two of the wires are obviously thicker than the others so must be power.
It's not a full cable but I hoped it meant it would simply have power and data connectors but so far, I cannot get much from a serial connection, just a lot of garbage at all baud rates and flow control settings. Definitely what seems to be a stream of data as it corresponds with the initial booting and testing of each relay then a pulse.
Update, ah, finally got it.
115200, 8N1, XON/XOFF.
Must have rx, tx AND GND connected. Without ground, it goes crazy with data on the terminal screen.
`
..ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5856
entry 0x400806a8
setup
scan start
scan done
6 networks found
1: mylan (-62)*
2: neighbor1 (-89)*
3: neighbor2 (-89)*
4: neighbor3 (-89)*
5: neighbor4 (-89)*
6: neighbor5 (-90)
Connecting to xinyuandianzi
.....................
`
Interesting that it sees the local wilreless networks.
Says it's connecting to 'xinyuandianzi'. No idea what that is, there's no wifi around here with that name.
Anyhow, now I need to find information that explains how to load tasmota onto this and I finally get to see it in action then I'll play with a broker I've installed on a local ubuntu server.
Beta Was this translation helpful? Give feedback.
All reactions