Adafruit HUZZAH32 - ESP32 Feather Created by lady ada Last updated on 2018-08-22 04:00:18 PM UTC
Guide Contents Guide Contents Overview Pinouts Power Pins Logic pins Serial pins I2C & SPI pins GPIO & Analog Pins Assembly Header Options! Soldering in Plain Headers 2 3 7 7 8 8 8 9 11 11 14 Prepare the header strip: Add the breakout board: And Solder! 14 15 15 Soldering on Female Header Tape In Place Flip & Tack Solder And Solder! 17 18 19 Power Management Battery + USB Power Power supplies Measuring Battery ENable pin Using with Arduino IDE ESP32 F.A.
Overview Aww yeah, it's the Feather you have been waiting for! The HUZZAH32 is our ESP32-based Feather, made with the official WROOM32 module. We packed everything you love about Feathers: built in USB-to-Serial converter, automatic bootloader reset, Lithium Ion/Polymer charger, and all the GPIO brought out so you can use it with any of our Feather Wings.
Because it is part of our Feather eco-system you can take advantage of the 50+ Wings (https://adafru.it/wev) that we've designed, to add all sorts of cool accessories The ESP32 is a perfect upgrade from the ESP8266 that has been so popular. In comparison, the ESP32 has way more GPIO, plenty of analog inputs, two analog outputs, multiple extra peripherals (like a spare UART), two cores so you don't have to yield to the WiFi manager, much higher-speed processor, etc.
Please note: The ESP32 is still targeted to developers. Not all of the peripherals are fully documented with example code, and there are some bugs still being found and fixed. We got all of our Featherwings working under Arduino IDE, so you can expect things like I2C and SPI and analog reads to work. But other elements are still under development. For that reason, we recommend this Feather for makers who have some experience with microcontroller programming, and not as a first dev board.
SD-card interface support Comes fully assembled and tested, with a USB interface that lets you quickly use it with the Arduino IDE or the lowlevel ESP32 IDF. 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 (but we do have lots of options in the shop if you'd like!) © Adafruit Industries https://learn.adafruit.
Pinouts One of the great things about the ESP32 is that it has tons more GPIO than the ESP8266. You won't have to juggle or multiplex your IO pins! There's a few things to watch out for so please read through the pinouts carefully Power Pins © Adafruit Industries https://learn.adafruit.
GND - this is the common ground for all power and logic BAT - this is the positive 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, so connect to ground to disable the 3.3V regulator 3V - this is the output from the 3.3V regulator. The regulator can supply 500mA peak but half of that is drawn by the ESP32, and it's a fairly power-hungry chip.
Note that the I2C pins do not have pullup resistors already! You must add them if you want to communicate with an I2C device GPIO & Analog Pins There are tons of GPIO and analog inputs available to you for connecting LEDs, buttons, switches, sensors, etc. Here's the remaining pins available. Bottom row: A0 - this is an analog input A0 and also an analog output DAC2. It can also be used as a GPIO #26. It uses ADC #2 A1 - this is an analog input A1 and also an analog output DAC1.
A3 - this is an analog input A3 and also GPI #39. Note it is not an output-capable pin! It uses ADC #1 A4 - this is an analog input A4 and also GPI #36. Note it is not an output-capable pin! It uses ADC #1 A5 - this is an analog input A5 and also GPIO #4. It uses ADC #2 21 - General purpose IO pin #21 Top row: 13 - This is GPIO #13 and also an analog input A12 on ADC #1. It's also connected to the red LED next to the USB port 12 - This is GPIO #12 and also an analog input A11 on ADC #2.
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 gung-ho on soldering, there's a few options to consider! The first option is soldering in plain male headers, this lets you plug in the Feather into a solderless breadboard © Adafruit Industries https://learn.adafruit.
Another option is to go with socket female headers. This won't let you plug the Feather into a breadboard but it will let you attach featherwings very easily © Adafruit Industries https://learn.adafruit.
We also have 'slim' versions of the female headers, that are a little shorter and give a more compact shape © Adafruit Industries https://learn.adafruit.
Finally, there's the "Stacking Header" option. This one is sort of the best-of-both-worlds. You get the 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 easier to solder if you insert it into a breadboard - long pins down © Adafruit Industries https://learn.adafruit.
Add the breakout board: Place the breakout board over the pins 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 Soldering (https://adafru.it/aTk)). © Adafruit Industries https://learn.adafruit.
Solder the other strip as well. © Adafruit Industries https://learn.adafruit.
You're done! Check your solder joints visually and continue onto the next steps 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 Flip & Tack Solder After flipping over, solder one or two points on each strip, to 'tack' the header in place © Adafruit Industries https://learn.adafruit.
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 https://learn.adafruit.
© Adafruit Industries https://learn.adafruit.
You're done! Check your solder joints visually and continue onto the next steps © Adafruit Industries https://learn.adafruit.
Power Management Battery + USB Power We wanted to make the Feather HUZZAH32 easy to power both when connected to a computer as well as via battery. There's two ways to power a Feather. You can connect with a Micro USB cable (just plug into the jack) and the Feather will regulate the 5V USB down to 3.3V. You can also connect a 4.2/3.7V Lithium Polymer (Lipo/Lipoly) or Lithium Ion (LiIon) battery to the JST jack. This will let the Feather run on a rechargeable battery.
The above shows the Micro USB jack (left), Lipoly JST jack (top left), as well as the 3.3V regulator (to the right of the JST jack), changeover diode+transistor (below the JST jack) and the Lipoly charging circuitry (right below the regulator). There's also a CHG LED next to the USB jack, which will light up while the battery is charging. This LED might also flicker if the battery is not connected, it's normal.
Since the ESP32 has tons of ADC pins, we 'sacrifice' one for Lipoly battery monitoring. You can read half of the battery voltage off of A13. Don't forget to double the voltage you read, since there is a divider. ENable pin If you'd like to turn off the 3.3V regulator, you can do that with the EN(able) pin. Simply tie this pin to Ground and it will disable the 3V regulator. The BAT and USB pins will still be powered © Adafruit Industries https://learn.adafruit.
Using with Arduino IDE We primarily recommend using the ESP32 Feather with Arduino. Check out the Espressif Arduino repository for details on how to install it (https://adafru.it/weF) Don't forget you will also need to install the SiLabs CP2104 Driver https://adafru.it/vrf https://adafru.it/vrf Once installed, use the Adafruit ESP32 Feather board in the dropdown For Upload speed we've found 921600 baud works great. © Adafruit Industries https://learn.adafruit.
ESP32 F.A.Q Some pins are special about the ESP32 - here's a list of 'notorious' pins to watch for! A2 / I34 - this pin is an input only! You can use it as an analog input so we suggest keeping it for that purpose A3 / I39 - this pin is an input only! You can use it as an analog input so we suggest keeping it for that purpose IO12 - this pin has an internal pulldown, and is used for booting up.
Downloads Files ESP32 WROOM32 Datasheet (https://adafru.it/BAL) ESP32 Technical Manual (https://adafru.it/weC) Don't forget to visit esp32.com for the latest and greatest in ESP32 news, software and gossip! (https://adafru.it/weD) EagleCAD PCB files on github (https://adafru.it/weE) Fritzing object in the Adafruit Fritzing library (https://adafru.it/aP3) Schematic and Fabrication print © Adafruit Industries https://learn.adafruit.
© Adafruit Industries Last Updated: 2018-08-22 04:00:13 PM UTC Page 27 of 27