Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Gear Tooth Pulse Height ?? (http://www.chiefdelphi.com/forums/showthread.php?t=54576)

354.FIRST 19-02-2007 18:25

Gear Tooth Pulse Height ??
 
We are trying to use our gear tooth sensor.
We can see it work on the oscilloscope but Easy C gets no reading.
The pulse on the ossiloscope is about 1.2V high.
Anyone know how strong a pulse we should expect?
-354

Lloyd Burns 25-02-2007 08:15

Re: Gear Tooth Pulse Height ??
 
If you are going to a digital input (no an analog one), they typically require more than 2 V for reliable operation. If the input is typical CMOS (not TTL or TTL-compatible CMOS), the figure is 'more than half of the internal supply voltage'. I haven't taken apart a new RC, but that is probably 5 V, meaning around 2.5 volts.

Try getting the sensor closer to the tooth, or put some iron along the side of the gear to increase the magnetic field strength.

Dave K. 25-02-2007 14:18

Re: Gear Tooth Pulse Height ??
 
Quote:

Originally Posted by Lloyd Burns (Post 586046)
If you are going to a digital input (no an analog one), they typically require more than 2 V for reliable operation. If the input is typical CMOS (not TTL or TTL-compatible CMOS), the figure is 'more than half of the internal supply voltage'. I haven't taken apart a new RC, but that is probably 5 V, meaning around 2.5 volts.

Table 1-4 in the microcontroller datasheet details which pins are Schmitt trigger inputs, and which one's are TTL. Cross referencing the digital I/O definitions found in 'ifi_aliases.h' will provide the information as to which I/O pin corresponds to which pin on the CPU.

Section 28.3 of the datasheet details the minimum logic thresholds for each pin type.

Maximum Logic Low voltage:

TTL: 0.15Vdd (0.75V)
Schmitt: 0.20Vdd (1.0V)

Minimum Logic High voltage:

TTL: 0.25Vdd + 0.8V (2.05V)
Schmitt: 0.8Vdd (4.0V)


Thus, User I/O pins 1 and 2 (RB2 & RB3) would use Schmitt logic thresholds when used as interrupts. User I/O 3-6 (RB4-7) would use TTL logic thresholds for the interrupt-on-change inputs.

The other user inputs vary in type.

Lloyd Burns 26-02-2007 07:26

Re: Gear Tooth Pulse Height ??
 
As they always say, when in doubt, Read The Manual - in this case the IFI manual ! :D


All times are GMT -5. The time now is 13:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi