Advertisement

Quick Links

Adafruit Feather 32u4 Adalogger
Created by lady ada
https://learn.adafruit.com/adafruit-feather-32u4-adalogger
Last updated on 2021-11-15 06:34:25 PM EST
©Adafruit Industries
Page 1 of 39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Feather 32u4 Adalogger and is the answer not in the manual?

Questions and answers

Summary of Contents for Adafruit Industries Feather 32u4 Adalogger

  • Page 1 Adafruit Feather 32u4 Adalogger Created by lady ada https://learn.adafruit.com/adafruit-feather-32u4-adalogger Last updated on 2021-11-15 06:34:25 PM EST ©Adafruit Industries Page 1 of 39...
  • Page 2: Table Of Contents

    Using with Arduino IDE • Install Drivers (Windows 7 Only) • Blink • Manually bootloading • Ubuntu & Linux Issue Fix Feather HELP! Using the SD Card • Example logging sketch Downloads • Schematic • Fabrication Print ©Adafruit Industries Page 2 of 39...
  • Page 3: Overview

    We designed Feather to be a new standard for portable microcontroller cores. This is the Adafruit Feather 32u4 Adalogger - our take on an 'all-in-one' datalogger (or data-reader) with built in USB and battery charging. Its an Adafruit Feather 32u4 with a microSD holder ready to rock!
  • Page 4 USB power when its available. We also tied the battery thru a divider to an analog pin, so you can measure and monitor the battery voltage to detect when you need a recharge. ©Adafruit Industries Page 4 of 39...
  • Page 5 Power/enable pin • 4 mounting holes • Reset button The Feather 32u4 Adalogger uses the extra space left over to add MicroSD + a green LED: • Pin #8 green LED for your blinking pleasure • MicroSD card holder for adding as much storage as you could possibly want, for reading or writing.
  • Page 6: Pinouts

    Lipoly battery, MicroSD card and USB cable not included (but we do have lots of options in the shop if you'd like!) Check out our tutorial for all sorts of details, including schematics, files, IDE instructions, and more! Pinouts ©Adafruit Industries Page 6 of 39...
  • Page 7: Power Pins

    This is the general purpose I/O pin set for the microcontroller. All logic is 3.3V • #0 / RX - GPIO #0, also receive (input) pin for Serial1 and Interrupt #2 • #1 / TX - GPIO #1, also transmit (output) pin for Serial1 and Interrupt #3 ©Adafruit Industries Page 7 of 39...
  • Page 8: Micro Sd Card + Green Led

    Since not all pins can be brought out to breakouts, due to the small size of the Feather, we use these to control the SD card! • #4 - used as the MicroSD card CS (chip select) pin ©Adafruit Industries Page 8 of 39...
  • Page 9: Other Pins

    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! ©Adafruit Industries Page 9 of 39...
  • Page 10 Feather into a solderless breadboard 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 Page 10 of 39...
  • Page 11 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 ©Adafruit Industries Page 11 of 39...
  • Page 12: Soldering In Plain Headers

    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 Page 12 of 39...
  • Page 13: Add The Breakout Board

    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 13 of 39...
  • Page 14 Solder the other strip as well. You're done! Check your solder joints visually and continue onto the next steps ©Adafruit Industries Page 14 of 39...
  • Page 15: Soldering On Female Header

    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 15 of 39...
  • Page 16: Flip & Tack Solder

    Flip & Tack Solder After flipping over, solder one or two points on each strip, to 'tack' the header in place ©Adafruit Industries Page 16 of 39...
  • Page 17: And Solder

    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 17 of 39...
  • Page 18: Power Management

    You're done! Check your solder joints visually and continue onto the next steps Power Management ©Adafruit Industries Page 18 of 39...
  • Page 19: Battery + Usb Power

    If there isn't one it may flicker once in a while when you use power because it's trying to charge a (non- existant) battery. It's not harmful, and its totally normal! ©Adafruit Industries Page 19 of 39...
  • Page 20: Power Supplies

    = analogRead(VBATPIN); measuredvbat *= 2; // we divided by 2, so multiply back measuredvbat *= 3.3; // Multiply by 3.3V, our reference voltage measuredvbat /= 1024; // convert to voltage Serial.print("VBat: " ); Serial.println(measuredvbat); ©Adafruit Industries Page 20 of 39...
  • Page 21: Enable Pin

    Ground and it will disable the 3V regulator. The BAT and USB pins will still be powered Alternative Power Options The two primary ways for powering a feather are a 3.7/4.2V LiPo battery plugged into the JST port or a USB power cable. ©Adafruit Industries Page 21 of 39...
  • Page 22: 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 Arduino IDE Download https://adafru.it/f1P ©Adafruit Industries Page 22 of 39...
  • Page 23 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 ©Adafruit Industries Page 23 of 39...
  • Page 24 Flora, Feather 32u4, Micro and Leonardo using the arcore project (https:// adafru.it/eSI). If you have multiple boards you want to support, say ESP8266 and Adafruit, have both URLs in the text box separated by a comma (,) ©Adafruit Industries Page 24 of 39...
  • Page 25: Using With Arduino Ide

    URLs added to the prefrences. In the example below, we are installing support for Adafruit AVR Boards, but the same applies to all boards installed with the Board Manager. ©Adafruit Industries Page 25 of 39...
  • Page 26: Install Drivers (Windows 7 Only)

    When you plug in the Feather, you'll need to possibly install a driver Windows 10 folks can skip this, the drivers now come built into Windows 10! Click below to download our Driver Installer Download Adafruit Drivers Installer https://adafru.it/AB0 Download and run the installer ©Adafruit Industries Page 26 of 39...
  • Page 27 Run the installer! Since we bundle the SiLabs and FTDI drivers as well, you'll need to click through the license Select which drivers you want to install: ©Adafruit Industries Page 27 of 39...
  • Page 28: Blink

    // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin 13 as an output. pinMode(13, OUTPUT); // the loop function runs over and over again forever void loop() { ©Adafruit Industries Page 28 of 39...
  • Page 29: Manually Bootloading

    Arduino is trying to upload Ubuntu & Linux Issue Fix If you're on Linux, and are seeing multi-second delays connecting to the serial console, or are seeing "AT" and other gibberish when you connect, follow the steps on this page. (https://adafru.it/iOE) ©Adafruit Industries Page 29 of 39...
  • Page 30: Feather Help

    They tend to be low quality in general, and will only confuse you and others later, just get a good data+charge USB cable. A quality USB port is critical. Avoid plugging into USB keyboards and when possible use a USB-2 HUB to avoid USB3 issues.  ©Adafruit Industries Page 30 of 39...
  • Page 31 LED that tells you its now in bootloading mode The board will show up as the Bootloader COM/Serial port The IDE should see the bootloader COM/Serial port and upload properly ©Adafruit Industries Page 31 of 39...
  • Page 32 Feather M0 - do not use 32u4 or Arduino Zero If you have a ItsyBitsy M0 (look on the board to read what it is you have) Make sure you select ItsyBitsy M0 - do not use 32u4 or Arduino Zero ©Adafruit Industries Page 32 of 39...
  • Page 33 This is likely because the bootloader is not kicking in and you are accidentally trying to upload to the wrong COM port The best solution is what is detailed above: manually upload Blink or a similar working sketch by hand by manually launching the bootloader ©Adafruit Industries Page 33 of 39...
  • Page 34 Do the reset button double-press right as the Arduino IDE says its attempting to upload the sketch, when you see the Yellow Arrow lit and the Uploadin g... text in the status bar. ©Adafruit Industries Page 34 of 39...
  • Page 35: Using The Sd Card

    Once you have your Feather working, you probably want to rock out with some SD card reading and writing! Luckily, the Arduino IDE has an SD card library that works great, and it even comes with the IDE! You can start with CardInfo which is very detailed ©Adafruit Industries Page 35 of 39...
  • Page 36: Example Logging Sketch

    SD card. Note that to save power, we buffer the data, so you will only 'save' data truely every 50 datapoints (512 total characters written) #include <SPI.h> #include <SD.h> ©Adafruit Industries Page 36 of 39...
  • Page 37 = 0; i < 100; i++) { filename[7] = + i/10; filename[8] = + i%10; // create if does not exist, do not open existing, write, sync after write (! SD.exists(filename)) { break; ©Adafruit Industries Page 37 of 39...
  • Page 38: Downloads

    3x as much on average (30mA avg rather than about 10mA) Downloads • Frizting object in the Adafruit Fritzing Library (https://adafru.it/aP3) • EagleCAD PCB files in GitHub (https://adafru.it/qxf) Feather 32u4 Adalogger Pinout Diagram https://adafru.it/z3c ©Adafruit Industries Page 38 of 39...
  • Page 39: Schematic

    Schematic Click to enlarge Fabrication Print Dimensions in inches ©Adafruit Industries Page 39 of 39...
  • Page 40 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Adafruit 2795...

Table of Contents