Forum Replies Created

Viewing 15 posts - 811 through 825 (of 1,031 total)
  • Author
    Posts
  • 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

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

                    Hi Saillu,
                    you can test the features on this branch of github.

                    you must add to filedescriptor this information

                    
                    fileDescriptor[0].contentTransferEncoding = "base64";
                    

                    It’s untested, give me a feedback.

                    bye Renzo

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

                      Hi Saillu,
                      I think, to do less change as possible you can do somethimg like this.

                      1. Save jpg.
                      2. Use second core of esp32 to generate a file already encoded in base64.
                      3. Send email with file encoded, but i must do a change to the library

                      Or use esp32 for all.

                      If u need help, write to the forum, and share your code.

                      Bye Renzo

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

                        Hi Saillu,
                        it isn’t the wifi speed, the problem is the low power of esp8266, the encoding It’s an hard process for that processor.

                        If you explain what you want to do we can try to find an alternative solution.

                        Bye Renzo

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

                          Hi,
                          You must define It before the include of library.
                          Or inside h file.
                          Bye Renzo

                          Renzo Mischianti
                          Keymaster

                            Hi Gilles,
                            it’s a very specific request, and honestly I have developments and additions to libraries that I developed with a higher priority.
                            But if I find some time I try to develop these features.
                            Hi Renzo

                            Renzo Mischianti
                            Keymaster

                              Hi Gilles,
                              you can try to substitute the Serial (or DEBUB_PRINT and DEBUG_PRINTLN) with a Stream of file, but you must change some code on library.
                              Bye Renzo

                              in reply to: Can’t get PCF8574 lib working on Wio Terminal #12598
                              Renzo Mischianti
                              Keymaster

                                Hi RoSchmi,
                                don’t worry, I’m happy to hear you. I write a simple interface for FTP server, I’m going to release It soon as example of the library.

                                Attachments:
                                You must be logged in to view attached files.
                                in reply to: Can’t get PCF8574 lib working on Wio Terminal #12596
                                Renzo Mischianti
                                Keymaster

                                  Hi RoSchmi,
                                  I have not yet tested the device with the i2c, I am completing the article with a small application that gives the status of the FTP server.
                                  But seems a connection problem, have you tried making an i2c scanner?
                                  I try to test as soon as possible, but this week It’s full, I do my best.

                                  Bye Renzo

                                Viewing 15 posts - 811 through 825 (of 1,031 total)