Forum Replies Created
-
AuthorPosts
-
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 RenzoHi craig,
check better if M0 and M1 changing correctly. With that 3.3v device sometime can be problem when one of that are LOW and HIGH at the sametime.
Bye RenzoFrom the log seems that you send only wake up message, but the receiver was already waked up.
If I understand the behavior you must do:
Master
– Wake up mode
– You must send wake up message to the slave with broadcast
– go in normal mode and wait response messagesSlave
– Sleep mode
– wake up via message
– after wake up set normal mode
– send data to the MasterBye Renzo
Sorry Craig,
I explain better.
In this list there isn’t the change mode log that allow send messagebelow is print screen from node after wake up 8:57:34.664 -> AUX HIGH! 18:57:34.664 -> Complete! 18:57:34.709 -> Clear buffer…ok! 18:57:34.709 -> Success 18:57:40.272 -> AUX HIGH! 18:57:40.272 -> Complete! 18:57:40.272 -> Clear buffer…ok! 18:57:40.318 -> Success 18:57:45.842 -> AUX HIGH! 18:57:45.842 -> Complete! 18:57:45.888 -> Clear buffer…ok! 18:57:45.888 -> Success 18:57:51.447 -> AUX HIGH! 18:57:51.447 -> Complete! 18:57:51.447 -> Clear buffer…ok! 18:57:51.491 -> Success 18:57:57.047 -> AUX HIGH!
It seems that not switch to Wake up mode
Bye Renzo
In the log I can’t see the mode change after Wake up, It’s possible that there isn’t??
Bye RenzoHi Craig,
the log sayWait no AUX pin!
there is a configuration problem, and you can’t change mode without fully connection.
Bye Renzo -
AuthorPosts