I want to make an Html request from my Arduino, I have an ESP8266 wifi module, but i can't make it work, the question is:
How can i make an Html request if the Arduino gets data from the sensor without the ESP8266 or any wifi module?
One way is to add a WiFi shield like this ESP8266-01 Wifi Shield
Then program the ESP to make the HTML request, extract the data and send it to the Arduino over the serial connection.
NOTE: you will need to code your ESP8266 differently from the project above which runs it as a server.
The example sketch BasicHttpClient that comes with the ESP8266 board as an example should get you started.
This project covers sending data via serial between Arduinos
Arduino to Arduino via Serial
But the usual advice is to just do every thing with your ESP is you have the pins available.
@furyvok, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is meant for problems with the IDE and connectivity to the Arduino, not for problems with your project See About the Installation & Troubleshooting category.
I have an Arduino Uno, and an ESP8622-01 I need something else to send an http request, or what should i look up at the internet, so i can make it work?
Start with just getting the ESP8266 to work.
i.e. program the example sketch BasicHttpClient that comes with the ESP8266 board installation
You will need to use the the UNO or a TTL-USB cable to program the ESP8266 AND you will need 3v3 volt power supply to run it AND you will need to Ground GPIO0 for programming. see ESP8266-01 Wifi Shield
Then after programming the ESP8266, you should see the output saying it is connected, via what ever you used to program it. Once you get that far you can move on the getting a http request to run.
I haven't heard of those. From where did you get the ESP8622?
If you have an ESP8266, why would you want to use a UNO with it?
To program the ESP-01, you use a purpose-built USB programming adapter which works perfectly with the Arduino IDE:
Aliexpress item
At least, that is the manual switching version; here is the automatic version which while it does have the reset button, initiates the programming directly from the Arduino IDE:
Aliexpress item
Similarly, to actually use the ESP-01 in a project, a very convenient way is with the cheaper adapter board, plugged into a USB "phone charger" so you have both the 5 V and 3.3 V conveniently and adequately supplied.
Aliexpress item
You have three GPIO conveniently available by soldering to the adapter, and the fourth - serial Rx - can be separated from the USB chip if necessary by cutting a track. Using those I/O you can connect port expanders for many more I/O connections and a variety of sensors.
So what do you want to actually do with this arrangement?
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.