1st generation AUTO cancel TSCU "banging the bits"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rustybronco
    Forum LongTimer
    Bard Award Winner
    GSResource Superstar
    Past Site Supporter
    • Jul 2005
    • 14961
    • Marysville, Michigan

    #16
    Originally posted by JTGS850GL
    Am I not looking at this right or are your Left and Right switch's wired into output lines or is the bus on the 20M2 bidirectional?
    The schematic shows a 20M2 pinout. I edited the pin configuration in diptrace using their component editor but I couldn't find a way to incorporate the new part into my diagram. Guess I should read the manual someday. Not to worry, the 20M2 and 20X2 are pin for pin compatible. The only difference is the pin nomenclature.

    Here's the pinout for the 20X2... www.picaxe.com/docs/picaxex2.pdf

    Almost all of the pins are configurable as either an input, output or (??).

    Picaxe 20M2 for comparisons sake. www.picaxe.com/docs/picaxem2.pdf
    Last edited by rustybronco; 05-13-2014, 02:12 PM.
    De-stinking Penelope http://thegsresources.com/_forum/sho...d.php?t=179245

    http://www.thegsresources.com/_forum...35#post1625535

    Comment

    • bccap
      Forum LongTimer
      Past Site Supporter
      • May 2011
      • 27260
      • Vancouver B.C.

      #17
      Originally posted by Flyboy
      Means about the same to me.
      But I know it will work and work well.
      I think its written in Murrican ? I'm so confused I'm going to go out in the sunshine for a ride and contemplate my indignation......

      Comment

      • rustybronco
        Forum LongTimer
        Bard Award Winner
        GSResource Superstar
        Past Site Supporter
        • Jul 2005
        • 14961
        • Marysville, Michigan

        #18
        And may an electronically challenged Goose lay a nice big solenoid on your clean-dry windscreen while you do.
        De-stinking Penelope http://thegsresources.com/_forum/sho...d.php?t=179245

        http://www.thegsresources.com/_forum...35#post1625535

        Comment

        • bccap
          Forum LongTimer
          Past Site Supporter
          • May 2011
          • 27260
          • Vancouver B.C.

          #19
          Originally posted by rustybronco
          And may an electronically challenged Goose lay a nice big solenoid on your clean-dry windscreen while you do.
          Never mind the TSCU. Figure out how I can put an air conditioner on the bike ? { nice comeback by the way }

          Comment

          • rustybronco
            Forum LongTimer
            Bard Award Winner
            GSResource Superstar
            Past Site Supporter
            • Jul 2005
            • 14961
            • Marysville, Michigan

            #20
            Originally posted by Griffyn
            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.
            Thanks for the heads up! I plan on using OSHpark's board service when this project gets that far.

            De-stinking Penelope http://thegsresources.com/_forum/sho...d.php?t=179245

            http://www.thegsresources.com/_forum...35#post1625535

            Comment

            • rustybronco
              Forum LongTimer
              Bard Award Winner
              GSResource Superstar
              Past Site Supporter
              • Jul 2005
              • 14961
              • Marysville, Michigan

              #21
              I just found out that seven of the 20X2's pins are Schmitt triggers. That may help with the noise issue on the cancel switch combined-in addition to software debouncing. Moved the output of the reed switch to C.5 of the ?C.


              De-stinking Penelope http://thegsresources.com/_forum/sho...d.php?t=179245

              http://www.thegsresources.com/_forum...35#post1625535

              Comment

              • posplayr
                Forum LongTimer
                GSResource Superstar
                Past Site Supporter
                • Dec 2007
                • 23673
                • Tucson Az

                #22
                Originally posted by rustybronco
                I just found out that seven of the 20X2's pins are Schmitt triggers. That may help with the noise issue on the cancel switch combined-in addition to software debouncing. Moved the output of the reed switch to C.5 of the ?C.


                https://en.wikipedia.org/wiki/Schmitt_trigger
                With sufficent sw debounce period the Schmitt trigger should be irrelevant.

                Comment

                • rustybronco
                  Forum LongTimer
                  Bard Award Winner
                  GSResource Superstar
                  Past Site Supporter
                  • Jul 2005
                  • 14961
                  • Marysville, Michigan

                  #23
                  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 by rustybronco; 05-14-2014, 02:52 AM.
                  De-stinking Penelope http://thegsresources.com/_forum/sho...d.php?t=179245

                  http://www.thegsresources.com/_forum...35#post1625535

                  Comment

                  • Wallowgreen
                    Forum Mentor
                    Past Site Supporter
                    • Sep 2007
                    • 953
                    • Navarre, Florida

                    #24
                    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
                    It's smoke that make electronic components work.
                    Every time I've let the smoke out by mistake, they never work again.
                    '80 GS250T... long gone... And back!
                    '86 Honda Bol D'Or... very sadly long gone
                    '82 GS1000SZ
                    '82 GS1100GL
                    '01 Honda CBR1100XX BlackBird

                    Comment

                    • rustybronco
                      Forum LongTimer
                      Bard Award Winner
                      GSResource Superstar
                      Past Site Supporter
                      • Jul 2005
                      • 14961
                      • Marysville, Michigan

                      #25
                      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?

                      Last edited by rustybronco; 05-13-2014, 10:37 PM.
                      De-stinking Penelope http://thegsresources.com/_forum/sho...d.php?t=179245

                      http://www.thegsresources.com/_forum...35#post1625535

                      Comment

                      • Guest

                        #26
                        Originally posted by rustybronco
                        .... having issues with false triggering from the coils field collapsing?


                        We're in $hit capt'n!

                        Comment

                        • posplayr
                          Forum LongTimer
                          GSResource Superstar
                          Past Site Supporter
                          • Dec 2007
                          • 23673
                          • Tucson Az

                          #27
                          Originally posted by Wallowgreen
                          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
                          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.

                          Comment

                          • robertbarr
                            Forum Sage
                            Past Bard Award Winner
                            GSResource Superstar
                            • Sep 2005
                            • 2721
                            • Joliet, Illinois

                            #28
                            Originally posted by rustybronco
                            .

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

                            http://www.cycleorings.com/piglet/picaxe%20tcu.JPG
                            Probably because that unit was never installed on a motorcycle. I sort of sold the bike it was intended for. Being 30 feet away from any running machinery doesn't provide much of a test of that aspect.
                            and God said, "Let there be air compressors!"
                            __________________________________________________ ______________________
                            2009 Suzuki DL650 V-Strom, 2004 HondaPotamus sigpic Git'cha O-ring Kits Here!

                            Comment

                            • rustybronco
                              Forum LongTimer
                              Bard Award Winner
                              GSResource Superstar
                              Past Site Supporter
                              • Jul 2005
                              • 14961
                              • Marysville, Michigan

                              #29
                              If you throw enough parts at it the problem should go away.

                              Might as well plan ahead for it. http://sim.okawa-denshi.jp/en/CRCRtool.php
                              De-stinking Penelope http://thegsresources.com/_forum/sho...d.php?t=179245

                              http://www.thegsresources.com/_forum...35#post1625535

                              Comment

                              • Wallowgreen
                                Forum Mentor
                                Past Site Supporter
                                • Sep 2007
                                • 953
                                • Navarre, Florida

                                #30
                                Originally posted by posplayr
                                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 by Wallowgreen; 05-14-2014, 09:23 AM.
                                It's smoke that make electronic components work.
                                Every time I've let the smoke out by mistake, they never work again.
                                '80 GS250T... long gone... And back!
                                '86 Honda Bol D'Or... very sadly long gone
                                '82 GS1000SZ
                                '82 GS1100GL
                                '01 Honda CBR1100XX BlackBird

                                Comment

                                Working...