Questions tagged [esp8266]

An IC that offers Wi-Fi networking compatible with b/g/n standards. It also has integrated TCP/IP protocol stack. Extremely popular along IoT community as a low cost and powerful board.

Filter by
Sorted by
Tagged with
0
votes
1answer
5k views

Cast from uint8_t* to char - loses precision

I am trying to decode a received (via websocket) message (JSON) on my ESP8266. The websocket library provides the data as uint8_t. The JSON library only understands char arrays. As far as I know ...
-1
votes
1answer
942 views

Arduino Uno Wifi Module ESP8266 AT Command Test error [closed]

When i Connected Rx>Rx (Rx Of module To Pin 0 Of Arduino) And Tx>Tx ( Tx Of Module To Pin 1 Of Arduino), The AT Command Test shows The Following error With Scrambled Words, but when I Connect Rx>Tx (...
0
votes
2answers
4k views

ESP8266 Upload hex file Arduino IDE

I am using ESP12E Wifi module, using library based on Arduino. Is there any way I can upload hex file of the project to esp8266 using Arduino or any tool? I need to send hex file instead of code to my ...
1
vote
3answers
5k views

Arduino resets my MacBook Pro

Every time I connect the Arduino Uno to the Mac through USB port, the Mac restarts. Why is this happening? How can Arduino make such a sophisticated machine reset? This also happens with my ESP12E ...
0
votes
2answers
18k views

connecting ESP8266 to mega 2056

im trying to connect wifi module to my MEGA 2560 board. i set up the board as the picture bellow and my program is as follows #include <SoftwareSerial.h> #define DEBUG true SoftwareSerial ...
0
votes
1answer
3k views

Arduino retrieving PHP echo using ESP8266

I want to retrieve the echo string. Here is my php code <?php echo "<hello word!>"; ?> I am using ESP8266 and Arduino Uno. I have managed to send the request but it's not returning ...
0
votes
1answer
247 views

Unable to connect esp8266 12 module with arduino uno

Here is what I am doing Arduino(UNO)--------Esp8266 3.3 v -- vcc TX -- RX RX -- TX 3.3 v -- EN(ch_pd) GND -- GND there is no blinking of LED on Esp8266, sometimes the LED is on and ...
1
vote
2answers
10k views

How to use a rotary encoder on NodeMCU with Arduino code?

I have a standard 5 ping rotary encoder (3 pins for encoder, 2 pins for button). I'm trying to get a working code that manages to read the rotary encoder. I began with the code I found here: http://...
6
votes
4answers
43k views

How to I make the Tx and Rx pins on an ESP-8266-01 into GPIO pins?

When programming an ESP-01 with Arduino IDE, how can I make the Tx and Rx into a generic I/O pins reliably? I think there's a command to swap the Tx and Tx with other pins. I tried serial.swap() but ...
2
votes
3answers
13k views

How to change the default name of ESP8266-12E module

Is there any way to change the default name (ESP_xxxxx) that the module generates?
0
votes
1answer
1k views

Can't get ESP8266 working

I have received an ESP8266 (ESP-07) Wi-Fi module from DealExtreme (Link: http://bit.ly/2dFJdxE). It is a 4-pin module with the following pins: RX, TX, VCC and GND. The module has a switch so you can ...
0
votes
1answer
3k views

Using Arduino GSM with WiFi

I have a project that requires data to be sent online from a moving bus. I am using ESP8266F modules to send the data. I am wondering what Arduino modules to buy that will act as an access point ...
1
vote
2answers
437 views

Setting up Huzzah ESP8266

I am trying to set up a Huzzah ESP8266 and can not get it to work. I have scoured the internet for help and to no avail. I have the board loaded with a baud rate of 115200 and am transmitting at 80 ...
4
votes
2answers
6k views

ESP8266 12e Arduino IDE outputs garbage values on serial monitor

I recently started using the ESP8266 12E (Amazon link) and hooked the board up to the Arduino IDE. When trying to run any of the example sketches, all sketches compile and upload correctly. The blink ...
2
votes
2answers
4k views

How to Factory reset ESP8266? [closed]

I want to use ESP8266 to send emails. I tried twice flashing the Firmware to a particular firmware as suggested in a tutorial. Now both my ESP are unresponsive to AT commands. Let me know the way to ...
1
vote
0answers
101 views

Esp8266 not working

I connected all the pins as in datasheet, except ch_pd. But when I connect ch_pd to 3.3 V , the red light on esp8266 goes dim. I used 3.3 V, 250 mA power supply. What is the reason for this?
0
votes
3answers
2k views

NodeMCU ESP8266 on Arduino IDE doesn't detect Wifi

I am using a NodeMCU 1.0 v3 and I am trying the example sketch (wifiscan) but it just doesn't pick up any AP in the house. My phone and laptops etc are able to pick up the APs though. Other sketches ...
2
votes
3answers
719 views

Arduino Mega 2560 + ESP8266 Problem with GET Request

I have an ESP8266 module connected to my Arduino Mega 2560. My goal is to send a GET request as below to the network: api.pushingbox.com/pushingbox?devid=vEB39F555B1B8295?tempData=cabbages If that ...
1
vote
1answer
1k views

SD card shield not working on 3.3v

My SD shield works nicely on 5v supply, but does not detect SD card on 3.3v. Could someone explain the possible reason behind this? Could you also provide a solution for this? I've worked with it on ...
0
votes
2answers
193 views

ESP8266 GET REPLY ERROR 501

I am trying to build a home automation system and i am unable to get data from a website using the arduino sketch, however i am able to get data from the website when i enter the AT commands into the ...
-2
votes
2answers
244 views

Errors in code, LM35 temperature logging to web server

trying to experiment with Wemos D1 and LM35. Need to have temperature reading on the ESP IP. Found the following project to be exactly matching my requirements but I am having certain errors in it. ...
1
vote
2answers
5k views

WiFiClient.connect() does fail all the time (ESP8266 Core for Arduino)

I have one ESP(1) opening an AP and running a server on it. The other ESP(2) is running a client on it and is connecting to the AP and after that trying to connect to the host server. The connection ...
-2
votes
2answers
1k views

ESP01 PROBLEM: ip not showing up

Here is my progress on the ESP-01 ESP8266 module. I can't seem to go further, because the system doesn't have an IP and I tried all methods but still failed. ððAT OK AT+CWMODE=1 OK AT+CWMODE? +...
0
votes
1answer
529 views

ESP8266 - How to know if incoming connection is from AP or station network?

I have an ESP8266 module connected with my Arduino configured as a server, with both AP and station modes (AT+CWMODE=3) activated, and I want to know if an incoming connection comes from the AP's ...
1
vote
1answer
2k views

Communicate with ESP8266 RX/TX

I just managed to get a unofficial Arduino WiFi shield to work. But the ESP is flashed on its own now - providing only information to the USB->TTL converter and therefore the output goes straight to ...
0
votes
1answer
326 views

using an ESP8266 shield on my Arduino Uno R3 with an unofficial library

I'm using the following Makefile: https://github.com/sudar/Arduino-Makefile It works very well and I was able to get my LED to blink. Now I bought a WiFi Shield which is NOT supported officially by ...
0
votes
1answer
5k views

Converting uint8_t to String - unexpected result

I'm working on a remote control code for ESP controller. Using ESPwebserver and Fastled. When I try to return a value of an uint8_t, as a POST response, i got strange result here is the relevant code: ...
2
votes
2answers
130 views

What are the logical errors in this piece of code?

The client always reply with "ThisCodeTurnsTheUnoOnn" or ThisCodeTurnsTheUnoOff" based on some conditions. This piece of code is inside arduino uno's void loop(). Expected behavior: The arduino ...
1
vote
0answers
826 views

Exception 29 ESP12E Arduino

I am getting exception 29 every time I make request to HTTP using GET function. I am requesting HTTP every 20-30ms but using millis I am only reading request at 100ms in order to avoid any overflow or ...
0
votes
2answers
5k views

Cannot ping ESP8266's IP address from a computer on the same network

I have an ESP8266 module connected to my Arduino Mega 2560. I sketched a simple code to pass whatever command I typed from the Serial Monitor to ESP8266 and vice versa: void setup() { Serial.begin(...
2
votes
2answers
613 views

analogRead DC Motor - Negative value

I was trying to play with Arduino this weekend and connected a DC motor to A0 and GND to measure the voltage it provides when I rotate it. However, when I rotate the DC motor with my fingers to test ...
2
votes
2answers
1k views

Powering ESP8266 from Leonardo's 3.3v pin

I'm new to Arduino, and I'm trying to connect my Leonardo via WiFi using a ESP8266 module. What I want to know is if I can power it directly from the onboard 3.3V pin like in the image: Or do I need ...
1
vote
1answer
2k views

Wifi networking with ESP8266 (NODEMCU version)

I am doing some experiments with nodemcu 12 (which has built in esp8266). There most of the tutorials I found by internet describe how to connect to home wifi connection using it. But when I power ...
2
votes
3answers
877 views

Should I buy a retired Arduino?

I am a beginner who would like to buy an Arduino Yún (58 dollars). It is retired so will I have any problem? Else I can buy an Arduino Uno and an Arduino Yún Shield. But in this case I don't ...
0
votes
1answer
4k views

Best way to assign value to lot of variables

I'm building web based remote control system for esp8266. In arduino IDE, using the ESP libraries. To, send data to the server, I'm using http post. For some settings, I need to transfer 30 or so, ...
6
votes
2answers
956 views

Is it possible to program an ESP8266 12F using an Arduino Nano?

I just got my ESP8266, but I am unable to program it. Since it can't be connected to via USB, I was wondering if I can program it using an Arduino or perhaps use it as a shield for an Arduino Nano. I ...
-1
votes
1answer
1k views

Wiring ESP-05 to Uno

I'm a beginner with Arduino, so I'm asking how to connect ESP-05 module to Arduino Uno, before I buy it. Thank you.
0
votes
1answer
57 views

How does Arduino decide when to go into flashing mode and normal mode?

Just this general question.As the titles says. How does Arduino decide when to go into flashing mode and normal mode? Is it by connecting certain pins to ground,so it's a hardware check or does it ...
0
votes
1answer
526 views

Posting data with ESP8266 module? [duplicate]

I have an ESP8266 module attached to an Arduino Uno that is connected to my local network. On the network, at address 192.168.1.13, I have a nodejs/express server running on port 3000. How would I go ...
-1
votes
1answer
164 views

ESP8266 Showing junk data while running local WiFi connect

I have connected my ESP8266 through FTDI USB cable and when I try to run the sketch for connecting local WIFI network it displays: ESP8266 is getting external power. RX - TX or connected to TX ...
0
votes
1answer
1k views

User-Agent question

I've seen a few different User-Agents used in demo sketches and am curious as to what the various User-Agent options are and how to determine which one to use. For example... User-Agent: Mozilla/...
0
votes
2answers
845 views

EPS8266 ESP-01 Blue led stays lit unless 3.3v logic divider is bypassed, works when reconnected

I am having a very weird and frustrating issue with this ESP01. I am creating a shield on protoboard, and everything checks out as far as I can tell. I am using a 3.3v voltage divider (1k and 2.2k) ...
1
vote
1answer
3k views

NodeMCU : Input pullup in A0 [closed]

I am trying to port a simple project I have working in an Arduino UNO to a NodeMCU but I am stuck as I am using the analog gpio to receive the input from some buttons, I am always getting always low ...
0
votes
2answers
10k views

Esp8266 firmware update with uno “chip sync error”

I have an ESP8266-01. I followed the instructions on this http://yaab-arduino.blogspot.com/2015/12/flashing-esp8266-firmware-arduino.html?m=1 exactly. When I start the firmware update the TX and RX ...
0
votes
1answer
785 views

pH ORP sensor esp12 esp82666

I need to know if there is a sensor that mesure pH and ORP, I have already googled about this type of sensor but i found only AtlasScientific that commercialise this kind of sensor thanks
0
votes
1answer
2k views

ESP8266 does not respond after changing baud rate to 9600

I have ESP8266 WiFi module and Arduino Mega Board connected. I use external 5 to 3.3 V regulator to power up the module. Common (-ve) line on the external power source and Arduino Mega GND is ...
1
vote
1answer
2k views

Parse HTTP Request Arduino

I am sending a HTTP Request to my WiFi module http://192.168.4.1/STA/ID=HelloWorld/Pass=Testin123 How can I parse above string in Arduino. First I need to check for STA, if it exists, continue to ...
0
votes
1answer
717 views

ESP8266 stuck in flash mode?

I have the setup described here: https://learn.adafruit.com/esp8266-temperature-slash-humidity-webserver/wiring I currently have the reset pin set to float and the GPIO0 pin grounded, which should ...
-1
votes
2answers
1k views

Sending a text/notification with Arduino + ESP8266 Wifi shield [closed]

Is it possible to send a text message using an Arduino and the Sparkfun ESP8266 Wifi Shield using Temboo? I noticed that the ESP8266 might not be supported by Temboo and I was wondering if there is a ...
0
votes
1answer
3k views

Size of String array

I am trying to find out the size of an array like this: String days[3] = { "Mon", "Tue", "Wed" }; Serial.printf("Size of array: %2d\n", sizeof(days)); for (int i = 0; i < sizeof(days); i++) { ...