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.

1941 questions
21
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
  • 519
  • 1
  • 9
  • 16
20
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
  • 458
  • 1
  • 7
  • 20
15
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
  • 309
  • 1
  • 3
  • 10
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
13
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
  • 349
  • 1
  • 4
  • 15
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
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
  • 277
  • 6
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
  • 230
  • 2
  • 10
9
votes
1 answer

In ESP-12E NodeMCU, what's the pin number of A0?

In ESP-12E NodeMCU, all digital pins can be called with a number. Here is the list: static const uint8_t D0 = 16; static const uint8_t D1 = 5; static const uint8_t D2 = 4; static const uint8_t D3 = 0; static const uint8_t D4 = 2; static…
pfernandez
  • 101
  • 1
  • 1
  • 4
8
votes
1 answer

Arduino and ESP8266 Web server

First things first, if there was an ESP8266 StackExchange, I would post this there. I am setting up a web server that will programmaticly be controlled from an external Python script, and I am currently able to send this server data using this…
Butters
  • 393
  • 2
  • 10
8
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
  • 83
  • 1
  • 1
  • 5
1
2 3
99 100