The LEGO Spectrum Analyzer—Arduino Shield with I2C Output to EV3
Grady J. Koch · Apress eBooks · 2020
The sensors used in this book so far have been components that plug into the Arduino board with jumper wire connections. But there are many sensors and controllers that attach onto the Arduino board, called shields , such that they lay up against the Arduino board. Electronic and power connections are made to a shield by the headers on the Arduino board. The use of shields is introduced in this chapter, including incorporation into LEGO projects. The example project is a Spectrum Shield shown in Figure 10-1, made by Sparkfun ( www.sparkfun.com ), that analyzes an audio signal’s spectral content. The input audio signal is separated into seven frequency bands and analyzed for power within each spectral band. In this project, an EV3 Intelligent Brick will use the spectral information to graphically represent audio content on an LED array and make LEGO mechanisms dance in time to music.