Forum Replies Created
-
AuthorPosts
-
Hi Alexandr,
I’m going to publish It this week with a mini guide, I already create the binary firmware.
I update this topic when ready.
Bye RenzoHi Rudy,
It’s very strange, try to put 5v power supply and change pull-up resistor with lower value.When you read the buffer It’s cleared, but if you send fast series of messages you must use readMessageUntil (orange box)
ResponseContainer receiveMessageUntil(char delimiter = '\0');
You must send a message with a terminator character
ResponseStatus rs = e32ttl.sendMessage("Prova\0");
and receive message like so
ResponseContainer rs = e32ttl.receiveMessageUntil();
default terminator as you can see in the declaration of the method is ‘\0’, but you can use what you want.
Bye Renzo
I search a bit and seems the problem is that Ethernet not support SSL natively, so I think you must use service like SendGrid.
Bye RenzoHi SSpence,
you can’t use GMail directly, you must follow these steps
Configure GMail for EMailSenderGive me a feedback.
Bye RenzoHi sspence,
no, you must change EMailSenderKey.h with#ifndef DEFAULT_EMAIL_NETWORK_TYPE_ESP32 #define DEFAULT_EMAIL_NETWORK_TYPE_ESP32 NETWORK_ESP32_ETH #define DEFAULT_INTERNAL_ESP32_STORAGE STORAGE_SPIFFS #endif
The Client and Server are correct..
https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/examples/ETH_LAN8720/ETH_LAN8720.inoBye Renzo
Hi Perry,
first E22 library is not compatible with E220.
You can find some information about the constructor on this article
Ebyte LoRa E22 device for Arduino, esp32 or esp8266: library – 2in the constructor you can specify the pin of esp32 hardware serial
LoRa_E22(byte txE22pin, byte rxE22pin, HardwareSerial* serial, UART_BPS_RATE bpsRate = UART_BPS_RATE_9600, uint32_t serialConfig = SERIAL_8N1); LoRa_E22(byte txE22pin, byte rxE22pin, HardwareSerial* serial, byte auxPin, UART_BPS_RATE bpsRate = UART_BPS_RATE_9600, uint32_t serialConfig = SERIAL_8N1); LoRa_E22(byte txE22pin, byte rxE22pin, HardwareSerial* serial, byte auxPin, byte m0Pin, byte m1Pin, UART_BPS_RATE bpsRate = UART_BPS_RATE_9600, uint32_t serialConfig = SERIAL_8N1);
Bye Renzo
Hi SSpence,
you must configure correctly the device here first#ifndef DEFAULT_EMAIL_NETWORK_TYPE_ESP32 #define DEFAULT_EMAIL_NETWORK_TYPE_ESP32 NETWORK_ESP32 #define DEFAULT_INTERNAL_ESP32_STORAGE STORAGE_SPIFFS #endif
I think you must select one of
#define NETWORK_W5100 (2) #define NETWORK_ENC28J60 (3) #define NETWORK_ESP32_ETH (5)
based on the library you select to control w5500.
You can find some information here.
Bye Renzo
Hi Richard,
I’m going to create precompiled binary file, I think can be usefully.
Bye RenzoHi SSpence,
can you share your code and post the EMailSenderKey config.
I never test that configuration, we are going to check the issue.
Bye RenzoHi Richard,
you can refer to this article
ABB Aurora Web Inverter Monitor (WIM): upload the sketch and front end – 9Bye Renzo
Hi Rudy,
It’s very strange, but if Ebyte tool had problems I think the module was broken, try to do simple set configuration and get configuration (specify correct define for frequencies), and activate DEBUG on library.
Bye RenzoHi Thayro,
sorry no time for that now, but It’s very strange the behavior of your e22 device.
Mine work correctly.
Bye RenzoHi Henk,
It can be possible, in this library (differently from pcf8574 lib) I implemented only INPUT and not INPUT_PULLUP.
You can try to set to 0 the debounce variable to prevent this problem#define READ_ELAPSED_TIME 10 // to 0
Bye Renzo
Hi Craig,
I think this is a more simple approach
Ebyte LoRa E32 device for Arduino, esp32 or esp8266: power saving and sending structured data – Part 5but in your sketch you write
struct Message message = *(tdata*) rt.data; Serial.println(message.type);
but in
tdata
not existtype
it an array, you can access It via index.Bye Renzo
Hi Craig,
Well, I’m glad you solved the problem. I hope the topic will be of help to others as well.
Bye Renzo -
AuthorPosts