EasyManua.ls Logo

Adafruit Feather HUZZAH ESP8266 User Manual

Adafruit Feather HUZZAH ESP8266
53 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #32 background image
You can also have the module do DNS for you, just give it the hostname instead of IP
address:
sk=net.createConnection(net.TCP, 0)
sk:on("receive", function(sck, c) print(c) end )
sk:connect(80,"www.adafruit.com")
sk:send("GET /testwifi/index.html HTTP/1.1\r\nHost: www.adafruit.com\r\nConnection:
keep-alive\r\nAccept: */*\r\n\r\n")
This is just a light overview of testing out your HUZZAH ESP breakout! For much
more, check out NodeMCU's documentation page https://nodemcu.readthedocs.io/(h
ttps://adafru.it/wGB) for the details on what functions are available to you, as well as
http://www.lua.org(https://adafru.it/f1N) to learn more about the Lua scripting
language
Using Arduino IDE
While the Feather HUZZAH ESP8266 comes pre-programmed with NodeMCU's Lua
interpretter, you don't have to use it! Instead, you can use the Arduino IDE which may
be more familar. This will write directly to the firmware, erasing the NodeMCU
firmware, so if you want to go back to Lua, use the flasher to re-install it(https://
adafru.it/f1O)
Don't forget to visit esp8266.com for the latest and greatest in ESP8266 news,
software and gossip!(https://adafru.it/f1F)
©Adafruit Industries Page 32 of 53
Question and Answer IconNeed help?

Do you have a question about the Adafruit Feather HUZZAH ESP8266 and is the answer not in the manual?

Adafruit Feather HUZZAH ESP8266 Specifications

General IconGeneral
BrandAdafruit
ModelFeather HUZZAH ESP8266
CategoryMicrocontrollers
LanguageEnglish

Summary

Pinout Guide

Power Pins

Details pins for power and logic, including GND, BAT, USB, and EN.

Logic Pins

General purpose I/O pins with 3.3V logic, not 5V safe.

Serial Pins

Pins for serial communication and bootloading via USB-Serial chip.

GPIO Pins

Details 9 general purpose GPIO pins, their special functions and boot mode behavior.

Power Management

Battery and USB Power

Powering the Feather via MicroUSB or LiPo battery with auto-switching.

NodeMCU Lua Programming

Serial Console Setup

Guide to connecting and using serial terminal programs like PuTTY.

Arduino IDE Usage

USB Driver Installation

Instructions for installing CP2104 USB-Serial drivers, especially for macOS.

ESP8266 Troubleshooting FAQ

Pin Behavior and Boot Modes

Explains pin behavior during boot and potential issues.

Board Crashing and Resetting

Discusses power failure as a common cause for board crashes.

Serial Port Detection Issues

Troubleshooting steps for finding the serial port on a computer.

Mac Compilation Error Fix

Fixes for 'no such file' errors when compiling on macOS.

Stuck in Bootloader Mode

Solutions for being stuck in bootloader mode and unable to upload.

Related product manuals