28026 Parallax Inc, 28026 Datasheet - Page 5

MODULE ACCEL HITACHI H48C 3-AXIS

28026

Manufacturer Part Number
28026
Description
MODULE ACCEL HITACHI H48C 3-AXIS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28026

Sensor Type
Accelerometer, 3 Axis
Sensing Range
±3g
Interface
Analog
Sensitivity
333 mV/g
Voltage - Supply
2.2 V ~ 3.6 V
Embedded
No
Utilized Ic / Part
BASIC Stamp® 2 Module
Product
Microcontroller Accessories
Data Bus Width
12 bit
Core Processor
MCP3204
Interface Type
Serial
Operating Supply Voltage
5 V
Board Size
20.3 mm x 17.8 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
28026PAR

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
280261-2
Manufacturer:
TE
Quantity:
20 000
VRef
Cnt2Mv
GfCnv
' -----[ Variables ]-------------------------------------------------------
axis
rvCount
axCount
mVolts
gForce
dValue
dPad
' -----[ Initialization ]--------------------------------------------------
Reset:
' -----[ Program Code ]----------------------------------------------------
Main:
HIGH CS
DEBUG CLS,
FOR axis = XAxis TO ZAxis
Copyright© Parallax Inc. • Hitachi H48C 3-Axis Accelerometer Module (#28026) • 7/27/2007
GOSUB Get_H48C
dValue = rvCount
DEBUG CRSRXY, 6, 6
GOSUB RJ_Print
dValue = axCount
DEBUG CRSRXY, 6, (7 + axis)
GOSUB RJ_Print
mVolts = rvCount ** Cnt2Mv
DEBUG CRSRXY, 13, 6,
mVolts = axCount ** Cnt2Mv
DEBUG CRSRXY, 13, (7 + axis),
"=========================", CR,
"H48C 3-Axis Accelerometer", CR,
"=========================", CR,
CR,
"
"
"VRef
"
"
"
DEC (mVolts / 1000), ".",
DEC3 mVolts
X
Y
Z
Count
-----
CON
CON
CON
VAR
VAR
VAR
VAR
VAR
VAR
VAR
Volts
-----
3
$CE4C
$3852
Nib
Word
Word
Word
Word
Word
Nib
-----", CR,
G
", CR,
", CR,
", CR,
", CR,
"
' counts to millivolts
'
' g-force conversion
'
' axis selection
' ref voltage adc counts
' axis voltage adc counts
' millivolts
' axis g-force
' display value
' display pad
' deselect module
' paint display
' loop through each axis
' read vRef & axis counts
' display vRef count
' display axis count
' convert vref to mv
' display
' convert axis to mv
0.80586 with **
0.22 with **
Rev 1.2
Page 5 of 6

Related parts for 28026