T-Display-S3 with E220

Tagged: ,

Viewing 9 reply threads
  • Author
    Posts
    • #26877
      Giuseppe
      Participant

        Hello, I am trying to connect a T-Display-S3 to a Lora Ebyte E220. It doesn’t matter if I connect it to the serial port (pins 17 and 18); I tried with Hardware Serial, but it didn’t work either. I have tested several pins, but I can’t get it to work with the LilyGo T-Display S3. I have managed to make it work perfectly with two other ESP32 references, but I cannot do it with this one (I am very new to electronics). Any help would be greatly appreciated. Here is the link to the ESP32 board I am using, and the code I am trying to apply is the example that comes with the library. Board: https://www.lilygo.cc/products/t-display-s3

      • #28635
        Andrecolz
        Participant

          hello did you manage to solve the problem? i think i am in the same situation as you.

        • #28639
          Renzo Mischianti
          Keymaster

            Hi all,
            paste the controller you use to mange It.
            Bye Renzo

            • #28650
              Andrecolz
              Participant

                hello forgive me but I’m fairly new to this world of lora/esp32 so I’m not familiar with it, what is a controller?
                do you mean the obj lora constructor?
                if so this is mine: LoRa_E220 e220ttl(18, 17, &Serial2, 21, 43, 44, UART_BPS_RATE_9600);
                but on second thought mine might be a different problem to Giuseppe’s, but I’m not sure, I should also try testing it on other boards like arduino, but my main interest was to develop for t-display-s3.
                thanks for the help.
                Andrecolz

            • #28652
              Renzo Mischianti
              Keymaster

                Hi,
                I think It’s Serial1 not Serial2.
                And there isn’t necessary specify the pin of the serial.
                Bye Renzo

              • #28654
                Andrecolz
                Participant

                  hi, i just tried changing my constructor as you suggested: LoRa_E220 e220ttl(&Serial1, 21, 43, 44, UART_BPS_RATE_9600);
                  but e220ttl.available() always stays on 0, could it be a problem done during configuration?

                • #28656
                  Renzo Mischianti
                  Keymaster

                    Hi,
                    use get configuration sketch and enable the debug.
                    After that post the output.
                    Bye Renzo

                    • #28683
                      Andrecolz
                      Participant

                        hi, i did as you said, this is the output:

                        No response from device! (Check wiring)
                        12
                        ----------------------------------------
                        HEAD : FA 1 DD
                         
                        AddH : 60
                        AddL : 36
                         
                        Chan : 8 -> 418MHz
                         
                        SpeedParityBit     : 1 -> 8O1
                        SpeedUARTDatte     : 1 -> 2400bps
                        SpeedAirDataRate   : 1 -> 2.4kbps
                         
                        OptionSubPacketSett: 11 -> 32bytes
                        OptionTranPower    : 11 -> 10dBm
                        OptionRSSIAmbientNo: 0 -> Disabled (default)
                         
                        TransModeWORPeriod : 0 -> 500ms
                        TransModeEnableLBT : 1 -> Enabled
                        TransModeEnableRSSI: 1 -> Enabled
                        TransModeFixedTrans: 0 -> Transparent transmission (default)
                        ----------------------------------------
                        No response from device! (Check wiring)
                        12
                        ----------------------------------------
                        HEAD: 54 72 97
                        Model no.: 6E
                        Version  : 73
                        Features : 70
                        ----------------------------------------
                    • #28684
                      Renzo Mischianti
                      Keymaster

                        Please add also the pin initialization part.
                        Bye RM

                        • #28685
                          Andrecolz
                          Participant

                            hi, LoRa_E220 e220ttl(&Serial1, 21, 43, 44, UART_BPS_RATE_9600);
                            is it necessary to use pinMode(pin, INPUT_PULLUP);?

                        • #28686
                          Renzo Mischianti
                          Keymaster

                            No no,
                            I need the first part of Serial output where the pin initialized are printed.
                            Bye RM

                            • #28687
                              Andrecolz
                              Participant

                                this?

                                ESP-ROM:esp32s3-20210327
                                Build:Mar 27 2021
                                rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
                                Saved PC:0x4202af9a
                                SPIWP:0xee
                                mode:DIO, clock div:1
                                load:0x3fce3808,len:0x44c
                                load:0x403c9700,len:0xbe4
                                load:0x403cc700,len:0x2a38
                                entry 0x403c98d4

                                i have only it in serial output

                                if you please, I tried to redo the setconfiguration, this is my code: https://codeshare.io/Odg6oW
                                but unfortunately I get this:

                                No response from device! (Check wiring)
                                12
                                Save mode returned not recognised!
                                11
                                No response from device! (Check wiring)
                                12

                                and if I use Serial2 the board’s usb port is not recognised.

                              • #28689
                                Andrecolz
                                Participant

                                  I realised that after entry 0x403c98d4 there were also these codes:

                                  E (14) gpio: gpio_set_level(226): GPIO output gpio_num error
                                  E (14) gpio: gpio_set_level(226): GPIO output gpio_num error
                              • #28690
                                Renzo Mischianti
                                Keymaster

                                  Hi,
                                  It seems that the pinout Is wrong; put the device on a breadboard and, with an LED, test the single pin output.
                                  Give me feedback RM

                                  • #28825
                                    Andrecolz
                                    Participant

                                      hello, sorry but I’ve been busy these days, I tried doing as you said, the leds came on on all gpio except 21 (AUX) but using pinMode(21, OUTPUT); the led comes on.
                                      however i noticed one thing all the leds light up low, but using pinMode(nGPIO, OUTPUT); the leds light up more, so i think there is some problem in the management of the gpio and you have to set the various pinMode()? in that case M0 and M1 would be in OUTPUT but AUX, RX and TX?

                                  • #28827
                                    Renzo Mischianti
                                    Keymaster

                                      Hi Andrecolz,
                                      probably some internal management, try to remove/change all pull-up resistors and try to use other pins.
                                      Bye Renzo

                                  Viewing 9 reply threads
                                  • You must be logged in to reply to this topic.
                                  Exit mobile version