# 1.1 Hardware

In this section, we introduce the different hardware components that will be used in our lab exercises:

* [Microcontroller](/dsp-labs/installation/hardware.md#microcontroller)
* [Microphone](/dsp-labs/installation/hardware.md#microphone)
* [DAC + audio jack](/dsp-labs/installation/hardware.md#dac_jack)

Both the microphone and the DAC will rely on the I2S (Inter-IC Sound) bus specification for audio transfer. This is a 3-line serial bus consisting of a data line for two time-multiplexed channels, a word select line, and a clock line. More information about the I2S bus specification can be found [here](https://www.sparkfun.com/datasheets/BreakoutBoards/I2SBUS.pdf).

## Microcontroller  <a href="#microcontroller" id="microcontroller"></a>

The board we will be using comes from the STM32 Nucleo-64 family. In particular, we will be using the STM32 Nucleo-64 development board with the [STM32F072RB microcontroller unit](https://www.st.com/en/evaluation-tools/nucleo-f072rb.html). You can find more information about this family of boards by reading the [official documentation](https://www.st.com/content/ccc/resource/technical/document/data_brief/c8/3c/30/f7/d6/08/4a/26/DM00105918.pdf/files/DM00105918.pdf/jcr:content/translations/en.DM00105918.pdf).

![](/files/-LRgWZrVIc3DCubvyBbI)

*Figure: STM32 Nucleo development board.* [Picture source](https://www.st.com/en/evaluation-tools/nucleo-f072rb.html).

## Microphone  <a href="#microphone" id="microphone"></a>

The microphone part we will be using is the [I2S MEMS Microphone Breakout](https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/overview) by Adafruit. We describe the component in more detail in the [following chapter](/dsp-labs/passthrough/audio-io/microphone.md), as we build a *passthrough* (passing the microphone input directly to the output), which is the "hello world" equivalent for audio.

![](/files/-LRgWZrXX6FwqOwZ8S2Q)

*Figure: Adafruit I2S MEMS Microphone Breakout.* [Picture source](http://learn.adafruit.com/assets/39631).

## DAC + Audio Jack  <a href="#dac_jack" id="dac_jack"></a>

The microphone we are using measures an *analog* (continuous in time and amplitude) signal and returns a *digital* (discrete in time and amplitude) signal, which can be further processed by our microcontroller. In order to playback or listen to this digital signal, it is necessary to convert it back to an analog signal; this can be done with a DAC (Digital-to-Analog Converter). We will be using Adafruit's [I2S Stereo Decoder Breakout](https://learn.adafruit.com/adafruit-i2s-stereo-decoder-uda1334a/overview), which contains the DAC, an audio jack for connecting headphones, and the necessary additional components. We will describe the DAC in more detail as we build a passthrough in the [following chapter](/dsp-labs/passthrough/audio-io/dac.md).

![](/files/-LRgWZs5t1nLZFRobQeL)

*Figure: Adafruit I2S Stereo Decoder - UDA1334A Breakout.* [Picture source](http://learn.adafruit.com/assets/48396).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lcav.gitbook.io/dsp-labs/installation/hardware.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
