Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Battery-Powered Gas Sensor and Servo Control with Adafruit Trinket M0

View and Edit Project In Cirkit DesignerImage of Battery-Powered Gas Sensor and Servo Control with Adafruit Trinket M0

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Adafruit Trinket M0 microcontroller, a MiCS-5524 Gas Sensor, a 4xAA battery pack, a Tower Pro SG90 servo, an Adafruit Audio FX Mini Sound Board, and an Adafruit STEMMA Speaker. The circuit is designed to interface these components to perform specific functions, with all electrical connections and code (if any) documented.

Component List

  1. Adafruit Trinket M0

    • Description: A small microcontroller board based on the ATSAMD21E18 microcontroller.
    • Pins: VBAT, GND, D4_A2_PA06_TXD_MOSI, D3_A3_PA07_RXD_SCK, !RESET, 3.3V, D2_A1_PA09_SCL_MISO, D1_A0_PA02, D0_A4_PA08_SDA, VBUS
  2. Adafruit MiCS-5524 Gas Sensor

    • Description: A gas sensor capable of detecting various gases.
    • Pins: 5.0V, GND, AOUT, ENABLE
  3. 4xAA Battery Pack

    • Description: A battery pack that holds four AA batteries to provide power.
    • Pins: POS, NEG
  4. Tower Pro SG90 Servo

    • Description: A small servo motor used for precise control of angular position.
    • Pins: Signal, +5V, GND
  5. Adafruit Audio FX Mini Sound Board

    • Description: A sound board capable of playing audio files stored on it.
    • Pins: RST, VIN, GPIO0_0, GND, GPIO0_1, VBUS, GPIO0_2, TX, GPIO0_3, RX_5V, GPIO0_4, UG, GPIO0_5, CS, GPIO0_6, GPIO0_7, R_AC, ACT, L_AC
  6. Adafruit STEMMA Speaker

    • Description: A small speaker for audio output.
    • Pins: GND, VDD, SIG

Wiring Details

Adafruit Trinket M0

Adafruit MiCS-5524 Gas Sensor

4xAA Battery Pack

Tower Pro SG90 Servo

Adafruit Audio FX Mini Sound Board

Adafruit STEMMA Speaker

Code

There is no code provided for the microcontrollers in this circuit.