1 chapter 6: more accelerometer projects chapter 7: lcd bar graphs for distance and tilt smart...

20
1 Smart Sensors and Applications Chapter 6: More Accelerometer Projects Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Chapter 7: LCD Bar Graphs for Distance and Tilt Presented by: Presented by: Andy Lindsay Andy Lindsay Parallax, Inc. Parallax, Inc. [email protected] [email protected] om om

Upload: laura-whitehead

Post on 29-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

1

Smart Sensors and Applications Chapter 6: More Accelerometer ProjectsChapter 6: More Accelerometer Projects

Chapter 7: LCD Bar Graphs for Distance and TiltChapter 7: LCD Bar Graphs for Distance and Tilt

Presented by: Presented by: Andy LindsayAndy LindsayParallax, Inc.Parallax, [email protected]@parallax.comom

Page 2: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

2

Copyrights and Trademarks

This documentation is copyright 2006 by Parallax Inc. By downloading or obtaining a printed copy of this documentation or software you agree that it is to be used exclusively with Parallax products. Any other uses are not permitted and may represent a violation of Parallax copyrights, legally punishable according to Federal copyright or intellectual property laws. Any duplication of this documentation for commercial uses is expressly prohibited by Parallax Inc. Duplication for educational use is permitted, subject to the following conditions: the text, or any portion thereof, may not be duplicated for commercial use; it may be duplicated only for educational purposes when used solely in conjunction with Parallax products, and the user may recover from the student only the cost of duplication.

BASIC Stamp, Stamps in Class, Board of Education, Boe-Bot SumoBot, SX-Key and Toddler are registered trademarks of Parallax, Inc. HomeWork Board, Propeller, Ping))) Parallax, and the Parallax logo are trademarks of Parallax Inc. If you decide to use trademarks of Parallax Inc. on our web page or in printed material, you must state that "(trademark) is a (registered) trademark of Parallax Inc.” upon the first appearance of the trademark name in each printed document or web page. Other brand and product names are trademarks or registered trademarks of their respective holders.

Page 3: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

3 Chapter 6, Activity #1, Page 212

Circuit: from Chapter 3, Activity #2 p. 71-73Circuit: from Chapter 3, Activity #2 p. 71-73

Page 4: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

4 Chapter 6, Activity #1, Pages 211 - 212

Program: VertWheelRotation.bs2,page 95, Program: VertWheelRotation.bs2,page 95, with LCD Display modifications from the Your with LCD Display modifications from the Your Turn section on page 96.Turn section on page 96.

√ √ Follow checkmarks on page 212Follow checkmarks on page 212

Page 5: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

5 Chapter 6, Activity #1, Page 213

Page 6: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

6 Chapter 6, Activity #2, Page 216

EEPROM Storage with EEPROM Storage with DATADATA, , WRITEWRITE and and READREAD

Page 7: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

7 Chapter 6, Activity #2, Pages 215 - 216

Program: EepromDataStorage.bs2, p Program: EepromDataStorage.bs2, p 217217

√ √ Follow checkmarks on pages 216-Follow checkmarks on pages 216-217. 217.

Page 8: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

8 Chapter 6, Activity #3, Pages 219 - 221

Program: Program: EepromDataStorageWithReset.bs2 EepromDataStorageWithReset.bs2

√ √ Follow the checkmarks on page Follow the checkmarks on page 221. 221.

Page 9: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

9 Chapter 6, Activity #4, Pages 223 - 226

Circuit: Figure 6-3 on page 224Circuit: Figure 6-3 on page 224

Program: DatalogAcceleration.bs2, Program: DatalogAcceleration.bs2, page 227page 227

√ √ Follow checkmarks on page 226.Follow checkmarks on page 226.

Page 10: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

10 Chapter 6, Activity #5, Pages 231 - 233

(Just for “Show and (Just for “Show and Tell”)Tell”)

Page 11: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

11 Chapter 6, Activity #5, Pages 233 - 234

Traveling in a circle causes Traveling in a circle causes continuous acceleration continuous acceleration

towards the centertowards the center

Page 12: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

12 Chapter 6, Activity #5, Pages 236 - 237

Page 13: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

13 Chapter 6, Activity #5, Page 238

Page 14: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

14 Chapter 6, Activity #5, Page 239

Page 15: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

15 Chapter 6, Activity #6, Page 240, 243

(Also Just for (Also Just for “Show and Tell”)“Show and Tell”)

Page 16: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

16 Chapter 6, Activity #6, Pages 241 - 242

Ollie MechanicsOllie Mechanics

Page 17: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

17 Chapter 7, Activity #7, Pages 247 - 249

Hysteresis is employed to Hysteresis is employed to measure wheel rotationmeasure wheel rotation

(Another “Show and Tell”)(Another “Show and Tell”)

Page 18: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

18 Chapter 7, Activity #1, Pages 241 - 242

Circuit: Figure 1-4 on page 5Circuit: Figure 1-4 on page 5

Program: EepromPixelWorm.bs2 beginning on page Program: EepromPixelWorm.bs2 beginning on page 264264

√ √ Follow checkmark instructions on page 264.Follow checkmark instructions on page 264.

Make an animated Pixel-Make an animated Pixel-Worm by displaying Worm by displaying custom characters in custom characters in sequence in a single LCD sequence in a single LCD character locationcharacter location

Page 19: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

19 Chapter 7, Activity #2, Pages 271 - 279

Circuit: Pages 52 – 53Circuit: Pages 52 – 53

With Debug TerminalWith Debug Terminal

Program: HorizBarGraph.bs2, page 273Program: HorizBarGraph.bs2, page 273

√ √ Follow checkmark instructions on page 273Follow checkmark instructions on page 273

With Ping))) SensorWith Ping))) Sensor

√ √ Follow ‘Your Turn’ checkmark Follow ‘Your Turn’ checkmark instructions on pages 279-280instructions on pages 279-280

Page 20: 1 Chapter 6: More Accelerometer Projects Chapter 7: LCD Bar Graphs for Distance and Tilt Smart Sensors and Applications Chapter 6: More Accelerometer Projects

20 Chapter 7, Activity #3, Pages 281 - 288

Single-axis DisplaySingle-axis Display

Circuit: Pages 71-73Circuit: Pages 71-73

Program: TestVerticalBars.bs2, p. Program: TestVerticalBars.bs2, p. 283283

√ √ Follow checkmarks on page Follow checkmarks on page 283.283.Two-Axis DisplayTwo-Axis Display

Circuit: Pages 71-73Circuit: Pages 71-73

Program: Program: TwoAxisBarDisplay.bs2, page TwoAxisBarDisplay.bs2, page 288288

√ √ Follow checkmarks on page Follow checkmarks on page 287.287.