Forum Replies Created
-
AuthorPosts
-
Hi Davidd,
if you use Ethernet Shield please refer to the articleSend email with attachments (v2.x library): Arduino Ethernet – 1
there are some limitation on secure connection and in Memory size like you can see on this topic
Using EMail Sender library with Arduino UNO Ethernet shield with Ethernet.h library
Bye Renzo
Hi Ayush,
I write an article on broadcast, I think you can find the solution on this articleEbyte LoRa E32 device for Arduino, esp32 or esp8266: fixed transmission – 4
Bye Renzo
13 April 2021 at 15:49 in reply to: pcf8574 ReadAll in low memory compare to single value byte #11413Hi Fernando,
you must reduce the DigitalInput object to a byte like so:byte byteValReadAll = 0; void setVal(uint8_t pin, uint8_t value){ if (value==HIGH){ byteValReadAll = byteValReadAll | bit(pin); }else{ byteValReadAll = byteValReadAll & ~bit(pin); } } [...] setVal(P0, digitalInput.p0); setVal(P1, digitalInput.p1); setVal(P2, digitalInput.p2); setVal(P3, digitalInput.p3); setVal(P4, digitalInput.p4); setVal(P5, digitalInput.p5); setVal(P6, digitalInput.p6); setVal(P7, digitalInput.p7); Serial.println(byteValReadAll, BIN); [...]
Bye Renzo
Yes, all LOW.
Bye RenzoHi Orvasson,
The flash memory use a SPI protocol, if I remember exist a specified library to simplify the usage without limitation.
Bye RenzoHi Claudio,
check with tester of m0 and M1 are correctly setted.
Bye RenzoHi Hector,
check Claudio configurazione, you must add the object Mame.
Bye RenzoSometime reboot loop can be generated by
- wrong wiring
- wrong usage
- and the e32 that have some waste on flash, to fix this problem you need the usb-ttl EByte device with the original software
Bye Renzo
Hi,
the usage of Serial2 can’t work, because you do the begin and inside the library I do begin again.
To use custom pin on esp32 you can refer this articleEbyte LoRa E32 device for Arduino, esp32 or esp8266: library – Part 2
You can’t do
LoRa_E32 e32ttl100(&Serial2, AUX_PIN, M0_PIN, M1_PIN); Serial2.begin(9600, SERIAL_8N1, RX2_PIN, TX2_PIN); e32ttl100.begin();
because you start the serial 2 times
you must use something like thisLoRa_E32(RX2_PIN, TX2_PIN, &Serial2, AUX_PIN, M0_PIN, M1_PIN);
Bye Renzo
28 March 2021 at 19:17 in reply to: Problems using atmega328p without bootloader & hardware serial #11182Hi Josh,
check the logic level of M0 and M1 if raise correctly, with 5v power sometime It’s hard to change.
Check if are high.
If you have a FDTI use software serial to debug or to control the e32, debug information It’s important to discover the problem.Bye Renzo
Hi Claudio,
the configuration is wrong, you don’t initialize the Serial, the library do it for you.
You can look at this topic with the same esp32 configuration problem.EByte LoRa e32 not working on esp32: sends a random number, the other reads
If you need more information ask without problem.
Bye Renzo
26 March 2021 at 14:09 in reply to: Problems using atmega328p without bootloader & hardware serial #11156Hi Josh,
please give us a connection schema, so we can help you.
And try to uncomment the line in the library#define LoRa_E32_DEBUG
and retry.
Bye RenzoHi
I try to contact Ashining, but no response from they.
Sorry I think this productor have very low interest and support to Arduino ecosystem.
Bye Renzo23 March 2021 at 07:43 in reply to: Problem on SMTP: 554 5.6.0 Message contains invalid header. #11000Hi Gilles,
yes you don’t see any difference because I think you must use SSClient for secure connection, and I must add secure support to the library.
I don’t have a w5500 shield, if I find one I try to add support.You can try to add https://github.com/OPEnSLab-OSU/SSLClient to the library and instantiate the SecureClient with this.
Bye Renzo
Hi Orvasson,
I had lost your message (I need a moderator).But what Paloy said is correct, you can connect various i2c devices and communicate with them via the device address.
Some devices have the address configurable through pins such as the various pcf8574 pcf8591 etc ..
PCF8574 i2c digital I/O expander
other can be programmed via code, other have fixed address.
You can check the address of the devices connected with a simple program like this:
/* * i2c scanner * Renzo Mischianti www.mischianti.org */ #include <Wire.h> void setup() { Wire.begin(); Serial.begin(115200); while (!Serial) {delay(100);}; Serial.println(); Serial.println("I2C Scanner"); } void loop() { byte error, address; int nDevices; Serial.println("Scanning..."); nDevices = 0; for(address = 1; address < 127; address++ ) { Wire.beginTransmission(address); error = Wire.endTransmission(); if (error == 0) { Serial.print("I2C device found at address 0x"); if (address<16) { Serial.print("0"); } Serial.println(address,HEX); nDevices++; } else if (error==4) { Serial.print("Unknow error at address 0x"); if (address<16) { Serial.print("0"); } Serial.println(address,HEX); } } if (nDevices == 0) { Serial.println("No I2C devices found\n"); } else { Serial.println("done\n"); } delay(5000); }
Bye Renzo
-
AuthorPosts