Hardware Reference
In-Depth Information
Supplies for Chapter 8
This chapter is all about sensing location,
so most of the new parts are sensors.
You'll also reuse the radios from Chapters
6 and 7.
PROJECT 15: INFRARED DISTANCE-RANGER
»
1 Arduino module
An Arduino Uno or something based
on the Arduino Uno, but the project should work on
other Arduino and Arduino-compatible boards.
D
1050-1019-ND,
J
2121105,
SF
DEV-09950,
A
A000046,
AF
50,
F
1848687,
RS
715-4081,
SS
ARD132D2P,
MS
MKSP4
»
1 Sharp GP2y0A21 infrared ranger
This distance-
ranging sensor operates on 5 volts, and outputs a 0-5V
signal when it detects objects from 10 to 80cm away.
It's one of a family of infrared-ranging sensors from
Sharp. Available from many retailers, They are relatively
inexpensive and very easy to use.
D
425-2063-ND,
SF
SEN-00242,
RS
666-6570,
P
136
»
1 3-wire JST connector pigtail
This cable allows you to
attach the sensor to your microcontroller easily.
SF
SEN-08733
»
1 10µF capacitor
J
29891,
D
P11212-ND,
F
1144605,
RS
715-1638
DISTRIbuTOR KEy
• A
Arduino Store (
http://store.arduino.cc/ww/
)
• AF
Adafruit (
http://adafruit.com
)
• D
Digi-Key (
www.digikey.com
)
• F
Farnell (
http://farnell.com
)
• J
Jameco (
http://jameco.com
)
• MS
Maker SHED (
www.makershed.com
)
• P
Pololu (
www.pololu.com
)
• PX
Parallax (
www.parallax.com
)
• RS
RS (
www.rs-online.com
)
• SF
Spark Fun (
www.sparkfun.com
)
• SS
Seeed Studio (
www.seeedstudio.com
)
9
6
1
4
5
3
2
8
7
Figure 8-1.
New parts for this chapter:
1.
Sharp GP20Y0A21 IR ranger
2.
JST pigtail for IR ranger
3.
Maxbotix LV-EZ1 ultrasonic
ranger
4.
EM-406A GPS receiver
5.
Interface cable for EM-406A
6.
LMS303DLH digital compass
7.
LED tactile button
8.
Breakout
board for button
9.
ADXL335 accelerometer. Don't forget plenty of male header pins for the breakout boards.