Go Down

Topic: ESP8266 (Read 63129 times) previous topic - next topic

Harikishore

Hey guys,
               I'm getting an error on this code for esp8266.
             
               Here is the code

               
Code: [Select]

#include "ESP8266WiFi.h"
// WiFi parameters
const char* ssid = "hari1234";
const char* password = "hari1234";
void setup(void)
{
// Start Serial
Serial.begin(115200);
// Connect to WiFi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
// Print the IP address
Serial.println(WiFi.localIP());
}
void loop() {
}


 
         I'm supposed to get "Wifi Connected" and "IP address" but i'm getting some garbage data.Here is the screenshot of my serial monitor.Please Help.








spetyo

Arduino uno esp8266 connect with blynk app

https://www.youtube.com/watch?v=_A8iyLPsGAw

mahesh2000

is there a low-cost BLE or Bluetooth SoC alternative to the ESP8266? I'm making a commercial device and I want to reduce form factor. My device is battery operated and I'd like to run it off CR2032 coin cell(s) for 4-5 years. Right now, my esp8266 device uses 3xAA batteries or one CR123a. Thanks!!

ieee488

is there a low-cost BLE or Bluetooth SoC alternative to the ESP8266? I'm making a commercial device and I want to reduce form factor. My device is battery operated and I'd like to run it off CR2032 coin cell(s) for 4-5 years. Right now, my esp8266 device uses 3xAA batteries or one CR123a. Thanks!!
ESP8266 is wifi.

Bluetooth is Bluetooth.

Do you understand the difference between the two?



Whandall

is there a low-cost BLE or Bluetooth SoC alternative to the ESP8266?
The ESP32 will support Bluetooth IIRC.
Ah, this is obviously some strange usage of the word 'safe' that I wasn't previously aware of. (D.Adams)

ieee488


The ESP32 will support Bluetooth IIRC.
Hopefully it will "reduce form factor". 



JoaoLopesF

Hi,

I just made an Arduino library for ESP8266:

- RemoteDebug, an Arduino library to remote debug over telnet connection.

Use Print commands like Serial and see it with telnet client.
First debug for Arduino with debug levels that I saw.

Please access: https://github.com/JoaoLopesF/RemoteDebug

Or access this video thats shows 3 nodes of ESP8266 been debugging at same time!
https://youtu.be/lOo-MAD8gPo

Suggestions, issues and contributions are welcome.

Regards

Joao Lopes

herbeysoft

please what is the best solution for esp8226 with Arduino error..
such as espcomm syn_failed

Harikishore

please what is the best solution for esp8226 with Arduino error..
such as espcomm syn_failed
Did you select esptool as programmer.

http://www.whatimade.today/esp8266-easiest-way-to-program-so-far/

tduggan63

I have tried to connect ESP8266 (version 12) module to Arduino Uno. I have wired it as follows:
Arduino --- ESP8266
RX        --- TX
TX        --- RX
3.3V     --- VCC ; CH_PD ; GPIO 2
GND     --- GND ;  GPIO15


When I type AT into serial monitor on Arduino IDE, I get no response.
I want to use this module as an Arduino Shield with the Arduino to connect to iOS App, but cannot simply get it to connect and respond to Arduino.

Looking for urgent replies,

Regards,

Tara

mistergreen

#115
Feb 17, 2017, 09:46 pm Last Edit: Feb 17, 2017, 09:47 pm by mistergreen
I have tried to connect ESP8266 (version 12) module to Arduino Uno. I have wired it as follows:
Arduino --- ESP8266
RX        --- TX
TX        --- RX
3.3V     --- VCC ; CH_PD ; GPIO 2
GND     --- GND ;  GPIO15


When I type AT into serial monitor on Arduino IDE, I get no response.
I want to use this module as an Arduino Shield with the Arduino to connect to iOS App, but cannot simply get it to connect and respond to Arduino.

Google the setup before running.

Looking for urgent replies,

Regards,

Tara
You might have killed your esp8266.
The Arduino UNO Serial is sending out 5V signals into your esp8266. YOU need a logic converter to convert the 5V to 3.3v signal.
 

westfw

Quote
When I type AT into serial monitor on Arduino IDE, I get no response.
What Serial speeds have you tried?   Apparently different vendors have shipped ESP8266 modules with different default speeds.  Try all the standard speeds between 9600 and 115200...
(Also, be careful of your line endings...)


HeySammy

Hey Guys,

need some help over here,

I am using ESP8266 01 (black edition) and Arduino mega 2560. Now, I just want to transfer data from arduino mega to thingspeak using esp8266 module.

Connection which I have found through internet I have implemented that in ARDUINO UNO board and it works completeley fine BUT, if that same connection I m doing in ARDUINO MEGA 2560 board then it is showing me the below errors:

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

Please help me out....Thank you in advance...

habanero

Ditto on connecting the ESP8266 to an Arduino properly. You need to both level-shift the signals AND provide a proper 3.3v power supply as the Arduino's 3.3v pin doesn't provide enough current to properly power the ESP8266. There are now daughterboards for the ESP8266 that do both. I've seen them on eBay for a buck or so. I built my own a while back. Nothing complicated but it has to be done for it to work.

Btw, I'm still communicating with my ESP8266 using standard Serial commands. Is there a decent, reliable library for it at this point, analogous to ones for Ethernet or WiFi shields? I basically wrote my own, in the form of functions to open and close a TCP connection, send an HTTP command, etc., but a standard library would be nice.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy