Hello everyone,
I am a beginner on the subject and I am making a project with Arduino UNO WiFi (https://store.arduino.cc/arduino-uno-wifi) which consists of alerting the user by e-mail if certain thresholds of gas (detected with appropriate sensors) were exceeded.
I set the Arduino UNO WiFi through the following guide:
I'm having problems in the code related to the connection to the internet with the consequent creation and sending of the e-mail. After several searches on the internet, I did not find anything that referred to the Arduino UNO WiFi but only codes related to Arduino UNO + shield Ethernet / WiFi.
I tried to follow the guide found on this forum at the following address:
trying to adapt the instructions of the Ethernet library with those of the WiFi library without success.
The arduino UNO WiFi can be treated as an arduino UNO + shield wifi or needs specific libraries? Is the WiFi.h library sufficient?
If someone can give me a hand I would be really grateful.
Thank you.
So it is obligatory to change firmware or it'possible to use <UnoWiFiDevEd.h> to permit Arduino to connect and send emai?
in the case in which we must install a new firmware, we have to install Expressif AT firmware or Wifi link firmware?
For the connection of Arduino we tried to use <UnoWiFiDevEd.h> ,but we have in output on the serial monitor value=0 therefor false,where is the error?
The library that you linked to me can only be used by changing the Arduino UNO wifi firmware, right? What does the firmware change mean from an electronic point of view (using pins, etc.)?
I read this on the link you sent me: "UNO WiFi Developer Edition connects ATmega328 to ESP8266 using additional on board UART chip SC16IS750. This additional UART is connected to ATmega as I2C device." Being ignorant on the subject, what does it mean? Is the SC16IS750 chip already on the Arduino UNO Wifi?
Thank you very much :), later I change the firmware and then I will try to sketch the code for the connection of the Arduino to the internet with the relative sending of e-mail.
If I had problems with the code, could you still give me a hand?
OK, thank you. After performing the next step: "In the tools menu select board options and choose your board / shield / module or Generic ESP8266 from the ESP8266 section of the board menu.", I encounter the following error during verification:
In file included from C: \ Users \ Apollonia \ Documents \ Arduino \ ArduinoFirmwareEsp \ ArduinoFirmwareEsp.ino: 6: 0:
sketch \ Configuration.h: 26: 25: fatal error: ArduinoJson.h: No such file or directory
#include <ArduinoJson.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino.
I installed the ArduinoJson library, the file is compiled and I display the following lines:
Archiving built core (caching) in: C:\Users\APOLLO~1\AppData\Local\Temp\arduino_cache_484843\core\core_esp8266_esp8266_arduino-esp8266_BoardModel_unowifideved,UploadSpeed_115200,FlashSize_4M1M_871cf574c062a3909371a8db80bd9ca3.a
Sketch uses 345579 bytes (33%) of program storage space. Maximum is 1044464 bytes.
Global variables use 43320 bytes (52%) of dynamic memory, leaving 38600 bytes for local variables. Maximum is 81920 bytes.
Is it correct?
However, I forgot to perform the following step: "install the Arduino ESP8266 filesystem uploader IDE plugin". Is it necessary to do it? Because I read that the procedure was tested for the version of the Arduino IDE 1.6.5-r2, 1.6.6 and at the moment I use version 1.8.5.
I'm having problems with the file system upload guide.
I followed everything step by step, but when I click on "ESP8266 Sketch Data Upload" a window will pop up saying: "No files have been found in your data folder! Are you sure you want to create an empty SPIFFS image?"
In the previous steps it does not tell me to load something in the data folder, it says: "Create a directory named data and any files you want in the file system there."
What do you advise me to do?
Thank you very much
Ps. I do not think it can be a problem of incompatibility with the version of the IDE
do you have the firmware source code opened in the IDE when you start the SPIFFS upload? did you download the firmware from github as zip including the data subfolder?
our goal is to upload the data of WiFi Link firmware. there are the html, js and css files of the Web Panel. the SPIFFS upload tool uploads the data of the current project opened in IDE. so open the ArduinoFirmwareEsp sketch in IDE and then use "ESP8266 Sketch Data upload" from Tools menu
I currently have in the ide screen, eleven open sketches (I opened ArduinoFirmwareEsp.ino).
In the lower right corner of the Arduino ide, I visualize the board: "Arduino, Uno Wifi, 115200, 4M (1M SPIFFS) on COM3"
I modified the sketch config.h as you already told me yesterday and I compiled it (with no error).
Now, which sketch should I upload via the "ESP8266 sketch data upload" plugin?
If I load the sketch config.h that I have compiled, are the other 10 sketches on the screen loaded too?
And the Data folder I do not have to create because it already exists and contains the files you told me (html, js and css files of the Web Panel), right?
Excuse me if I'm so precise and if I'm asking trivial things, but I'm afraid of doing some irreversible damage. I hope you understand me.
Michele94:
I currently have in the ide screen, eleven open sketches (I opened ArduinoFirmwareEsp.ino).
In the lower right corner of the Arduino ide, I visualize the board: "Arduino, Uno Wifi, 115200, 4M (1M SPIFFS) on COM3"
I modified the sketch config.h as you already told me yesterday and I compiled it (with no error).
it is ok.
did you upload the EspProxy with define FLASHING sketch into Atmega?
If yes, you can hit Upload
Michele94:
Now, which sketch should I upload via the "ESP8266 sketch data upload" plugin?
After you uload the sketch you can upload data for it. Go to Tools menu and use the tool.
Michele94:
If I load the sketch config.h that I have compiled, are the other 10 sketches on the screen loaded too?
Arduino sketches can be build from multiple files. Those 10 tabs are the files of WiFi Link firmware.
Michele94:
And the Data folder I do not have to create because it already exists and contains the files you told me (html, js and css files of the Web Panel), right?
yes it is there
Michele94:
Excuse me if I'm so precise and if I'm asking trivial things, but I'm afraid of doing some irreversible damage. I hope you understand me.
Some months ago I could not help one forum member with bricked Uno WiFi. But since then I know the board so well that with software you can't do nothing wrong. The original recovery procedure from arduino.org will always work.