Forum Replies Created

Viewing 15 posts - 751 through 765 (of 979 total)
  • Author
    Posts
  • in reply to: Transmission Does NOT Work #13377
    Renzo Mischianti
    Keymaster

      Hi,
      I use this device
      https://s.click.aliexpress.com/e/_A4tZaa
      with the specified program for e32
      https://www.ebyte.com/en/pdf-down.aspx?id=199
      Bye Renzo

      in reply to: Transmission Does NOT Work #13370
      Renzo Mischianti
      Keymaster

        Hi,
        I think the better solution is to reset all device with the original software and adaptor.
        Sometime when this device not wor tha software is the solution.
        Bye Renzo

        in reply to: LoRa_E32.h with ESP32 #13367
        Renzo Mischianti
        Keymaster

          Hi,
          No no, not remove the resistor of the e32, only the 2 added by you.
          And yes M0 and M1 are used to switch modality

          Ebyte LoRa E32 device for Arduino, esp32 or esp8266: configuration – Part 3

          Bye Renzo

          in reply to: LoRa_E32.h with ESP32 #13281
          Renzo Mischianti
          Keymaster

            Hi Asmi,
            try to remove the resistor, or change the value of these.
            M0 and M1 are connected together with a little resistor, so if pull-up are too hight ot too low the device doesn’t go low or hight.
            Bye Renzo

            in reply to: Transmission Does NOT Work #13279
            Renzo Mischianti
            Keymaster

              Hi,
              try to remove the resistor, some device have some different setting.
              If problem continue try to change the e32 and execute the same code per try to reset with the EByte usb board.
              Bye Renzo

              Renzo Mischianti
              Keymaster

                Hi,
                ok, perfect.
                So if your device was resetting every 15 days there isn’t a problem of EMailSender.
                Probably you have a little memory leak that eat a minimal quantity of ram.
                The execution of this function use the same quantity of memory, and when the function end free all memory of the function scope.
                But, if the main scope increase day by day the memory usage in the long term the device reset at the execution of the function.
                Bye Renzo

                in reply to: Transmission Does NOT Work #13267
                Renzo Mischianti
                Keymaster

                  Hi jorge,
                  first try to get config to check if it’s all ok.
                  If all ok retry in trasparent transmission.
                  Then set configuration with save.
                  And now resend the message.
                  If not work try to change pull_up resistot.
                  Bye Renzo

                  in reply to: LoRa_E32.h with ESP32 #13222
                  Renzo Mischianti
                  Keymaster

                    Hi Asmi,
                    if you use standard Serial to comunicate you must configure the E32 like so:

                    
                    // ---------- esp32 pins --------------
                    LoRa_E32 e32ttl(&Serial, 15, 12, 13); //  RX AUX M0 M1
                    

                    and after you must test if the pull-up resistor create problems.

                    You can take every examples on library, you must only change the constructor.

                    Bye Renzo

                    in reply to: ABB Aurora WIM power supply #13198
                    Renzo Mischianti
                    Keymaster

                      Hi jetronic,
                      under my roof I have only the power from solar inverter, so if no sun no power, and I add an UPS to the device so the server It’s always online, and I prevent power noise.

                      The system work without that also, you must only remove the battery shield.

                      Bye Renzo

                      Renzo Mischianti
                      Keymaster

                        Hi Gilles,
                        sending email need a good quantity of ram, so if you have a memory leack in some part of your code, It’s possible that when EMailSender request It’s quote of memory the microcontroller reboot.

                        A good practique is to separate all the functionality in function with a specified scope, so qhen function finish you free all memory.

                        Bye Renzo

                        in reply to: LoRa_E32.h with ESP32 #13121
                        Renzo Mischianti
                        Keymaster

                          Hi,
                          you can refer this article to learn all the constructors

                          Ebyte LoRa E32 device for Arduino, esp32 or esp8266: library – Part 2

                          The second constructor is what you need. SoftwareSerial is not needed for esp32.

                          LoRa_E32(byte txE32pin, byte rxE32pin, HardwareSerial* serial, UART_BPS_RATE bpsRate = UART_BPS_RATE_9600, uint32_t serialConfig = SERIAL_8N1);
                          LoRa_E32(byte txE32pin, byte rxE32pin, HardwareSerial* serial, byte auxPin, UART_BPS_RATE bpsRate = UART_BPS_RATE_9600, uint32_t serialConfig = SERIAL_8N1);
                          LoRa_E32(byte txE32pin, byte rxE32pin, HardwareSerial* serial, byte auxPin, byte m0Pin, byte m1Pin, UART_BPS_RATE bpsRate = UART_BPS_RATE_9600, uint32_t serialConfig = SERIAL_8N1);
                          Breaking change on esp32 constructor

                          Bye Renzo

                          in reply to: Time to send single JPG pic to gmail #13079
                          Renzo Mischianti
                          Keymaster

                            Hi Sailorman,
                            thanks to you for your feedback, I’m going to incorporate the features, so other can use It.
                            If you want write an article about your project we are happy to publish It.
                            Bye Renzo

                            in reply to: LoRa_E32.h with ESP32 #13042
                            Renzo Mischianti
                            Keymaster

                              Hi Asmi,
                              you select Arduino conf for esp32.

                              Please check the tutorial.

                              Ebyte LoRa E32 device for Arduino, esp32 or esp8266: WOR (wake on radio) and new ESP32 shield – 8

                              Bye Renzo

                              Renzo Mischianti
                              Keymaster

                                Hi FehnrirX,
                                the problem is that you send onnly one file but specify 2 as filenumber on this line

                                
                                  EMailSender::Attachments attachs = {2, fileDescriptor};
                                

                                you must change in

                                
                                  EMailSender::Attachments attachs = {1, fileDescriptor};
                                

                                Bye Renzo

                                in reply to: Time to send single JPG pic to gmail #12959
                                Renzo Mischianti
                                Keymaster

                                  Hi Saillu,
                                  if you find artifact on image, I think the problem is the file sended, because I don’t apply any type of manipulation with

                                  
                                  fileDescriptor[0].contentTransferEncoding = "base64";
                                  

                                  I add only header that specify that the file is in base64 to the receiver.

                                  Can you attach the complete code?

                                  Bye Renzo

                                Viewing 15 posts - 751 through 765 (of 979 total)