Forum Replies Created

Viewing 15 posts - 376 through 390 (of 1,020 total)
  • Author
    Posts
  • in reply to: External Flash SPI Storage on W25Q64 with ESP32 #23880
    Renzo Mischianti
    Keymaster

      Hi fepalmytho,
      sorry, I lost these messages.

      It’s a good idea, If you want to try you must change this file and you must change

      
      #ifndef DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32
      	#define DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32 		NETWORK_ESP32
      	#define DEFAULT_STORAGE_TYPE_ESP32 					STORAGE_FFAT
      #endif
      

      in

      
      #ifndef DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32
      	#define DEFAULT_FTP_SERVER_NETWORK_TYPE_ESP32 		NETWORK_ESP32
      	#define DEFAULT_STORAGE_TYPE_ESP32 			STORAGE_SPIFM
      #endif
      

      for the SPI Flash declaration

      
      #include "SdFat.h"
      #include "Adafruit_SPIFlash.h"
      
      // Uncomment to run example with custom SPI and SS e.g with FRAM breakout
       #define CUSTOM_CS   SS
       #define CUSTOM_SPI  SPI
      #define EXTERNAL_FLASH_USE_QSPI
      
        Adafruit_FlashTransport_SPI flashTransport(CUSTOM_CS, CUSTOM_SPI);
      
        Adafruit_SPIFlash flash(&flashTransport);
      

      I must publish the article on how to use SPI Flash on esp32, but for now you can follow the tutorial for STM32 or Pico.

      STM32: add SPI flash memory with FAT FS

      Sorry again, bye Renzo

      in reply to: Email with sd files #23876
      Renzo Mischianti
      Keymaster

        hi,
        check the library version.

        in reply to: ESP_NOW Send fails often #23874
        Renzo Mischianti
        Keymaster

          Hi Thowa,
          hehehehe.. It’s possible, but try to connect the module only with the battery or add power to 3v pin.
          Bye Renzo

          in reply to: ESP_NOW Send fails often #23862
          Renzo Mischianti
          Keymaster

            Hi Thowa,
            It’s very strange, the board uses esp-wroom-32 a standard IC not different from others.

            It’s possible that the power supply isn’t sufficient when you use this board?

            Bye Renzo

            in reply to: BLE connection issues #23851
            Renzo Mischianti
            Keymaster

              Hi,
              for the upper version of Android you must specify in the file AndroidManifest.xml these grant

              
              <manifest>
                  <!-- Request legacy Bluetooth permissions on older devices. -->
                  <uses-permission android:name="android.permission.BLUETOOTH"
                                   android:maxSdkVersion="30" />
                  <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"
                                   android:maxSdkVersion="30" />
              
                  <!-- Needed only if your app looks for Bluetooth devices.
                       If your app doesn't use Bluetooth scan results to derive physical
                       location information, you can strongly assert that your app
                       doesn't derive physical location. -->
                  <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
              
                  <!-- Needed only if your app makes the device discoverable to Bluetooth
                       devices. -->
                  <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
              
                  <!-- Needed only if your app communicates with already-paired Bluetooth
                       devices. -->
                  <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
              
                  <!-- Needed only if your app uses Bluetooth scan results to derive physical location. -->
                  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
                  ...
              </manifest>
              

              But if It’s works with version 13 It’s very strange.

              Bye Renzo

              in reply to: Board Esp-f (Based with ESP8266) WDT Reset #23850
              Renzo Mischianti
              Keymaster

                Ciao Alex,
                dando per scontato che hai l’ultima versione della libreria.

                Innanzitutto prova a rimuovere la riga
                LoraWan_Config.close();

                E non usare il PWR_DWN_LOSE, a questo punto potrebbe esserci un problema li che ho fixato male

                
                  ResponseStatus rs = LoraWan.setConfiguration(configuration, WRITE_CFG_PWR_DWN_SAVE);  
                

                Per il risparmio energetico non stai mettendo in sleep l’esp8266, dai un occhio a quest’articolo

                Ebyte LoRa E32 device for Arduino, esp32 or esp8266: WOR (wake on radio) microcontroller and new WeMos D1 mini shield – Part 7

                è per l’E32 ma il principio è lo stesso.

                Ciao Renzo

                in reply to: Battery Management MKR 1010 #23849
                Renzo Mischianti
                Keymaster

                  Hi Paolo,
                  I don’t have the same model of the battery.

                  But It’s possible that in the code you use to do the test, doesn’t this line commented?

                  
                    // while (!Serial);
                  

                  And check in “Computer management –> Device management –> Port (COM and LPT) the behavior of the COM port.

                  Bye Renzo

                  in reply to: Email Sender not working again #23824
                  Renzo Mischianti
                  Keymaster

                    Hi rs77can,
                    to manage that situation I add 2 methods:

                    emailSend.setAdditionalResponseLineOnConnection(1);
                    and
                    emailSend.setAdditionalResponseLineOnHELO(1);

                    these methods manage strange responses from the SMTP server, use that instead of adding client.flush() in the library.

                    Can you confirm that the space after the PublicIPDescriptor generate another problem?

                    Thanks Renzo

                    in reply to: Lora E220.h #23823
                    Renzo Mischianti
                    Keymaster

                      Ahh ok!
                      But I think you can check only the GPS status. The EByte LoRa device has a buffer where It puts all the messages to send, so you can sendMessage every time the GPS data is available.
                      Bye Renzo

                      in reply to: Lora E220.h #23813
                      Renzo Mischianti
                      Keymaster

                        My GPS has pin PPS waveshare L76X is it possible to synchronize the transmitting lora with the received GPS signal?

                        Can you explain better “synchronize the transmitting lora with the received GPS signal”?

                        Thanks Renzo

                        in reply to: Lora E220.h #23812
                        Renzo Mischianti
                        Keymaster

                          Hi Piotr,
                          To understand look at this line’s code. If the AUX pin is settled, I check when It’s going LOW else I add a big delay to wait for the device to complete the operation.
                          Bye Renzo

                          in reply to: Battery Management MKR 1010 #23809
                          Renzo Mischianti
                          Keymaster

                            Hi Paolo,
                            It’s very strange. Which battery type do you use?
                            Bye Renzo

                            in reply to: Email Sender not working again #23808
                            Renzo Mischianti
                            Keymaster

                              But with the flush and the space deletion work?

                              in reply to: BLE connection issues #23801
                              Renzo Mischianti
                              Keymaster

                                Ahh perfect! This is important information.
                                Probably the version of Bluetooth changed and also changed the management.
                                Bye Renzo

                                in reply to: Email Sender not working again #23800
                                Renzo Mischianti
                                Keymaster

                                  Hi,
                                  ok, your SMTP server needs the IP of your server in the helo message; you can use the library command

                                  setPublicIpDescriptor()

                                  to change It from ‘mischianti’ to another value.

                                  And update the library to the latest version.

                                  Bye Renzo

                                Viewing 15 posts - 376 through 390 (of 1,020 total)