28029 Parallax Inc, 28029 Datasheet - Page 235

KIT PARTS SMART SENSORS W/TEXT

28029

Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet

Specifications of 28029

Accessory Type
Parts Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® or Javelin Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Other names
28029PAR
' -----[ Subroutine - Display_Data ]------------------------------------------
Display_Data:
Your Turn - The DATA Directive's Automatic EEPROM Addressing
Did you notice that the record numbers changed in this program? Instead of 0 to 10, they
were 1 to 11. Try moving the
modified program and examine the result. Make tables similar to Table 6-1 that illustrate
the values stored by
the original program, and the second one to illustrate the modified program in which you
changed the order of the
ACTIVITY #4: REMOTE DATALOGGING OF ACCELERATION
In this activity, you will add a piezospeaker to the existing accelerometer circuit. Then,
you will modify the program so that it provides you with a remote datalogging tool that's
easy to operate. The piezospeaker will be handy for indicating countdown, start, and stop.
The accelerometer circuit will the same one used in Chapter #3, and the piezospeaker will
be added below it on the breadboard.
Parts Required
(1) Memsic 2125 Accelerometer
(2) 220 Ω resistors
(1) piezospeaker
(4) jumper wires
RETURN
DEBUG CR, "Index
FOR eeIndex = Records TO RecordsEnd
NEXT
DEBUG CR, "Press Enter for menu..."
DEBUGIN char
RETURN
DEBUGIN char
READ eeIndex, value
value = value - 100
DEBUG DEC eeIndex, CRSRX, 7, SDEC value, CR
CR, "-----
CR
Reset
Record",
------",
DATA
,
Records
directives.
Reset DATA
, and
RecordsEnd
directive after the other two. Then, run the
Chapter 6: Accelerometer Projects · Page 223
. Make the first table to illustrate

Related parts for 28029