Introducing ItsyBitsy 32u4 Created by lady ada Last updated on 2018-08-22 04:04:57 PM UTC
Guide Contents Guide Contents Overview Pinouts 2 3 6 Which do you have? 7 Power Pins 7 Adafruit LiIon/LiPoly Backpack Add-On for Pro Trinket/ItsyBitsy 8 5V Power Pins 8 3V Power Pins 9 Logic pins Other Pins! Arduino IDE Setup 9 10 11 https://adafruit.github.io/arduino-board-index/package_adafruit_index.
Overview What's smaller than a Feather but larger than a Trinket? It's an ItsyBitsy! Small, powerful, Arduino-compatible - this microcontroller board is perfect when you want something very compact, but still with a bunch of pins. ItsyBitsy 32u4 is only 1.4" long by 0.7" wide, but has 6 power pins, 6 analog & digital pins and 17 digital pins. It packs much of the same capability as an Arduino UNO.
The ItsyBitsy 32u4 uses the Atmega32u4 chip, which is the same core chip in the Arduino Leonardo as well as the same chip we use in our Feather 32u4. The 5V 16 MHz It runs at the same speed and voltage of an Arduino UNO or Leonardo. The 3V 8 MHz version is the same speed and voltage as a Feather 32u4.
polarity protection, thermal and current-limit protection. Low current 3.3V regulator output from chip, for small sensors For the 3V version: We have two special pins on the 3V version of this board. There's a VHigh pin, this pin is a power pin whose voltage is the higher of VBAT and VUSB. We also made the digital #5 pin extra special on this board, it connects to a level shifter so it is only an output but the output is that 'high logic'.
Pinouts The ItsyBitsy 32u4's come in two flavors - 5V and 3V. The pinouts for these are very similar except for the power pins which have different voltages! © Adafruit Industries https://learn.adafruit.
Which do you have? Look in the middle of the board, you'll see either 32u4 3V 8MHz or 32u4 5V 16 MHz Power Pins Both ItsyBitsy 32u4's have BAT G USB on the top left, right next to the micro USB port These pins are: BAT - battery input for an alternative power source to USB. On the 5V itsy, this pin can be 5.5-16VDC © Adafruit Industries https://learn.adafruit.
On the 3V Itsy, we have a different regulator, so the voltage can only be from 3.5V to 6VDC GND - Power/data ground USB - This is the same pin as the MicroUSB connector's 5V USB power pin. This should be used as an output to get 5V power from the USB port. Say if you need to power a bunch of NeoPixels or servos. You can always put any voltage you like into BAT and the circuitry will switch between BAT and USB dynamically for you.
G - these are all Ground pins 3V Power Pins In addition to the three standard power pins, the 3V ItsyBitsy has a few more pins available for power sourcing: 3V - this is the regulated output from the onboard regulator. You can draw 500mA whether powered by USB or battery. Vhi - this is a special pin! It is a dual-Schottkey-diode connected output from BAT and USB. This means this will always have the higher-of-the-two voltages, but will always have power output.
#11 - GPIO #11, can do PWM output. #12 - GPIO #12, also analog input A11 #13 - GPIO #13, can do PWM output and is connected to the red LED next to the Reset button Along the left edge A0 thru A5 - These are each analog input as well as digital I/O pins. SCK/MOSI/MISO - These are the hardware SPI pins, you can use them as everyday GPIO pins but recommend keeping them free as they are best used for hardware SPI connections for high speed. Also used to reprogram the chip with an AVR programmer if you need.
Arduino IDE Setup The first thing you will need to do is to download the latest release of the Arduino IDE. You will need to be using version 1.8 or higher for this guide https://adafru.it/f1P https://adafru.it/f1P After you have downloaded and installed the latest version of Arduino IDE, you will need to start the IDE and navigate to the Preferences menu. You can access it from the File menu in Windows or Linux, or the Arduino menu on OS X. A dialog will pop up just like the one shown below.
We will be adding a URL to the new Additional Boards Manager URLs option. The list of URLs is comma separated, and you will only have to add each URL once. New Adafruit boards and updates to existing boards will automatically be picked up by the Board Manager each time it is opened. The URLs point to index files that the Board Manager uses to build the list of available & installed boards.
Here's a short description of each of the Adafruit supplied packages that will be available in the Board Manager when you add the URL: Adafruit AVR Boards - Includes support for Flora, Gemma, Feather 32u4, Trinket, & Trinket Pro.
Using with Arduino IDE Since the ItsyBitsy 32u4 uses an ATmega32u4 chip running at 8 or 16 MHz, you can pretty easily get it working with the Arduino IDE. Many libraries (including the popular ones like NeoPixels and display) work great with the '32u4 and 8/16 MHz clock speed. Now that you have added the appropriate URLs to the Arduino IDE preferences, you can open the Boards Manager by navigating to the Tools->Board menu.
Install Drivers (Windows Only) When you plug in the Feather, you'll need to possibly install a driver Click below to download our Driver Installer https://adafru.it/AB0 https://adafru.it/AB0 Download and run the installer Run the installer! Since we bundle the SiLabs and FTDI drivers as well, you'll need to click through the license © Adafruit Industries https://learn.adafruit.
Select which drivers you want to install: Click Install to do the installin' Blink Now you can upload your first blink sketch! © Adafruit Industries https://learn.adafruit.
Plug in the ItsyBitsy 32u4 and wait for it to be recognized by the OS (just takes a few seconds). It will create a serial/COM port, you can now select it from the dropdown! Now load up the Blink example © Adafruit Industries https://learn.adafruit.
// the setup function runs once when you press reset or power the board void setup() { // initialize digital pin 13 as an output.
made to configure modem manager not to touch the board and will fix the programming difficulty issue. Follow the steps for installing Adafruit's udev rules on this page. (https://adafru.it/iOE) © Adafruit Industries https://learn.adafruit.
Downloads Files EagleCAD files for both 3V and 5V 32u4 ItsyBitsy's (https://adafru.it/BkS) Fritzing files for both types in the Adafruit Fritzing library (https://adafru.it/aP3) Bootloaders https://adafru.it/Apx https://adafru.it/Apx https://adafru.it/Apy https://adafru.it/Apy ItsyBitsy 3V Schematic & Fabrication print The 3.3V schematic regulator should be AP2112K-3.3 © Adafruit Industries https://learn.adafruit.
ItsyBitsy 5V Schematic & Fabrication print © Adafruit Industries https://learn.adafruit.
© Adafruit Industries Last Updated: 2018-08-22 04:04:52 PM UTC Page 22 of 22