Skip to Content
Environmental Monitoring with Arduino
book

Environmental Monitoring with Arduino

by Emily Gertz, Patrick Di Justo
January 2012
Beginner
98 pages
1h 49m
English
O'Reilly Media, Inc.
Content preview from Environmental Monitoring with Arduino

Make the Gadget

Parts

  1. Arduino
  2. Breadboard
  3. Mini Sound Sensor microphone (Emartee part number 42021)
  4. 5–10 LEDs, one or more colors, or LED bar display
  5. 220-ohm resistor
  6. 10–15 jumper wires in varied colors

Breadboard the Circuit

You can see what the final build looks like in the breadboard view of this circuit in Figure 2-2.

The completed noise monitor circuit.

Figure 2-2. The completed noise monitor circuit.

Here’s how to build that circuit:

Step 1 Plug the microphone into the breadboard (see Figure 2-3).

Step 2 Connect a wire between the GND pin of the microphone and the GND pin of Arduino.

Step 3 Connect the power pin of the microphone to the power pin of Arduino.

Step 4 Connect the DATA pin of the microphone to the Analog 0 pin of Arduino.

Step 5 Connect the Digital 2 pin of Arduino to a point on the breadboard.

The noise sensor plugged to the breadboard, with jumper wires leading from its GND, power, and DATA pins.

Figure 2-3. The noise sensor plugged to the breadboard, with jumper wires leading from its GND, power, and DATA pins.

Step 6 Connect the LONG or ANODE lead of an LED (or the ANODE lead of an LED bar) to a pin in the same breadboard row as the jumper from D2. Have the LED straddle the breadboard trench, and plug the SHORT lead or CATHODE (or the CATHODE lead of an LED bar) to a pin in the corresponding row on the other side of the breadboard.

Step 7 Plug a 220-ohm resistor into the breadboard, connecting the cathode row ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Atmospheric Monitoring with Arduino

Atmospheric Monitoring with Arduino

Patrick Di Justo, Emily Gertz
Make a Mind-Controlled Arduino Robot

Make a Mind-Controlled Arduino Robot

Tero Karvinen, Kimmo Karvinen

Publisher Resources

ISBN: 9781449328603Catalog PageErrata