Reports.GP1S036HEZ History

Hide minor edits - Show changes to output

Added lines 82-91:

!!UPDATES: I FINALLY HOOKED IT UP CORRECTLY!

Here is the final Pin Diagram:

http://itp.nyu.edu/~rm1039/oddTiltDiagram.jpg

The following diagram shows a summary of results. Please note that this sensor is digital, or better yet, binary. It shows 'on-off' states in four different positions. Interestingly, instead of '1' for 'on,' the serial value showed '3.'

http://itp.nyu.edu/~rm1039/oddTiltSerValDiag.jpg
Changed lines 63-64 from:
However, on my feeble attempt, I was able to detect very minor voltage changes during tilt.
to:
However, on my humble attempt, I was able to detect very minor voltage changes during tilt.
Changed line 66 from:
|| !Position ||! Emitter 1 ||! Emitter 2 ||
to:
||! Position ||! Emitter 1 ||! Emitter 2 ||
Changed lines 63-71 from:
to:
However, on my feeble attempt, I was able to detect very minor voltage changes during tilt.

|| border= 1
|| !Position ||! Emitter 1 ||! Emitter 2 ||
|| Upright || 4.86 || 4.86 ||
|| tilt Right || 4.96 || 4.96 ||
|| Upside Down || 4.86 || 4.96 ||
|| tilt Left || 4.96 || 4.90 ||
Changed lines 79-81 from:
1. From the graph, I don't know what output changes to expect from the sensor. First of all, which is the output pin? The emitter or the collector? I think it is the emitter.

2. Does this sensor contain a transmissive or a reflective photointerrupter?
to:
1. Which is the output pin? The emitter or the collector? I think it is the emitter.

2. From
the graph, I don't know what output changes to expect from the sensor. Does it produce voltage changes? most likely?
Added lines 41-42:
Added lines 52-68:

!!!CODE SAMPLES

I tested the above setup with a simple serout of the ADCIN value from the 2 emitter leads of the sensor. I am not sure if this was the correct way of doing it. When I viewed the results through serial, I just got insignificant values from 1019 to 1023.



!!! TYPICAL BEHAVIOR

Since I haven't gotten the sensor to work effectively at this time, I will be updating this section later. I need the class' input on my questions.


!!!APPLICATIONS

I will be using this sensor on a previous project called the 'Cocktail Grooves.' This project requires a sensor to detect tilting of glass bottles / pouring liquid from a bottle to trigger other commands. This section will also be updated later.
Changed lines 47-48 from:
to:
http://homepages.nyu.edu/~rm1039/sensor/tiltTrialCircuit.jpg
Changed lines 43-44 from:
I am in need of guidance in this aspect. So far, I have this setup, following a photointerrupter schematic diagram I found at Sharp's website.
to:
I am in need of guidance in this aspect. So far, I have this setup, following a transmissive-type photointerrupter schematic diagram I found at Sharp's website.
Added lines 47-48:
Added lines 45-46:
http://homepages.nyu.edu/~rm1039/sensor/tiltSchematics.jpg
Added line 27:
Changed lines 27-28 from:
PhotoInterrupter Datasheet: [[http://document.sharpsma.com/Handler/getfile_handler2.asp?nodeid=Documents&fileid=EC57A8D9816D4BC7888EFFC98064C7A1]]
to:
PhotoInterrupter Datasheet: [[http://document.sharpsma.com/Handler/getfile_handler2.asp?nodeid=Documents&fileid=7B98285C-809C-4B06-8D4A-A9162F408FCA]]
Changed lines 27-28 from:
PhotoInterrupter Datasheet: [[document.sharpsma.com/Handler/getfile_handler2.asp?/nodeid=Documents&fileid=EC57A8D9816D4BC7888EFFC98064C7A1]]
to:
PhotoInterrupter Datasheet: [[http://document.sharpsma.com/Handler/getfile_handler2.asp?nodeid=Documents&fileid=EC57A8D9816D4BC7888EFFC98064C7A1]]
Changed lines 27-28 from:
PhotoInterrupter Datasheet: [[document.sharpsma.com/Handler/getfile_handler2.asp?nodeid=Documents&fileid=EC57A8D9816D4BC7888EFFC98064C7A1]]
to:
PhotoInterrupter Datasheet: [[document.sharpsma.com/Handler/getfile_handler2.asp?/nodeid=Documents&fileid=EC57A8D9816D4BC7888EFFC98064C7A1]]
Changed lines 27-28 from:
PhotoInterrupter Datasheet:
to:
PhotoInterrupter Datasheet: [[document.sharpsma.com/Handler/getfile_handler2.asp?nodeid=Documents&fileid=EC57A8D9816D4BC7888EFFC98064C7A1]]
Changed lines 5-6 from:
'''What is a photointerruptor?'''
to:
'''What is a photointerruptor?''' --- (derived from Sharp website)

A photointerrupter is a type of optoelectronic device that integrates a light emitting element (for converting electrical signals to light signals) and a light detecting element (for converting light signals to electrical signals) into a single assembly.

"'Two Types:"' transmissive photointerrupters and reflective photointerrupters.

Transmissive photointerrupters contain light emitting and detecting elements that are opposite each other, detecting objects that pass between them.

Reflective photointerrupters have a light blocking barrier that reflects light from the emitter and that gets detected by the detecting element.

The GP1S036HEZ is a transmissive-type photointerrupter.
Changed lines 26-27 from:
Datasheet: [[http://www.junun.org/MarkIII/Info.jsp?item=78]]
to:
GP1S036HEZ Datasheet: [[http://www.junun.org/MarkIII/Info.jsp?item=78]]
PhotoInterrupter Datasheet:
Added lines 40-43:
!!!MICROCONTROLLER CONNECTIONS

I am in need of guidance in this aspect. So far, I have this setup, following a photointerrupter schematic diagram I found at Sharp's website.
Added lines 47-48:

2. Does this sensor contain a transmissive or a reflective photointerrupter?
Changed lines 25-26 from:
http://homepages.nyu.edu/~rm1039/sensor/tiltPinAssignments.jpg http://homepages.nyu.edu/~rm1039/sensor/pinSolder.jpg
to:
http://homepages.nyu.edu/~rm1039/sensor/tiltPinAssignments.jpg
http://homepages.nyu.edu/~rm1039/sensor/pinSolder.jpg
Changed lines 25-26 from:
http://homepages.nyu.edu/~rm1039/sensor/tiltPinAssignments.jpg http://homepages.nyu.edu/~rm1039/sensor/pinSolder.jpg
to:
http://homepages.nyu.edu/~rm1039/sensor/tiltPinAssignments.jpg http://homepages.nyu.edu/~rm1039/sensor/pinSolder.jpg
Changed lines 25-26 from:
http://homepages.nyu.edu/~rm1039/sensor/tiltPinAssignments.jpg
to:
http://homepages.nyu.edu/~rm1039/sensor/tiltPinAssignments.jpg http://homepages.nyu.edu/~rm1039/sensor/pinSolder.jpg
Added lines 21-26:
!!!PIN DESCRIPTIONS

This sensor has 5 leads. The sensor legs actually have a solderable part and a non-solderable part. Below is a diagram describing the representations of each pin.

http://homepages.nyu.edu/~rm1039/sensor/tiltPinAssignments.jpg
Changed lines 19-23 from:
Looking at the above graph, I figured that the sensor is only able to take in a maximum of 1.4 V to operate. The sensor's output seems to be a change in voltage coming from the emitter. I'm not sure of this. I know that the sensor is also described to involve a 2-phase output type. This sensor has two emitter leads.
to:
Looking at the above graph, I figured that the sensor is only able to take in a maximum of 1.4 V to operate. It may also produce a reverse voltage of 3V up to 6V max. The sensor's output seems to be a change in voltage coming from the emitter. I'm not sure of this. I know that the sensor is also described to involve a 2-phase output type. This sensor has two emitter leads and one collector lead. The collector operates with 5V and uses 55 to 300 mA.

!!!QUESTIONS

1. From the graph, I don't know what output changes to expect from the sensor. First of all, which is the output pin? The emitter or the collector? I think it is the emitter
.
Added line 19:
Looking at the above graph, I figured that the sensor is only able to take in a maximum of 1.4 V to operate. The sensor's output seems to be a change in voltage coming from the emitter. I'm not sure of this. I know that the sensor is also described to involve a 2-phase output type. This sensor has two emitter leads.
Changed lines 15-18 from:
Datasheet: [[http://www.junun.org/MarkIII/Info.jsp?item=78]]
to:
Datasheet: [[http://www.junun.org/MarkIII/Info.jsp?item=78]]

http://homepages.nyu.edu/~rm1039/sensor/tiltElectroChar.jpg
Changed lines 11-15 from:
This sensor has been used in digital cameras and camcorders. I also found that a company called LABORIUS came up with a spherical robot called Roball and used this tilt sensor for position detection. [[ http://www.usherbrooke.ca/uilo/offers/electronic/roball.htm]]
to:
This sensor has been used in digital cameras and camcorders. I also found that a company called LABORIUS came up with a spherical robot called Roball and used this tilt sensor for position detection. [[ http://www.usherbrooke.ca/uilo/offers/electronic/roball.htm]]

!!!ELECTRICAL CHARACTERISTICS

Datasheet: [[http://www.junun.org/MarkIII/Info.jsp?item=78
]]
Changed lines 9-11 from:
!!APPLICATIONS
to:
!!!APPLICATIONS

This sensor has been used in digital cameras and camcorders. I also found that a company called LABORIUS came up with a spherical robot called Roball and used this tilt sensor for position detection. [[ http://www.usherbrooke.ca/uilo/offers/electronic/roball.htm]]
Changed line 9 from:
to:
!!APPLICATIONS
Changed lines 5-6 from:
'''What is a photointerruptor?''
to:
'''What is a photointerruptor?'''
Changed lines 3-4 from:
This is a subminiature sensor that measures tilt in one plane around a 360-degree range. However, it only has 2 bits (90) of resolution, indicating upright, upside down, on its left side or on its right side.
to:
This is a subminiature sensor that measures tilt in one plane around a 360-degree range. However, it only has 2 bits (90) of resolution, indicating upright, upside down, on its left side or on its right side. The sensor has built-in photodetectors that measure the position of a ball within a chamber. The plane in which tilt is measured is defined by the gravity vector and by a line drawn through the center line of the device between the two rows of connector pins.

'''What is a photointerruptor?''
Changed lines 5-7 from:
attach: picture
to:
http://homepages.nyu.edu/~rm1039/sensor/tilt.jpg
Changed lines 5-6 from:
to:
attach: picture
Added lines 3-6:
This is a subminiature sensor that measures tilt in one plane around a 360-degree range. However, it only has 2 bits (90) of resolution, indicating upright, upside down, on its left side or on its right side.

Changed lines 1-2 from:
"'SHARP GP1S036HEZ: A PHOTOINTERRUPTOR TILT SENSOR"'
to:
!!!SHARP GP1S036HEZ: A PHOTOINTERRUPTOR TILT SENSOR
Added lines 1-2:
"'SHARP GP1S036HEZ: A PHOTOINTERRUPTOR TILT SENSOR"'