Questions tagged [arduino-esp8266]

This project brings support for ESP8266 chip to the Arduino environment. It lets you write sketches using familiar Arduino functions and libraries, and run them directly on ESP8266, no external microcontroller required.

This project brings support for ESP8266 chip to the Arduino environment. It lets you write sketches using familiar Arduino functions and libraries, and run them directly on ESP8266, no external microcontroller required. https://github.com/esp8266/Arduino

984 questions
5
votes
2 answers

ESP8266 12E NodeMCU 1.0 pin mapping for micro sd card?

I tried several pin conifguration to connect nodemcu and micro sd card. However, I had not any luck to successfully connect to sd card. I followed esp8266 forum and some other solution! I need your suggestions :)
Naim Rajiv
  • 3,324
  • 2
  • 17
  • 23
5
votes
4 answers

Get Mac address of client connected with esp8266

I turned my esp8266 as an access point, so that the mobile devices could connect to it. Want to get the macAddress of the devices connected to it. How could I get it?
ABI
  • 1,536
  • 18
  • 38
4
votes
8 answers

A fatal esptool.py error occurred: Cannot configure port. PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

I am using a windows OS and I tried running a .ino code in arduino IDE for ESP8266 and came across the following error while trying to upload the code to ESP8266. A fatal esptool.py error occurred: Cannot configure port, something went wrong.…
Krshnapriy
  • 41
  • 1
  • 1
  • 3
4
votes
2 answers

Making ESP32 WiFi/Bluetooth work together

I'm creating a App that involves Bluetooth and WiFi. I firstly connect the Phone to the Bluetooth and pass the WiFi ssid and password through it. Then after receiving the ssid and the password I attempt to connect it to the WiFi. I manage to store…
Nilton Schumacher F
  • 814
  • 3
  • 13
  • 43
4
votes
2 answers

Fastest way to check internet connection with ESP32 Arduino

Update: I know, the WIFI AP is still on & active in this case and the chip should not know about the change, but the question is still open. How should I check the connectivity? In my project, the internet connection is really important. After some…
gemboly
  • 63
  • 1
  • 6
4
votes
0 answers

Reasons why adding static to all the functions in a translation unit may increase the size of the resulting object file?

My intention is to limit the visibility of a number of symbols to the translation unit where they are defined. This commit is adding 688 bytes to the resulting firmware file. Any ideas why? The compiler involved is a GCC 4.8.2 The target device is…
Frank Meerkötter
  • 2,778
  • 2
  • 20
  • 26
4
votes
3 answers

Cannot set hostname for ESP8266

I am facing a problem, as setting host name for my ESP8266 is not working. Even though when I'm trying to connect through default host name "ESP_xxxx", it's not working. Actually when I upload my code with my mobile hotspot SSID and password then…
Karan Sharma
  • 53
  • 1
  • 5
4
votes
0 answers

Search in Char array

The Project I'm working on is a BURSTCOIN ticker, it gets its information from Poloniex using an ESP8266 the first problem I had was that I was using http.getstring and it was to big to go into the string and it kept restarting the device. I then…
Draknoid
  • 41
  • 1
4
votes
3 answers

ESP8266 takes long time to connect

I am using an ESP8266 for a project which requires the ESP to establish a connection to the Access Point , with as less delay as possible, but as of now it takes a minimum of 4-5 mins for establishing the connection which is too much delay. I have…
Pratik Kumar
  • 2,211
  • 1
  • 17
  • 41
4
votes
1 answer

Find other device on local network using the ESP8266

How would I find a device on the local network? I'm building an IoT device that needs to find another device connected to the same network. There will be two ESP8266 modules that need to communicate with each other on the local network, how would I…
Adam
  • 143
  • 3
  • 18
4
votes
2 answers

How to POST to a RESTful API on an ESP8266 using authentication?

I can enter this URL from a browser, and after entering my credentials this successfully calls my API http://172.16.0.40/rest/vars/set/1/12/666. I'm trying to do this from an an ESP8266 using HTTPClient. My credentials are username:password, and I…
WhiskerBiscuit
  • 4,795
  • 8
  • 62
  • 100
4
votes
1 answer

ESP8266 soft AP no internet access issue with android marshmallow

I have created a soft AP with ESP8266 to which I'm connecting through android 6.0 marshmallow mobile. After connecting I get a notification on mobile stating "Wifi has no internet access" if I ignore it and open a browser window to open my web…
4
votes
4 answers

How to clear static IP configuration and start DHCP

I'm using a sketch like this: WiFi.config(IP, Gate, Subnet); WiFi.begin (ssid, pass); //-- somewhere below I want to drop the static IP configuration and obtain IP with DHCP. WiFi.disconnect (); WiFi.begin (ssid, pass). //ssid and pass are the…
Alex Kirillov
  • 65
  • 1
  • 6
3
votes
0 answers

Clean way to real, always working, auto-reconnect

I hope to open a question that is useful for the users of this shield. Incipit: WiFi.setAutoReconnect(true); seems that not prevent 100% of disconnections. I've tested a lot of shields (ESP12F, ESP01) and in some case i noted that the auto-reconnect…
3
votes
2 answers

MacAddress for topic name - Arduino IDE MQTT

I want to use the mac address of my system as a topic name. I want something like : project/00:1B:44:11:3A:B7/temperature/status I tried in this way: #define TEMP_STATUS_TOPIC "project/" + WiFi.macAddress() + "temperature/status" #define…
Radix
  • 254
  • 1
  • 8
1
2
3
65 66