28036 Parallax Inc, 28036 Datasheet
28036
Specifications of 28036
Available stocks
Related parts for 28036
28036 Summary of contents
Page 1
... Resources and Downloads Check for the latest version of this document, free software, and example programs from the 4- Directional Tilt Sensor product page www.parallax.com and search 28036. Theory of Operation Internally, the 4-Directional Tilt Sensor includes one IR LED, two phototransistors, and a small ball that moves when the sensor is rotated ...
Page 2
... Maximum output signal voltage approaches power supply voltage. Copyright © Parallax Inc. Location Phototransistor Function Output state of phototransistor 2 Supply Voltage -> 3.0 - 5.5V Ground -> 0V Ground -> 0V Supply Voltage -> 3.0 - 5.5V Output state of phototransistor 1 4-Directional Tilt Sensor (#28036) Phototransistor v1.0 12/20/2010 Page ...
Page 3
... Propeller Tool v1.2.7 or higher, which is available from the Downloads link at www.parallax.com/Propeller. '' 4DirectionalTiltSensor_Simple.spin for P8X32A '' Displays output states of both phototransistors _CLKMODE = XTAL1 + PLL16X _XINFREQ = 5_000_000 OBJ pst : "Parallax Serial Terminal.spin" Copyright © Parallax Inc. 4-Directional Tilt Sensor (#28036) v1.0 12/20/2010 Page ...
Page 4
... PUB Main dira[0..1]~ pst.Start(115_200) repeat pst.Home pst.str(string("Phototransistor 1: ")) pst.bin(ina[0], 1) pst.NewLine pst.str(string("Phototransistor 2: ")) pst.bin(ina[1], 1) waitcnt(clkfreq/10 + cnt) Copyright © Parallax Inc. ' Set pins 0-1 to input ' Set Parallax Serial Terminal to 115,200 baud 4-Directional Tilt Sensor (#28036) v1.0 12/20/2010 Page ...