I sure hope I don't find any more bugs in my code. I'm ready for this thing to just be working properly.Looks to me as if you have made a significant find and may find others, who knows.
It's a good skill to have, especially when it comes to earning a paycheck. I've been programming for about 14 years now, but I finally just recently feel like I can do something useful with it in my personal life now that I've been introduced to microcontrollers. I'm already trying to figure out my next project. I'm thinking of using a gyroscope and/or accelerometer to implement self-canceling turn signalsIt IS nice to know code, huh?
Hmmm... maybe I'll improve mine to take the gear into consideration. It might be nice to prevent cruising mode in 1st and 2nd gear.I think if I was doing it I would only 'select' cruise when in 5th gear & would probably opt for a steady TPS signal (as that is something I could control).
A little bit of searching didn't find anything with a lot of confidence. I know some systems are just a timer. Some are based on distance traveled. Some combine the two. There is a patent from 1977 for a gyroscope-based self-cancelling system. I'd have to assume there's systems available now that use a gyroscope. The gyroscope method will be a fun project. Basically, after the turn signal is activated, it would wait for a significant rotation of the motorcycle (leaning) in the direction of the turn, then a rotation in the opposite direction would finally cause the signal to cancel. The idea is simple, but it will take a lot of fine-tuning to ignore noise in the signal from the gyroscope, and to figure out how much of a rotation to require to trigger the cancelling.As for the self cancelling turn signals - have you tried to find what Harley's use?
I'll do my bestKeep up the good work :clapping:
This is a very interesting project. One suggestion that I have is that you should consider having the cruise map limited to 5th gear only (or maybe 4th and 5th gear). This is an "AND" condition in addition to your already existing criteria to enter the cruise map. Do you have the gear information available to you? If not, you can use the vehicle speed and engine rpm to calculate the gear.
Re-read my initial post. That's pretty much exactly the approach I started with, but I used the data logger to target only specific RPM/throttle combinations used while cruising (so it's better than blindly leaning out 5-10% throttle). The problem is that some of these cruising areas are also passed through during light acceleration. Lean it out too much, and you get surging/hesitation while taking off from a light and cornering around an intersection - not fun!However - With a power commander you could lean out the 5 - 10% throttle openings which is what is used when cruising, and have the rest tuned as wanted for when accelerating. I believe that would be a simpler way to accomplish the same 'idea.'
My figures were for my typical daily riding only. I recently did a 190 mile day trip on on mostly 40-55mph back roads, a bit of freeway, and some suburban traffic. I averaged 48mpg on that trip.I get 40-41 on a typical tank and 45+ on highway, and if I'm on the gas all the time having fun in some hills I get about 37-38 keeping it in 3-4 gears accelerating a lot. Keep us updated.
Well damn, Mr. Bold, easy buddy, I'll just refrain from commenting from now on since you get so defensive. :lol:My figures were for my typical daily riding only. I recently did a 190 mile day trip on on mostly 40-55mph back roads, a bit of freeway, and some suburban traffic. I averaged 48mpg on that trip.
Enter your email address to join:
Register today and take advantage of membership benefits.
Enter your email address to join: