Panier d’achat

Aucun produit dans le panier.

Module WiFi ESP8266 ESP-01S

Le prix initial était : 60.00 د.م..Le prix actuel est : 50.00 د.م..


Module WIFI sans fil ESP8266 ESP-01, émetteur-récepteur récepteur Internet des objets, modèle carte Wifi pour Arduino et/ou Raspberry pi.

29 en stock

Quantité Discount (%) Prix
1 - 19 50.00 د.م.
20+ 20 % 40.00 د.م.
UGS : CM001 Catégories : , Étiquettes : , , ,

TUTORIAL: How to Program ESP8266 ESP-01 Module with Arduino UNO


We are going to see how to program ESP8266 ESP-01 module using an Arduino UNO with few very simple steps.


Note:

Download and install Blynk libraries to your Arduino IDE its very important before programming (Search on YouTube you can find easily).


Step 1:

Connections for programming

ESP8266:————– >Arduino:

GND ————————– GND

GPIO-2 ————————– Not connected (open)

GPIO-0 ————————– GND

RXD ————————– RX

TXD ————————– TX

CHPD ———————— 3.3V

RST ————————– Not connected (open) *(Read Below Instruction)

VCC ————————– 3.3V


Very Important Instruction:

Now before hitting upload, take GPIO-0 to ground.

And RST to ground afterwards, remove RST after half a second (the blue LED flashes for some millisecond).

Hit upload, the blue flashes once and then blinks till it gets uploaded.

Now you are all done.


Step 2:

After programming, remove the serial Arduino cable and plug it again and take out GPIO-0 from GND and just interchange the connection of RX and TX that is RX connect to TX and TX connect to RX.

Connections after programming

ESP8266:————– >Arduino:

GND ————————– GND

GPIO-2 ————————– Not connected (open)

GPIO-0 ————————– Not connected (open)

RXD ————————– TX

TXD ————————– RX

CHPD ———————— 3.3V

RST ————————– Not connected (open)

VCC ————————– 3.3V

That’s it, you are done!!!

Open serial monitor of Arduino IDE where you see the ESP is connected and ready.


CODE

Blynk Simple codeC/C++
Download and Install Blynk libraries to your Arduino Board its very important before programming (Search on
Youtube you can find easily). Plus d’information visite notre page Facebook.
/* 

* Code d'exemple pour un module WiFi ESP-01. 
* Réaliser par Micro-Electroniques Générales au Maroc 
* Visite notre site megma.ma 

*/

#define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>
#include <SoftwareSerial.h>
#define ESP8266_BAUD 9600

char auth[] = "6bae2d0e7bfa4b6096feeaffa2030e4f";
char ssid[] = "Enter wiFi Name"; //You can replace the wifi name to your wifi 

char pass[] = "Password";  //Type password of your wifi.

SoftwareSerial EspSerial(2, 3); // RX, TX
WidgetLCD lcd(V0);

ESP8266 wifi(&EspSerial);

void setup()
{

  Serial.begin(9600);
  EspSerial.begin(ESP8266_BAUD);
  Blynk.begin(auth, wifi, ssid, pass);
   lcd.clear();
 lcd.print(1, 1, "IoT");
}

void loop()
{
  Blynk.run();
}

Plus d’information visite notre page Facebook.


 

Avis

Il n’y a pas encore d’avis.

Soyez le premier à laisser votre avis sur “Module WiFi ESP8266 ESP-01S”

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Tous les résultats de recherche
×