A red light appears constantly on, and upon powering the device a blue light blinks but disappears. The UNO is connected to our laptop (which was plugged in during testing) via the Cerberus cord from Sparkfun. When we first connected the device, it did show up as an option in our WiFi networks, although we could not connect to it, but now we do not get that option. We are using the ESP8266 Simple “Hello World” sketch and using Arduino IDE version 1.8.2.
- Copyright (C) 2014 James Sleeman
- Permission is hereby granted, free of charge, to any person obtaining a
- copy of this software and associated documentation files (the “Software”),
- to deal in the Software without restriction, including without limitation
- the rights to use, copy, modify, merge, publish, distribute, sublicense,
- and/or sell copies of the Software, and to permit persons to whom the
- Software is furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
- @author James Sleeman, http://sparks.gogo.co.nz/
- @license MIT License
// These are the SSID and PASSWORD to connect to your Wifi Network
#define ESP8266_SSID “SSIDHERE”
#define ESP8266_PASS “PASSWORDHERE”
// See HelloWorld example for further comments.
Serial.begin(9600); // Reduce this if your Arduino has trouble talking so fast
Serial.println(“ESP8266 Demo Sketch”);
wifi.setupAsWifiStation(ESP8266_SSID, ESP8266_PASS, &Serial);
// A blank line just for debug formatting
// This example is just to show you how to grab the IP address of your
// device after it has connected, in case you want to do something with
// You can get it either as a 16 byte string, or as a long unsigned integer
char ipAddressString; // 16 bytes needed
unsigned long ipAddressLong; // only 4 bytes needed
// Either way, you get the address exactly the same.
// And then do what you like with it.
Serial.print("The string IP is: ");
Serial.print("The unsigned long IP is: ");
// You can convert from one to the other
Serial.print("The IP address “); Serial.print(ipAddressString);
Serial.print(” has integer value "); Serial.println(ipAddressLong);
ipAddressLong = 0x36F1256B;
Serial.print("The integer value “); Serial.print(ipAddressLong);
Serial.print(” has IP address "); Serial.println(ipAddressString);
Serial.println(“End of Demo”);
We have our code set up with our correct WiFi name and password, but excluded it for publishing this code. CHPD and RST are connected to 3.3V with a 1k resistor. As they say, check the wiring. So I am hoping that someone with more knowledge/experience will spot what I am missing. Thanks!