Forum Replies Created
-
AuthorPosts
-
27 February 2021 at 18:08 in reply to: Problem on SMTP: 554 5.6.0 Message contains invalid header. #10228
Hi Gilles,
if you can do a mail for me I try this or tomorrow evening to do the change.
Send me the password to info@mischianti.org .
Bye RenzoHi Gilles,
only for confirmation, you use an Arduino Mega and a w5100 shield, and can you tell me the size of the file you want send?
Bye Renzo24 February 2021 at 07:54 in reply to: SMTP Error 534-5.7.14 https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbu #10117Hi max7777,
I try the code with my WeMos D1 mini, and It’s work correctly.
You had follow the tutorial to enable less secure app or application passwd?Send email with attachments (EMailSender v2.x library): esp32 and esp8266 – 2
Bye Renzo
Hi mjorrens,
Yes, that device is fantastic, I’ve used also esp8266 and esp32, but MKR WiFi 1010 is very powerful.You can refer this article
Send email with attachments: Arduino SAMD boards (WiFiNINA) – 3But Arduini UNO work with sendgrid if you need.
Bye Renzo
Hi majorrens,
GMail and other services that need TSL can’t work with Arduino UNO or Mega, you must use not encrypted service like sendgrid, refer to the articleSend email with attachments (v2.x library): Arduino Ethernet – 1
Bye Renzo
Hi Ludopot,
finally i receive the response about compatibility.Hi Renzo,
Sorry for the late reply because we just get back to work.
For your questions:
I need information, do the transmitters “E90-DTU (400SL22P)” and “E22-400T22D” communicate with each other? Can I use these devices to send and receive data?
Answer is Yes. E90-DTU (400SL22P) can tranceive data with E22-400T22D.Is There a table of compatibility devices?
For your reference:
1.E90-DTU+ L+xxx use E32 modules inside. so E90-DTU+L can work E32-T modules if their frequency is same(433/915).
2.E90-DTU+ SL+xxx use E22 modules inside. so E90-DTU+SL can work E22-T modules if their frequency is same(433/915).Best Regards,
Hehehehehe.. I’m sorry for you, but It’s better for me.
Bye Renzo15 February 2021 at 16:56 in reply to: The sending of the E-Mails with WifiManager and gmail smtp server not working #10030Perfect Tans,
I’m glad you found the problem.
Bye Renzo15 February 2021 at 14:41 in reply to: The sending of the E-Mails with WifiManager and gmail smtp server not working #10019Hi Tans,
you code not use WiFiManager, to use It you must do something like this/* * EMailSender library for Arduino, esp8266 and esp32 * Simple esp8266 Gmail with Email From name send example * * http://mischianti.org/category/my-libraries/emailsender-send-email-with-attachments/ * */ #include "Arduino.h" #include
#include #include // https://github.com/tzapu/WiFiManager const char *smtp_server = "smtp.gmail.com"; uint16_t smtp_port = 465; const char *email_login = "@gmail.com"; const char *email_password = ""; const char *email_from = "@gmail.com"; const char *email_to = "@gmail.com"; const char *email_subject = "Device {{DEVICE_AP}}/{{DEVICE_LOCATION}} alerts water alarm!"; WiFiManager wifiManager; EMailSender emailSend(email_login, email_password, email_from, smtp_server, smtp_port); void configModeCallback (WiFiManager *myWiFiManager) { Serial.println("Entered config mode"); Serial.println(WiFi.softAPIP()); //if you used auto generated SSID, print it Serial.println(myWiFiManager->getConfigPortalSSID()); } void setup() { Serial.begin(115200); //WiFiManager //Local intialization. Once its business is done, there is no need to keep it around WiFiManager wifiManager; //reset settings - for testing // wifiManager.resetSettings(); //set callback that gets called when connecting to previous WiFi fails, and enters Access Point mode wifiManager.setAPCallback(configModeCallback); //fetches ssid and pass and tries to connect //if it does not connect it starts an access point with the specified name //here "AutoConnectAP" //and goes into a blocking loop awaiting configuration if(!wifiManager.autoConnect("esp8266 mischiantis test")) { Serial.println("failed to connect and hit timeout"); //reset and try again, or maybe put it to deep sleep ESP.reset(); delay(1000); } //if you get here you have connected to the WiFi Serial.println(F("WIFIManager connected!")); Serial.print(F("IP --> ")); Serial.println(WiFi.localIP()); Serial.print(F("GW --> ")); Serial.println(WiFi.gatewayIP()); Serial.print(F("SM --> ")); Serial.println(WiFi.subnetMask()); Serial.print(F("DNS 1 --> ")); Serial.println(WiFi.dnsIP(0)); Serial.print(F("DNS 2 --> ")); Serial.println(WiFi.dnsIP(1)); EMailSender::EMailMessage message; message.subject = "Soggetto"; message.message = "Ciao come stai
io bene.
www.mischianti.org"; EMailSender::Response resp = emailSend.send(email_to, message); Serial.println("Sending status: "); Serial.println(resp.status); Serial.println(resp.code); Serial.println(resp.desc); } void loop() { }For additional detail you can check this guide
How to manage dynamic WIFI configuration on esp8266 or esp32
Bye Renzo
Hi Ludopot,
they response meHi Dear Customer,
Thanks for contacting Ebyte for sales and technical support.
1.All employees of Ebyte are having holiday and will get back to work after 19th, Feb. 2021.
2.Ebyte accept orders during holiday time but shipping date will be after 19th.Feb.2021.
For technical support cases, you may send your questions with full model numbers, order ID numbers, store name and, if you have, screenshots of your settings to me by email.
I will try to reply you every 1-3 days because I will have limited access to email.
Sorry for the inconvenience.
———————————
Best Regards,
Sales Engineer:Robin Hu
Email: sales06@ebyte.com
Phone: +86-18584911141
Skype: Ebyte Robin Hu
Website: http://www.ebyte.com/en/
Chengdu Ebyte Electronic Technology Co., Ltd.
Address:Building B5, Mould Industrial Park, 199# Xiqu Ave, West High-tech Zone, Chengdu, 611731I rewrite the email with the orders information, but we must wait after the Chinese New Year.
Keep in touch, Bye Renzo
Hi ludopot,
for the compatibility I write to EByte, when i receive a response i write here.But you can do all with a microcontroller some e22 and a max3485 ic.
To implement rs485 communication refer to this article
How to interface Arduino, esp8266 or esp32 to RS-485.
Pratically microcontroller retrieve information with max485 ic and send these with e22 device.
Bye Renzo
Don’t worry Turnoff,
for every doubt or qwestion write a topic without problems.
Bye RenzoHi Pim,
Wich platform do you use??
Bye RenzoHi Turnoff,
you can understand the syntax when you check the structure of the PCF8574 class:class PCF8574 { [...] struct DigitalInput { uint8_t p0; uint8_t p1; uint8_t p2; uint8_t p3; uint8_t p4; uint8_t p5; uint8_t p6; uint8_t p7; } digitalInput; [...] }
there is a structure DigitalInput declared inside the PCF8574 class declaration, so to reference the Object inside It you must use
::
notation.PCF8574::DigitalInput
I hope I was clear.
Bye Renzo
10 February 2021 at 21:51 in reply to: ‘class PCF8574’ has no member named ‘analogWrite’ problem #9809Hi Pedja,
You can use a pcf8591 that have 4 analog input and one analog output (256 position).PCF8591 i2c Analog I/O Expander
You can connect the IC to the same i2c pin with a different address.
I think it’s sufficient to do the work.
Bye Renzo
-
AuthorPosts