Tachometer circuit problem
Capt. Quirk
Posts: 872
I have a capacitive pick-up circuit that was copied from a tach/egt unit.
The problem is the transistor used in the circuit. The part # is a npn,
but the symbol used is a pnp.
Another problem is the circuit itself, IMO, it is an NPN style, and the
output to the propeller should be low?
++ moderator, I may need to ask more questions related directly to
the propeller.
Thanks
Bill M.
The problem is the transistor used in the circuit. The part # is a npn,
but the symbol used is a pnp.
Another problem is the circuit itself, IMO, it is an NPN style, and the
output to the propeller should be low?
++ moderator, I may need to ask more questions related directly to
the propeller.
Thanks
Bill M.
Comments
rapidly to the -ve pulse from the lead.
I am curious because of the 220k resistor below the transistor. Is that part of a voltage divider?
When it is triggered, do you think the voltage will drop enough (less than ~1.7v) for the propeller
to recognize the change?
Bill M.
BTW, I found an itty bitty coil inside that MSD pickup.
healthy input negative going spike will simply pull the base down fast and charge the cap directly via
the base-emitter junction.
The tach is bouncing around high and low.
I am going to try to add another 100K resistor to the end of the pick-up wire.
A few commercial capacitive pick-ups use a resistor on the end of their pick-up
wire.
It also occurs to me that either the counter is doing a poor job of logging a high
signal to the Propeller pin. Or the pick-up circuit is possibly supplying a poor
pulse to the Propeller?
Right now I am just trying to measure rpm on my Lawnmower. But yes, it is for a
jetski, but not the MSD. The MSD is much easier thanks to the forum!
This is one part of a JetSki data acquisition system that will monitor exhaust gas temp
(EGT), cylinder head temp (CHT), rpm, acceleration, throttle position (TPS), and log it
to a large spi eeprom.
After I am finished with the JetSki data acquisition system, I want to create an object
without the EGT, and TPS. CHT's under the spark plug is easy, combined with cht
guidelines, it will make jetting much easier. EGT's, imo, are too difficult for most people
to use.
By the first of the year, I want to include a 18v transistor ignition.
But since I started the tachometer project, I have discovered that my understanding
of what the Propeller counters are capable of was incorrect. I would prefer the counters
to add clock tics to the phsa while the propeller pin is either low or high. Not simply
add the number of high or low pulses to the phsa.
Bill M.
LCD operations normally need about 37us before accepting another character except in the case of home/clear commands which require 1.5ms. Spin is slow enough that it doesn't need any extra delay for normal operations, you only need to add that delay to the home/clear. My LCD driver in Tachyon controls the brightness of the backlight through a simple PWM on the background timer cog which does something similar to the tick interrupt routine on most micros in tracking time, timers, time of day, events etc.
The capacitive pick-up is supplied with 3.3v, should the hysteresis band be increased
to provide a wider gap? Perhaps V_lo closer to ~.8v and V_hi closer to ~2.3v?
Or is that something best found through experimenting.
Since I am using the counters, can I bypass the AN015 pasm program and change the
counter to %01011 "POSEDGE detector w/ feedback" and use the same wiring diagram
in the app note with the 2 resistors using the Bpin as the feedback pin, and Apin as the
input pin?
I have never understood what the "Feedback" on a counter was used for.
I would like to learn more about that. Can you point me towards something I can read? I was
planing on using the counters to control the dwell time and ignition timing on the transistor
ignition.
Thanks
Moderator: Frequently my schematic in my first post does not show up, when I am
logged in, on this page. It doesn't matter if I am using chrome, firefox, or internet explorer?
I like the parallax LCD along with it's object. The Jonny Mac object is good for the cheap LCD's but a little more work to use. The Parallax LCD is very good but a little pricey.
The HEF40106 Hex inverting Schmitt trigger isn't enough?
Does that mean the parallax appnote an015 will most likely be insufficient?
I bought the resistors I needed today, and will test tomorrow.
One other question. Looking at my circuit (does it show up in your browser?)
Does the voltage that is applied to the base (from the sensor wire), combine with the
3.3v on the emitter side of the transistor to create a rising edge logic that is greater
than 3.3v?
Bill M.
On the transistor ignition prototype, I used 2 parallax hall sensors with a magnet glued
to the back of the sensor to read my reluctor. Many watercraft use a wasted spark system,
but this one uses individual coils for the 2 cylinder engine.
The 2 hall sensors are combined for each cylinder-coil; to create a greater degree resolution
similar to a 4 stroke with a position sensor on the crank and cam. The reluctor (and truth table)
is designed to signal which cylinder will fire, and when to start the dwell. The truth table and
software determines when to cut the dwell and create the spark.
The problem with this set-up is the need to count clock tics for 180' to 360 degrees to determine
rpm.
Currently I see calculating rpm on a single or 1/2 revolution as my greatest problem, because
it may not be accurate enough?
Hopefully I can just slow down the clock speed or add a fudge factor to the program
BM.