• Required reading for all forum users!!!

    Welcome!
    Register to access the full functionality of the GSResources forum. Until you register and activate your account you will not have full forum access, nor will you be able to post or reply to messages.

    A note to new registrants...
    All new forum registrations must be activated via email before you have full access to the forum.

    A Special Note about Email accounts!
    DO NOT SIGN UP USING hotmail, outlook, gmx, sbcglobal, att, bellsouth or email.com. They delete our forum signup emails.

    A note to old forum members...
    I receive numerous requests from people who can no longer log in because their accounts were deleted. As mentioned in the forum FAQ, user accounts are deleted if you haven't logged in for the past 6 months. If you can't log in, then create a new forum account. If you don't get an error message, then check your email account for an activation message. If you get a message stating that the email address is already in use, then your account still exists so follow the instructions in the forum FAQ for resetting your password.

    Have you forgotten your password or have a new email address? Then read the forum FAQ for details on how to reset it.

    Any email requests for "can't log in anymore" problems or "lost my password" problems will be deleted. Read the forum FAQ and follow the instructions there - that's what we have one for...

  • Returning Visitors

    If you are a returning visitor who never received your confirmation email, then odds are your email provider is blockinig emails from our server. The only thing that can be done to get around this is you will have to try creating another forum account using an email address from another domain.

    If you are a returning visitor to the forum and can't log in using your old forum name and password but used to be able to then chances are your account is deleted. Purges of the databases are done regularly. You will have to create a new forum account and you should be all set.

1st generation AUTO cancel TSCU "banging the bits"

Status
Not open for further replies.
My thought's were to measure the switches bounce and use that to set the software delay. That or sample the switches state 10ms (?) later to determine if it's sufficiently settled.

I'd rather plan ahead for all possibilities if I can. ;)

Thinking of an RC circuit to the BS170's gate as well. But as Ed likes to say, to measure is to know. Gotta see what's on the lines first.
 
Last edited:
I hope that works Dale. Remember though it can only operate within the supply it's connected to. If I remember the characteristics of the noise I saw was full scale (ie 12v or close to it) high Q and high frequency. I had to put a second order low pass filter on each input signal and then I was able to software debounce the output of that.

Fun ain't it :D
 
Martin, 1.5 great minds think alike. 1.499 yours and .001 mine.

On my way home from work tonight I was thinking about the possibility of having to add a low pass filter to the inputs. You know one other thing I been pondering for the past week or so? Robert Barr used LM7805's to down convert the voltage from the turn signal switch's to the 5 V necessary to feed the input of the 14M2 he was using.

Now why isn't he having issues with false triggering from the coils field collapsing?

http://www.cycleorings.com/piglet/picaxe tcu.JPG
 
Last edited:
.... having issues with false triggering from the coils field collapsing?

La_Forge_fights_booby_trap.jpg


We're in $hit capt'n!
 
I hope that works Dale. Remember though it can only operate within the supply it's connected to. If I remember the characteristics of the noise I saw was full scale (ie 12v or close to it) high Q and high frequency. I had to put a second order low pass filter on each input signal and then I was able to software debounce the output of that.

Fun ain't it :D

Was that power supply noise? I have measured about 250 milli-v rmswith noise synced to the rpm ( mostly from the r/r chopping ac).

Hate to ask but did you have adequate filtering on the regulator? Low ESR?

I know that switches can bounce, and debounce would be effective to a point. The other way is acomplish the same thing as a RC LPF without any parts is treat the inputs as analog and digitally LPF.

Still need a series current limit but that is it. Throw a cap on if nessesarily but just more parts.
 
Was that power supply noise?

No, it's coupled noise on the input lines from the switching at the coils. The wiring from the switch runs right between them. These days the input to whatever you try to detect a switch activation with ends up being low voltage at some point. It's a job to differentiate between what you do want to detect and the noise that's present all the time on the input signals.
 
Last edited:
No, it's coupled noise on the input lines from the switching at the coils. The wiring from the switch runs right between them. These days the input to whatever you try to detect a switch activation with ends up being low voltage at some point. It's a job to differentiate between what you do want to detect and the noise that's present all the time on the input signals.

I guess you don't have a scope trace? From what you describe I'm gathering it is something like:

when the switch is off you see a low duty cycle signal between 0-12v and when the switch in on it is a high duty cycle signal again 0-12v where no false period is longer than say 10 msec?

That being the case I would want to detect duty cycle ( an average time varying quantity). Basically counting up and down cycles over a finite sliding window.

You can do that by analog integration with a low frequency pole (a few Hz) and operate on the minus 1 slope ( you said you did a second order filter which would be a double integration ). I would tend to want to do that by performing an averaging in software. So you clamp/current limit the voltage input to the 12v range mainly to protect the controller, and now detect duty cycle . No debounce required.
 
Last edited:
I had a note cross the local hackerspace mailing list about a guy doing small-batch circuitboards online at circuitboards.com

If enough people are interested in (and can agree upon) a board solution, apparently you can get that guys to make you a few. I havn't checked out his site yet, so proceed with caution.
I have used ExpressPCB for some of my projects, and I like it. They have a design program that is not all that hard to use, then you submit the drawing to them, you have boards back in just a few days.
icon_thumbsup.gif


I wouldn't go betting the farm on it! :eek:
It's just a small farm, why not? :-k

Antfarm.jpg

.
 
Updated the first post with an 'almost' finalized design and description of how it is intended to work.
 
They are prone to failures...which is why he was doing the reworking with modern parts.
 
what's going on here?
i have one of these cigarette pack size metal boxes.
i'm sure it works as it was removed when the bike was only 10 years old...hmmmmm
good...no good...???? lol
 
Status
Not open for further replies.
Back
Top