Let's Be Online With Arduino! /Esp-8266

by ensarlevent in Circuits > Arduino

1666 Views, 8 Favorites, 0 Comments

Let's Be Online With Arduino! /Esp-8266

Ekran Resmi 2017-05-26 21.18.27.png

Hi Dear Friends!

Today we will learn everything about 'Being Online'.

First of all we can connect to Internet with Arduino.

There are many ways of connect to Internet. We will discuss them.

Especially we will learn using of ESP8266.

We can control the Arduino with an application or just a ''ip address''.

Okey, Let's Start!

Many Ways of Getting Online

1441265691624.jpg
A000133-Arduino-Uno-wifi-1front.jpg
ArduinoWifiShield.jpg
F9RJB5KI0RYRV30.MEDIUM.jpg
Unknown.jpg

You can see in the photos of getting online with Arduino.

For example;

  • Uno - Mega Wi-Fi Shield
  • Arduino Uno Wi-Fi
  • GPRS Module
  • Most common module is ESP8266.

Now we are going to update our ESP-8266.

How Does It Work? Some Problems!

F9RJB5KI0RYRV30.MEDIUM.jpg
ESP8266-Seri-WiFi-Kablosuz-ESP-01-Adaptörü-Modülü-3-3-V-5-V-Uyumlu-Seri-Arduino.jpg_640x640.jpg

You can get easily ESP-8266. It is very cheap and useful.

But if you buy only Esp-8266 board, you will have a problem.

We saw it problem on 'nrf24l01'.

Sometimes it does not work.

You can connect a 10uf between (+) and (-).

Or you can use an adapter Buy Adapter.

You should buy the adapter.

Update Your ESP-8266

Ekran Resmi 2017-05-27 12.06.08.png
Ekran Resmi 2017-05-27 12.16.33.png
Ekran Resmi 2017-05-27 12.17.36.png
Ekran Resmi 2017-05-27 12.17.45.png
Ekran Resmi 2017-05-27 12.17.52.png
  1. First of all upload the blink code to your Arduino. For clean the chip.
  2. Connect Esp-8266 to true pins
  3. Download the '' Esp-8266 Updater'' update program. (Click the Blue Part)
  4. Unzip the files.
  5. Open the ESP8266Flasher.exe.
  6. You will see a black screen like 3.Photo. Do not Touch anything.
  7. Open the second tab from top bar.
  8. You will see green strips.
  9. Add the true files in order.
  10. Change the numbers(exp. 0x7C000) These will be different.
  11. And Open the first tab again from top bar.
  12. After that click the button (like 5.photo)
  13. Updating will start and you will see a blue progress strip. Also you will see a blue circle bottom left.
  14. If the update ends, you can see green tick.
  15. That's all. You can take out the Arduino.

Connect to a Network Now!

Ekran Resmi 2017-05-27 12.34.00.png
Ekran Resmi 2017-05-27 12.33.38.png
Ekran Resmi 2017-05-27 12.33.47.png
Ekran Resmi 2017-05-27 12.33.53.png

You can see the datas in many ways.

One of these ways is the ThingSpeak.

  1. Signup an account on ThingSpeak.
  2. Create a channel.
  3. Write Name, Description and Field 1.
  4. You can change the options after creating.
  5. And click the 'Save Channel'
  6. You will see a screen.(like 4.Photo)
  7. Now get the code from Next Step

Coding;

Ekran Resmi 2017-05-27 12.34.00.png

Get The Arduino code ''Arduino Code'' .(Click the Blue Part)

Final Result! Congratulations!!

Ekran Resmi 2017-05-27 13.07.13.png

You can get datas from all around the world.

You are now online!

Congratulations..:)

If you like it; Please follow me on Instructables and Subscribe My YouTube Channel!

For More Useful Instructable!


You Should See My Other Useful Instructables!

If you have a problem, you can add a comment..:)

See You Friends.:)

Thanks..:)