Hello i try to use blink with esp8266 has a shield + arduino nano 328p
-
I change the firmware of my esp8266, i download from this tutorial:Connect to Blynk using ESP8266 as Arduino Uno wifi shield (Mac only)
-
I check the version using AT+GMR giving me this:
酶酶鈧济济济济济济济济济济济济济济济济济济济济济济济济济济济济济济济该该窤T version:0.22.0.0(Mar 20 2015 10:04:26)
SDK version:1.0.0
compile time:Mar 20 2015 11:00:32 -
Then i change the baud use your command code from yours ESP8266_Shield_SoftSer:
AT+UART_DEF=9600,8,1,0,0
and giving me a: OK -
i Upload ESP8266_Shield_SoftSer to my arduino nano and connect the esp8266 tx to rx (3), rx to tx(2) and works great when i opend the serial i see this:
[19] Blynk v0.3.1
[520] Connecting to FALI
[3575] IP: +CIFSR:STAIP,"192.168.1.5"
+CIFSR:STAMAC,"18:fe:34:a1:b4:39"
OK
[3602] Connected to WiFi
/**************************************************************
* Blynk is a platform with iOS and Android apps to control
* Arduino, Raspberry Pi and the likes over the Internet.
* You can easily build graphic interfaces for all your
* projects by simply dragging and dropping widgets.
*
*
* Blynk library is licensed under MIT license
* This example code is in public domain.
*
*
* This example shows how to use ESP8266 Shield via Software Serial
* (on Uno, Nano...) to connect your project to Blynk.
*
* Note: Ensure a stable serial connection to ESP8266!
* Firmware version 1.0.0 (AT v0.22) or later is needed.
* Set ESP baud rate to 9600. Connect to AT console and call:
* AT+UART_DEF=9600,8,1,0,0
* In general, Soft Serial is unstable.
* It is highly recommended to switch to Hard Serial.
*
* Change WiFi ssid, pass, and Blynk auth token to run :smile:
* Feel free to apply it to any other example. It's simple!
*
**************************************************************/
//#define BLYNK_DEBUG
define BLYNK_PRINT Serial // Comment this out to disable prints and save space
include
include
// Set ESP8266 Serial object
include
SoftwareSerial EspSerial(2, 3); // RX, TX
ESP8266 wifi(EspSerial);
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "af18xxxxxxxxxxxxxxxxxxxxxxxxxxx";
void setup()
{
// Set console baud rate
Serial.begin(9600);
delay(10);
// Set ESP8266 baud rate
// 9600 is recommended for Software Serial
EspSerial.begin(9600);
delay(10);
Blynk.begin(auth, wifi, "FALI", "xxxxxxx");
}
void loop()
{
Blynk.run();
}
-
When i try to send to use blink in my smartphone i send a command to turn on a led on any pin, didn鈥檛 work, i see esp8266 recivided the command because blue led is blink when i send, but i think arduino didn鈥檛 execute the command.
-
i use arduino mega with hardser but didnt works do the same also i change the baud to 115200, i reset my modem too.
-
i probe with enc28j60 i works great but with esp8266 not.
-
i Used A nexus 5 with android 6.0.0, arduino 1.6.5, your last library 0.3.3, softwareserial. a regulator for eps8266 power and some resistor to the logic level of esp8266
hope help me with this, because i want to used this app for doing some fun project