28017 Parallax Inc, 28017 Datasheet
28017
Specifications of 28017
Related parts for 28017
28017 Summary of contents
Page 1
... If single-axis tilt of less than 60 degrees is your requirement, only one output from the Memsic 2125 need be connected. See Figure 1 for connection details. © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 599 Menlo Drive, Suite 100 General: info@parallax.com Technical: support@parallax ...
Page 2
... At this point the standard equation provided by Memsic can be applied, adjusting the values to account for the pulse-width in microseconds. hence the final multiplication. The result is a signed value representing g-force in milli-g's (1/1000th g). © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 2 A(g) = ((T1 / T2) – 0.5) / 12.5% ° ...
Page 3
... BS2, BS2E Scale CON $200 #CASE BS2SX Scale CON $0CC #CASE BS2P © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 Calculations for ' X input from Memsic 2125 ' Y input from Memsic 2125 ' 2.0 us per unit ' 0.8 us per unit 3 ...
Page 4
... DEC (yRaw / 1000), ".", DEC3 yRaw, " ms", CLREOL, CR, "G Force... ", (ymG.BIT15 * 13 + " "), DEC (ABS ymG / 1000), ".", DEC3 (ABS ymG), " g", © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 4 ' 0.75 us per unit ' 1.88 us per unit ...
Page 5
... LOOP angle = angle */ 360 RETURN Arcsine: GOSUB Arccosine angle = 90 - angle RETURN © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 ' update about 5x/second ' read pulse output ' convert to uSecs ' calc 1/1000 displacement ' fix sign ' y displacement ' fix sign ...
Page 6
... HiPulse CON 1 LoPulse CON 0 © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 input from Memsic 2125 ' Y input from Memsic 2125 ' 2.0 us per unit ' 0.8 us per unit ' 0.75 us per unit ' 1.88 us per unit ' measure high-going pulse ...
Page 7
... Scale xmG = ((pulse / 10) - 500 PULSIN Yin, HiPulse, pulse pulse = pulse */ Scale ymG = ((pulse / 10) - 500 RETURN © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 ' degrees symbol ' pulse input ' g force (1000ths) ' binary radians ' read X and Y ' calculate angle ...
Page 8
... SampleDelay CON 500 AlarmLevel CON 5 XLimit CON 5 YLimit CON 5 ' -----[ Variables ]------------------------------------------------------- © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 pulse input ' Y pulse input ' reset LED ' alarm LED ' measure high-going pulse ' 0.5 sec ' 5 x SampleDelay ' x motion max ' y motion max ...
Page 9
... PULSIN Yin, HiPulse, yMove xMove = xMove / 10 yMove = yMove / 10 PAUSE SampleDelay RETURN ' Blink Alarm LED ' -- will run until BASIC Stamp is reset © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 ' x calibration value ' y calibration value ' x sample ' y sample ' x axis difference ' y axis difference ...
Page 10
... LTC1298). Details: • Output calibrated to 1.25 volts @ 25.0 • Output change: 5 millivolts per degree C © Parallax, Inc. • Memsic 2125 Accelerometer Demo Kit (#28017) • 09/2004 10 ' blink alarm LED ' loop until reset This would make an interesting, intelligent "leash" for a ° ...