EasyManuals Logo

Arduino Pro Mini User Manual

Arduino Pro Mini
311 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #111 background imageLoading...
Page #111 background image
Save the Climate Using Sonar Sensors
Researchers from Northwestern University and University of Michigan have created
a sonar system that uses only a computers microphone and speakers to detect
whether the computer is currently used.
a
If its not being used, the computer auto-
matically powers off its screen, saving the environment.
Instead of using a microphone and speakers, you can also use a PING))) sensor. With
the lessons youve learned in this chapter, you can build such a system yourself with
ease. Try it!
a.
http://blog.makezine.com/2009/10/15/using-sonar-to-save-power/
In my car, the parking-distance control consists of a couple of orange and
red LEDs. If nothings near the car, all LEDs are off. As soon as the distance
between the car and a potential obstacle gets too small, the first orange LED
lights up. The shorter the distance, the more LEDs that light up. If the distance
reaches a critical limit, all LEDs are on, and the car plays an annoying beep
tone.
Heres the application were going to
build. It shows the current tempera-
ture, and you can also see that the
first red light is already on, indicating
that theres something very close to
the distance sensor.
Well implement the application as a
Google Chrome app. (Now is a good time to read Appendix 4, Controlling the
Arduino with a Browser, on page 267, if you havent done so already.) The
applications
manifest.json
file contains no surprises:
InputDevices/Dashboard/manifest.json
{
"manifest_version": 2,
"name": "Dashboard Demo",
"version": "1",
"permissions": [ "serial" ],
"app": {
"background": {
"scripts": ["background.js"]
}
},
"minimum_chrome_version": "33"
}
report erratum discuss
Creating Your Own Dashboard 93
www.it-ebooks.info

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Arduino Pro Mini and is the answer not in the manual?

Arduino Pro Mini Specifications

General IconGeneral
BrandArduino
ModelPro Mini
CategoryMotherboard
LanguageEnglish

Related product manuals