Solder the other strip as well.
You're done! Check your solder jointsvisually and continue onto the next steps
©Adafruit Industries
Page 18 of 53
Страница 1: ...Adafruit Feather HUZZAH ESP8266 Created by lady ada https learn adafruit com adafruit feather huzzah esp8266 Last updated on 2022 02 14 04 27 21 PM EST Adafruit Industries Page 1 of 53...
Страница 2: ...ldering on Female Header Tape In Place Flip Tack Solder And Solder Power Management Battery USB Power Power supplies Measuring Battery ENable pin Alternative Power Options Using NodeMCU Lua Open up se...
Страница 3: ...49 49 49 50 50 51 51 Downloads Datasheets Files More info about the ESP8266 Schematic Rev G Schematic Fabrication Print ESP8266 F A Q Adafruit Industries Page 3 of 53...
Страница 4: ...Adafruit Industries Page 4 of 53...
Страница 5: ...for portable microcontroller cores This is the Adafruit Feather HUZZAH ESP8266 our take on an all in one ESP8226 WiFi development board with built in USB and battery charging Its an ESP8266 WiFi modul...
Страница 6: ...tering 921600 baud for fast development time It also has auto reset so no noodling with pins and reset button pressings To make it easy to use for portable projects we added a connector for any of our...
Страница 7: ...rial converter onboard with 921600 max baudrate for uploading Auto reset support for getting into bootload mode before firmware upload 9 GPIO pins can also be used as I2C and SPI 1 x analog inputs 1 0...
Страница 8: ...IDE or NodeMCU Lua It comes preprogrammed with the Lua interpretter We also toss in some header so you can solder it in and plug into a solderless breadboard Lipoly battery and USB cable not included...
Страница 9: ...sitive voltage to from the JST jack for the optional Lipoly battery USB this is the positive voltage to from the micro USB jack if connected EN this is the 3 3V regulator s enable pin It s pulled up s...
Страница 10: ...r time communicating with the ESP module The TX pin is the output from the module and is 3 3V logic The RX pin is the input into the module and is 5V compliant there is a level shifter on this pin The...
Страница 11: ...code libraries sketches we set up the following I2C SDA GPIO 4 default I2C SCL GPIO 5 default If you want you can connect to I2C devices using other 2 pins in the Arduino IDE by calling Wire pins sda...
Страница 12: ...into the bootloader If the pin is held low during power up it will start bootloading That said you can always use it as an output and blink the red LED note the LED is reverse wired so setting the pi...
Страница 13: ...ns We have a few other pins for controlling the ESP8266 RST this is the reset pin for the ESP8266 pulled high by default When pulled down to ground momentarily it will reset the ESP8266 system This pi...
Страница 14: ...e Feather line Assembly We ship Feathers fully tested but without headers attached this gives you the most flexibility on choosing how to use and configure your Feather Header Options Before you go gu...
Страница 15: ...rs This won t let you plug the Feather into a breadboard but it will let you attach featherwings very easily We also have slim versions of the female headers that are a little shorter and give a more...
Страница 16: ...ability to plug into a solderless breadboard and plug a featherwing on top But its a little bulky Soldering in Plain Headers Prepare the header strip Cut the strip to length if necessary It will be ea...
Страница 17: ...ins so that the short pins poke through the breakout pads And Solder Be sure to solder all pins for reliable electrical contact For tips on soldering be sure to check out our Guide to Excellent Solder...
Страница 18: ...Solder the other strip as well You re done Check your solder joints visually and continue onto the next steps Adafruit Industries Page 18 of 53...
Страница 19: ...Soldering on Female Header Tape In Place For sockets you ll want to tape them in place so when you flip over the board they don t fall out Adafruit Industries Page 19 of 53...
Страница 20: ...Flip Tack Solder After flipping over solder one or two points on each strip to tack the header in place Adafruit Industries Page 20 of 53...
Страница 21: ...And Solder Be sure to solder all pins for reliable electrical contact For tips on soldering be sure to check out our Guide to Excellent Soldering https adafru it aTk Adafruit Industries Page 21 of 53...
Страница 22: ...lder joints visually and continue onto the next steps Power Management Don t power the Huzzah ESP8266 with a CanaKit 5V power supply these power supplies have been destroying the CP2104 chip Adafruit...
Страница 23: ...ly or Lithium Ion LiIon battery to the JST jack This will let the Feather run on a rechargable battery When the USB power is powered it will automatically switch over to USB for power as well as start...
Страница 24: ...can t do it continuously from 5V as it will overheat the regulator We use this to power the ESP8266 which can draw spikes of 250 mA although its not continuous You should be able to budget about 250m...
Страница 25: ...T port or a USB power cable If you need other ways to power the Feather here s what we recommend For permanent installations a 5V 1A USB wall adapter https adafru it duP will let you plug in a USB cab...
Страница 26: ...ogrammed with NodeMCU s Lua interpreter As of this writing we ship with NodeMCU 0 9 5 build 20150318 powered by Lua 5 1 4 but it may be more recent Lua is still a work in progress so we strongly recom...
Страница 27: ...Serial port used by your cable at 9600 Baud Make sure you have turned off any hardware handshake or flow control Putty isn t good with pasting code in so you may not be able to copy n paste Also make...
Страница 28: ...ld Ok we can now turn on an LED There is a red LED on each board connected to GPIO 0 NodeMCU Lua s pinouts are not the same as the Arduino gcc pinouts We print the Arduino pinouts on the board so watc...
Страница 29: ...n 3 in Lua first make it an output gpio mode 3 gpio OUTPUT Turn the LED on with gpio write 3 gpio LOW And off with CHPD Note don t use this pin or set it to be an output 3 9 4 1 5 2 9 11 10 12 12 6 13...
Страница 30: ...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...
Страница 31: ...second or two to complete the connection you can query the module to ask the status with wifi sta status when you get a 5 it means the connection is completed and DHCP successful wifi sta config acces...
Страница 32: ...s 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 Feathe...
Страница 33: ...your Security Privacy settings system preferences screen after installing and looking for the message that says System software from developer SiLabs was blocked from loading like in the picture belo...
Страница 34: ...the best Install the ESP8266 Board Package Enter http arduino esp8266 com stable package_esp8266com_index json into Additional Board Manager URLs field in the Arduino v1 6 4 preferences Visit our guid...
Страница 35: ...once the install process has completed Setup ESP8266 Support When you ve restarted select Adafruit Feather HUZZAH ESP8266 from the Tools Board dropdown 80 MHz as the CPU frequency If you want to use...
Страница 36: ...pload Speed select 115200 baud You can also try faster baud rates we were able to upload at a blistering 921600 baud but sometimes it fails you have to retry The matching COM port for your FTDI or USB...
Страница 37: ...ave since you ll have to void setup pinMode 0 OUTPUT void loop digitalWrite 0 HIGH delay 500 digitalWrite 0 LOW delay 500 Now you can simply upload The Feather HUZZAH has built in auto reset that puts...
Страница 38: ...ng to Serial println ssid WiFi begin ssid password while WiFi status WL_CONNECTED delay 500 Serial print Serial println Serial println WiFi connected Serial println IP address Serial println WiFi loca...
Страница 39: ...nt readStringUntil r Serial print line Serial println Serial println closing connection Dont forget to update const char ssid yourssid const char password yourpassword to your access point and passwor...
Страница 40: ...perSnapper WipperSnapper is in BETA and is actively being developed to add functionality hardware and fix bugs We encourage you to try out WipperSnapper with the understanding that it is not final rel...
Страница 41: ...or Adafruit IO our incredibly easy to use IoT platform https adafru it V5A designed to turn any WiFi capable board into an IoT device without programming a single line of code Simply load the WipperSn...
Страница 42: ...e At this step you ll need to enable the Serial API which is really easy Visit chrome flags from within Chrome Find and enable the Experimental Web Platform features Restart Chrome Install WipperSnapp...
Страница 43: ...to connect to the ROM bootloader It may timeout for a bit until it succeeds On success you will see that it is Connected and will print out a unique MAC address identifying the board Once you have suc...
Страница 44: ...etwork and Adafruit IO credentials Click Install WipperSnapper You should see WipperSnapper being flashed to your ESP8266 Hang tight and stay on this tab the process takes a little over a minute Do no...
Страница 45: ...top form will collapse and you ll see a message in the log indicating that the operation is complete Navigate to https io adafruit com wippersnapper https adafru it TAu Then press the RST button on yo...
Страница 46: ...ontinue Congrats your board is registered with WipperSnapper Blink Test We ll blink the Feather Huzzah ESP8266 s LED both as a functionality test and to get used to using WipperSnapper From the Device...
Страница 47: ...From the component picker select the LED You may optionally give the LED component a name Select D0 as the LED Pin Click Create Component Adafruit Industries Page 47 of 53...
Страница 48: ...o setting the pin LOW will turn the LED on Therefore toggling the switch low off will turn the LED on Ready to learn more about WipperSnapper We have more WipperSnapper guides on the Adafruit Learning...
Страница 49: ...https adafru it z4d More info about the ESP8266 ESP8266 specification sheet https adafru it f1E FCC test report https adafru it f1S for the module used on this breakout CE test report for the module u...
Страница 50: ...ESP flashing tool https adafru it Bg4 Don t forget to visit esp8266 com for the latest and greatest in ESP8266 news software and gossip https adafru it f1F Schematic Click to enlarge Rev G Schematic...
Страница 51: ...the bootloader is active it must be pulled HIGH during power up reset for the user program to run If it s pulled LOW it will activate the bootloader The built in red LED on 0 pulls it up GPIO 2 must b...
Страница 52: ...rror message looks like this fork exec Users xxxxxxx Library Arduino15 packages esp8266 tools xtensa lx106 elf gcc 1 20 0 26 gb404fb9 2 bin xtensa lx106 elf g no such file or directory Error compiling...
Страница 53: ...tloader mode and can t upload You say your led is stuck on dim and you get an error trying to upload And you re sure your serial cable is connected and working correctly Well here s a potential fix Co...