Teensy 4.0 Audio Controller with Adjustable Volume and Power Management
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates a Teensy 4.0 microcontroller with a Teensy Audio Shield to create an audio processing system. The circuit is powered by an Adafruit PowerBoost 1000C, which provides a regulated 5V supply to the Teensy 4.0. A 12-pin FFC converter is used to interface additional peripherals or modules. User input is managed through a potentiometer for volume control and a toggle switch to enable or disable the circuit. The ground connections are shared among all components to complete the circuit.
Component List
Teensy 4.0
- Microcontroller board based on the ARM Cortex-M7 processor.
- Pins: 5V, GND, 3V, digital I/O pins (0-23).
Teensy Audio Shield
- An audio adapter board designed to work with the Teensy microcontroller line.
- Pins: GND, MEMCS, DIN, DOUT, SDCS, MOSI, MISO, 3.3V, MCLK, BCLK, LRCLK, SCL, SDA, VOL, SCK, LEFT, RIGHT.
12 Pin FFC Converter
- A flexible flat cable (FFC) to board converter with 12 connections.
- Pins: 1-12.
Adafruit PowerBoost 1000C
- A power supply module that can charge and boost a lithium battery to 5V.
- Pins: D+, D-, GND, 5.0V, VBUS, VLIPO, VBAT, ENABLE, LBO.
Potentiometer
- A three-terminal resistor with a rotating contact that forms an adjustable voltage divider.
- Pins: GND, Output, VCC.
Toggle Switch
- An electrical switch that is manually actuated by a mechanical lever, handle, or rocking mechanism.
- Pins: L1, COM, L2.
Wiring Details
Teensy 4.0
- 5V connected to Adafruit PowerBoost 1000C (5.0V).
- GND connected to Adafruit PowerBoost 1000C, Teensy Audio Shield, and Potentiometer (GND).
- 3V connected to Teensy Audio Shield (3.3V) and Potentiometer (VCC).
- Digital I/O pins connected to Teensy Audio Shield and 12 Pin FFC Converter as per the net list.
Teensy Audio Shield
- GND connected to Teensy 4.0 (GND) and Potentiometer (GND).
- 3.3V connected to Teensy 4.0 (3V) and Potentiometer (VCC).
- MCLK, BCLK, LRCLK, SCL, SDA, VOL, SCK, LEFT, RIGHT, MOSI, MISO, DIN, DOUT, MEMCS connected to corresponding pins on Teensy 4.0.
12 Pin FFC Converter
- Pins 1, 2, 3, 4, 7, 10 connected to corresponding pins on Teensy 4.0.
Adafruit PowerBoost 1000C
- 5.0V connected to Teensy 4.0 (5V).
- GND connected to Teensy 4.0, Teensy Audio Shield, and Toggle Switch (L2).
- ENABLE connected to Toggle Switch (COM).
Potentiometer
- GND connected to Teensy Audio Shield (GND).
- Output connected to Teensy Audio Shield (VOL).
- VCC connected to Teensy Audio Shield (3.3V).
Toggle Switch
- COM connected to Adafruit PowerBoost 1000C (ENABLE).
- L2 connected to Adafruit PowerBoost 1000C (GND).
Documented Code
No code has been provided for the microcontrollers in the circuit. If code becomes available, it should be documented here with explanations for each function and routine, as well as the overall program structure and flow.