Reader small image

You're reading from  Raspberry Pi Computer Architecture Essentials

Product typeBook
Published inMar 2016
Reading LevelIntermediate
Publisher
ISBN-139781784397975
Edition1st Edition
Languages
Right arrow
Authors (2):
Andrew K. Dennis
Andrew K. Dennis
author image
Andrew K. Dennis

Andrew K. Dennis is a full stack and cybersecurity architect with over 17 years' experience who currently works for Modus Create in Reston, VA. He holds two undergraduate degrees in software engineering and creative computing and a master's degree in information security. Andy has worked in the US, Canada, and the UK in software engineering, e-learning, data science, and cybersecurity across his career, and has written four books on IoT, the Raspberry Pi, and supercomputing. His interests range from the application of pataphysics in computing to security threat modeling. Andy lives in New England and is an organizer of Security BSides CT.
Read more about Andrew K. Dennis

View More author details
Right arrow

Introduction to the Raspberry Pi's sound


There are several options for outputting sound on the Raspberry Pi 2. The first is the HDMI port. If you are using this connected to a HDTV, for example, you can stream both video and audio at the same time.

The second is the analogue audio jack. This is perfect for attaching headphones or speakers that use a headphone-style plug.

However, we are not limited to these two methods.

As explained in Chapter 1, Introduction to the Raspberry Pi's Architecture and Setup, the Raspberry Pi 2 implements an Inter-IC Sound (I2S) serial bus for both audio input and output.

From the Raspberry Pi's perspective, implementing I2S allows us to not only use HDMI and the analogue audio jack, but also implement audio via the GPIO pins or USB.

We can therefore connect an external device to, say, our GPIO pins that can act as a HiFi system. Later in this chapter we will look at some example hardware that does exactly this.

I2S can be found in a variety of other audio products...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Raspberry Pi Computer Architecture Essentials
Published in: Mar 2016Publisher: ISBN-13: 9781784397975

Authors (2)

author image
Andrew K. Dennis

Andrew K. Dennis is a full stack and cybersecurity architect with over 17 years' experience who currently works for Modus Create in Reston, VA. He holds two undergraduate degrees in software engineering and creative computing and a master's degree in information security. Andy has worked in the US, Canada, and the UK in software engineering, e-learning, data science, and cybersecurity across his career, and has written four books on IoT, the Raspberry Pi, and supercomputing. His interests range from the application of pataphysics in computing to security threat modeling. Andy lives in New England and is an organizer of Security BSides CT.
Read more about Andrew K. Dennis