Datasheet
Table Of Contents
- Guide Contents
- Overview
- Pinouts
- Power Pins
- Logic pins
- Serial pins
- I2C & SPI pins
- GPIO pins
- Analog Pins
- Other control pins
- NC Pins
- Assembly
- Header Options!
- Soldering in Plain Headers
- Soldering on Female Header
- Power Management
- Battery + USB Power
- Power supplies
- Measuring Battery
- ENable pin
- Using NodeMCU Lua
- Open up serial console
- Hello world!
- Scanning & Connecting to WiFi
- WebClient example
- Using Arduino IDE
- Install the Arduino IDE 1.6.8 or greater
- Setup ESP8266 Support
- Blink Test
- Connecting via WiFi
- Downloads
- Datasheets & Files
- More info about the ESP8266
- Schematic
- Fabrication Print
- ESP8266 F.A.Q.
- When I connect stuff to some of the pins, the Huzzah stops working. Whats up with that?
- My Huzzah board keeps crashing and resetting, whats up with that?
- I can't seem to find the Serial port on my computer for the Feather HUZZAH?
- I still can't seem to find the Serial port on my computer for the Feather Huzzah!
- So, I’m getting a 'no such file' error compiling for ESP8266 on my Mac
- Whenever I start or reset the ESP8226 there's a bunch of "gibberish" on the Serial console
- I'm having difficulties uploading to the HUZZAH with the Arduino IDE
- I tried that, but I'm still having difficulties uploading with the Arduino IDE
- I'm stuck in bootloader mode and can't upload
- I can't get Lua to respond to my commands

The LED will now be blinking on and off.
Note that since its in a loop, its not possible to get it to stop via the interpreter. To stop it, click the Reset button again!
This code halts the processor during the tmr.delay, a smarter way to blink an LED is to use the timer capability to set off
the LED control (code from here)
Scanning & Connecting to WiFi
We'll continue with a quick demo of scanning for WiFi and connecting.
Once you're back at the Lua prompt, set the ESP8266 into WiFi Client mode with
Then you can run the scanner and have it print out the available AP's
or for more detail...
-- Pin definition
local pin = 3
local status = gpio.LOW
local duration = 1000 -- 1 second duration for timer
-- Initialising pin
gpio.mode(pin, gpio.OUTPUT)
gpio.write(pin, status)
-- Create an interval
tmr.alarm(0, duration, 1, function ()
if status == gpio.LOW then
status = gpio.HIGH
else
status = gpio.LOW
end
gpio.write(pin, status)
end)
wifi.setmode(wifi.STATION)
-- print ap list
function listap(t)
for k,v in pairs(t) do
print(k.." : "..v)
end
end
wifi.sta.getap(listap)
© Adafruit Industries https://learn.adafruit.com/adafruit-feather-huzzah-esp8266 Page 29 of 42










