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.
Questions tagged [esp8266]
2015 questions
23
votes
5 answers
How to read and write EEPROM in ESP8266
I need to know how I can write integer values in EEPROM and retain the value on power on.
char *Red = strstr(myTestUrl, "/R");
if (Red) {
int RedValue = atoi(Red + 2);
analogWrite(12, RedValue);
Serial.println("Red :");
…
MICRO
- 500
- 1
- 8
- 20
22
votes
4 answers
Can ESP8266 replace Arduino?
I’m a hobbyist and have used Arduino so far for simple projects. Now I want to build a project involving addressable LEDs, I want to write several programs on the Arduino for the LEDs and on my phone I select which ones to run.
I found ESP8266 as a…
ahmadx87
- 549
- 2
- 9
- 16
18
votes
2 answers
Difference between these two NodeMCU boards?
I recently received a NodeMCU (identical to the one shown in the first picture below) and originally, I was unable to connect it to my computer which eventually turned out to be driver issues; however, during my initial panic, I found that there…
Tom
- 339
- 2
- 4
- 10
15
votes
5 answers
How to change baudrate of ESP8266 (12e) permanently?
IMPORTANT: DO NOT USE AT+IPR=9600! (see update)
I have an ESP8266 12E module that communicates at 115,200 bauds. Since I use it with an Arduino Nano with SoftwareSerial things get messy. So I found that I should reduce the baud rate of the ESP…
mvermand
- 427
- 1
- 6
- 15
15
votes
4 answers
ESP8266, Arduino IDE vs Lua?
I'm planning to buy an ESP8266. Do I really need to learn Lua to play with it? I have seen some people using it with the standard Arduino IDE.
Do you need a custom firmware to use the Arduino IDE instead of Lua?
The Arduino IDE seems better for me…
n0tis
- 375
- 2
- 3
- 9
14
votes
5 answers
NodeMCU - use flash button as input in loop()
I couldn't find a proper answer on the net so I came here as a last resort.
So I want to use the FLASH button as an input in the loop() method.
Is there a way the check if it's pressed or not?
sOnt
- 145
- 1
- 1
- 8
12
votes
2 answers
On an esp8266 what is faster, 64-bit math or float math?
I need to do some math with vars from an attitude sensor (acclerometers and gyroscopes) on an esp8266. int32_t math with those vars does not have enough range and the float math operations are abyssmally slow.
I'm hoping to use a fixed-point format…
mark-hahn
- 297
- 2
- 6
12
votes
1 answer
Does the ESP8266 somehow remember wifi access data?
Today I did some tinkering with an ESP8266, trying out OTA and writing a webserver. To find an error, I reduced the sketch to just the following lines:
#include
ESP8266WebServer server(80);
void setup() {
…
Geier
- 233
- 2
- 6
12
votes
6 answers
Send AT commands to ESP8266 from Arduino Uno via a SoftwareSerial port
GOAL
From Arduino UNO, send AT commands to ESP8266 via a SoftwareSerial port and receive results.
CURRENT STATUS
I either send AT commands and get nothing back (wiring scheme 1) or I send AT commands and get garbage back (wiring scheme 2).
Using the…
Paul
- 223
- 1
- 2
- 8
10
votes
5 answers
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 it didn't work. So how to get done with Arduino…
vzxc
- 101
- 1
- 1
- 4
10
votes
1 answer
Both red and blue led of ESP8266 stays on
I've connected ESP8266 to Arduino UNO. After a getting a huge trouble I successfully managed to run some AT commands. I have also tested AP mode.
Then I got some trouble with software serial communication with Arduino and decided to change baud-rate…
palash
- 137
- 1
- 2
- 7
9
votes
5 answers
Same structure taking different memory space on Uno and NodeMCU ESP8266, leading to data corruption when transferring via nRF24L01+
I'm trying to transfer data between a Arduino Uno board to a NodeMCU ESP8266 board, using nRF24L01+ transceivers module and RF24 library on both side. The data I'm transferring are stored in a struct defined this way:
// Struct declared in both…
Vincent
- 232
- 2
- 10
9
votes
2 answers
What is difference between NodeMCU and esp8266?
Since I have no previous experience in electronics I'm getting quite confused while coming across these two terms ..I'd like to know whether they're the same or different.
User 1426833
- 93
- 1
- 1
- 5
9
votes
3 answers
How to turn off or stop Access Point network in ESP8266?
I've created a code for ESP8266 12E with Arduino IDE, in which it'll operate as "Station Mode" or "Access Point Mode" on Wifi, depending on the situation. Everything works fine except when device was configured as Access Point, even when I turn off…
wBB
- 293
- 1
- 2
- 8
9
votes
1 answer
Resistor pull-ups for ESP8266
I'm using 4.7kOhm resistor as pullups for GPIOs 2,0,2,16, CH_PD and RESET, and also 4.7kOhm pulldown for GPIO 15. The ESP8266 boots and works fine. Would it be okay for a long shot? Should I use 10kOhm instead of 4.7kOhm?
JFetz2191
- 155
- 1
- 2
- 7