Forum Replies Created
-
AuthorPosts
-
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
Hi Joergen,
sorry to write so late, I add support for LittleFS in this versione of EMailSender
Send email with attachments (EMailSender v2.x library): esp32 and esp8266 – 2And also update a library of FTP Server to support LittleFS.
FTP server on esp8266 and esp32Bye Renzo
Hi makac,
It’s very difficult to debug without a device.
I try to ask to the Ashining some send me some devices to adapt the library.
Bye RenzoHi Orvasson,
the SPI protocol pins are
static const uint8_t SS = 34;
static const uint8_t MOSI = 35;
static const uint8_t MISO = 37;
static const uint8_t SCK = 36;from 34 to 37.
The pin 46 is a simple pin but can’t used for output for some HW limitation, you can use It only in digital input.
Bye Renzo
Hi Asterios,
I add some trick and a simple program to calculate step on this article.
If you have difficult write here I try to help you.CNC Cyclone PCB Factory: settings and tests – Part 7
Bye Renzo
Hi Sergio,
Thanks, I fixed It.
Bye Renzo5 March 2021 at 09:13 in reply to: Problem on SMTP: 554 5.6.0 Message contains invalid header. #10440When you give me the account I try to send email with EMailSender and an esp8266, and It work correclty

the library It’s ok, the problem is the provider.
Bye Renzo
5 March 2021 at 08:02 in reply to: Problem on SMTP: 554 5.6.0 Message contains invalid header. #10437Hi Gilles,
I send email without problem from GMail with esp8266 to orange.fr account, the problem is that Orange block the other provider.
So you must contact your provider and try to unlock sendgrid, or they must suggest you an unencrypted service like send grid.
Bye Renzo
4 March 2021 at 17:20 in reply to: Problem on SMTP: 554 5.6.0 Message contains invalid header. #10434Hi Gilles,
you can try
25,2525, or587port for unencrypted connection, if you can’t use this ports mean that in your network these ports are blocked and you can’t use that.Bye Renzo
4 March 2021 at 17:20 in reply to: Using EMail Sender library with Arduino UNO Ethernet shield with Ethernet.h library #10433Hi Gilles,
you can try
25,2525, or587port for unencrypted connection, if you can’t use this ports mean that in your network these ports are blocked and you can’t use that.Bye Renzo
3 March 2021 at 14:32 in reply to: Using EMail Sender library with Arduino UNO Ethernet shield with Ethernet.h library #10382Try to do
ping smtp.sendgrid.netEsecuzione di Ping smtp.sendgrid.net [18.197.194.208] con 32 byte di dati:and check if you can read the IP.
Bye Renzo
3 March 2021 at 11:52 in reply to: Problem on SMTP: 554 5.6.0 Message contains invalid header. #10380Hi Gilles,
refer to the topic of tpapas, that He use the service currently for his weather station.
Using EMail Sender library with Arduino UNO Ethernet shield with Ethernet.h library
I try with telnet and the result is
C:\Users\renzo>bash reef@PORTATIREEF:/mnt/c/Users/renzo$ telnet smtp.sendgrid.net 25 Trying 18.197.194.208... Connected to smtp.sendgrid.net. Escape character is '^]'. 220 SG ESMTP service ready at geopod-ismtpd-4-0
Bye Renzo3 March 2021 at 10:15 in reply to: Problem on SMTP: 554 5.6.0 Message contains invalid header. #10379Hi,
Return-Path: <> is set by MAIL FROM: parameter, but is set by the SMTP server.
It’s strange that is empty.
Bye Renzo
2 March 2021 at 22:24 in reply to: Problem on SMTP: 554 5.6.0 Message contains invalid header. #10361Yes the library convert in base 64, but the code you posted use smtp from orange not sendgrid.
Bye Renzo
2 March 2021 at 22:22 in reply to: Problem on SMTP: 554 5.6.0 Message contains invalid header. #10360I don’t have w5500, i’m going to order one of that to do some test.
Theorically it can support secure connection, but i think some test is needed.
Bye Renzo
-
AuthorPosts

