Kawasaki VN750 Forum banner

Data Logger.

2462 Views 76 Replies 8 Participants Last post by  Buddy
Well, a good project is never done! I'm expanding on my Ignitech Ignition module project.

A gentleman from New Zealand contacted me with interest in my logging program. He's using the Ignitech on his 2 stroke race bike and wants to log his races. He didn't like the idea of hauling around a laptop in a backpack for data-logging, so he asked me if I could set up an M5 Core2 (pictured below) to do the datalogging. I agreed, so he bought me one in exchange for helping him.

Product Communication Device Portable communications device Mobile device Output device


So, I'm rewriting my program to run on one of these.

In addition to logging, I'm hoping to use the small screen to output some of the data.
For my use, I'm planning on displaying RPM and engine vacuum. I already found that my tach is inaccurate, showing about 900 when the ignitech shows 1100.
The engine vacuum would be useful for syncing the carbs.

I haven't decided yet if I'm going to try to mount it up by the gauges, or if I'm going to tuck it under the trim panel, or not mount it at all.
Of course, this isn't waterproof, but the gentleman from New Zealand is working on a solution for that.

We're also talking about implementing GPS for speed monitoring. The built in accelerometer can be used to record G forces and lean angles.
If I have GPS speed data, I can use that along with RPM to show a gear indicator.

This project is going way beyond practical and is getting into the "just for fun" and "why not?" category. Clearly the 750 isn't a track bike. But it's now getting into a more universal project that can be used on more bikes. But I see some practical uses, like using G forces to practice emergency stopping.

After a week or so of fighting through some code bugs, I finally got the LCD screen to display "Hello World".
I'll periodically update my progress on here, unless this project is deemed too far off scope of the Vulcan 750.
I won't be offended if asked not to post updates. It is a bit off topic.
I suppose it could move it to the Goats Belly too. Whatever the administrators decide is ok with me.
See less See more
  • Like
Reactions: 2
41 - 60 of 77 Posts
The video should work now. (Content redacted to save space. Because NASA said so.)
Jason, have you ever ridden your Vulcan for, you know, fun? Or leisure? You're like the Mad Frankenstein of Kawasaki Vulcans! 🤣😂🤣
  • Haha
Reactions: 1
That is most likely the most high tech VN750 around. Truly all you need now is fuel injection and a overdrive or 6th gear
That is most likely the most high tech VN750 around. Truly all you need now is fuel injection and a overdrive or 6th gear
I'd love to have EFI, but after asking about it here, it turns out it would be a phenomenal pain-in-the-a$$.
Conversion to a good single carb would be fine unless you had the electronics Jason does.
Conversion to a good single carb would be fine unless you had the electronics Jason does.
I'm absolutely going to try to switch to a single carb in the spring. I did talk to the local motorcycle mechanic, and he said he'd do the conversion for $250, not including parts. I can't imagine spending over $500 just to make the switch to EFI. But it would definitely be cool to have.
Although I find the science here very interesting, my gut still tells me TMI.
I shift when I feel like it, not concerned over precision. As long as I’m sure my battery is charging I need no specifics.
But hats off to you for this.
Jason, have you ever ridden your Vulcan for, you know, fun? Or leisure? You're like the Mad Frankenstein of Kawasaki Vulcans! 🤣😂🤣
I assure you I still take great pleasure in riding! Now I am able to measure exactly how much fun I'm having per ride! 😂😂😂

I was unable to ride for three weeks due to an appendectomy, so this kept me from going crazy.

I rode about 120 miles today. I added a total revs counter, because why not. It's currently only visible in the debug mode (text way too tiny to see while riding). But I'm just shy of 400,000 revolutions on the engine today. I also have Ambient temperature (shown in Fahrenheit) and a placeholder for Cylinder Head Temperature and Exhaust Gas Temperature (both were a request from the New Zealand fellow). GPS data is strong (VDOP, PDOP, HDOP, Sat etc). The whole trip consumed about 40% of the battery.
Font Display device Technology Electronic signage Signage

Attachments

See less See more
2
I assure you I still take great pleasure in riding! Now I am able to measure exactly how much fun I'm having per ride! 😂😂😂

I was unable to ride for three weeks due to an appendectomy, so this kept me from going crazy.

I rode about 120 miles today. I added a total revs counter, because why not. It's currently only visible in the debug mode (text way too tiny to see while riding). But I'm just shy of 400,000 revolutions on the engine today. I also have Ambient temperature (shown in Fahrenheit) and a placeholder for Cylinder Head Temperature and Exhaust Gas Temperature (both were a request from the New Zealand fellow). GPS data is strong (VDOP, PDOP, HDOP, Sat etc). The whole trip consumed about 40% of the battery.
View attachment 55157
Market this gadget to Kawasaki, The Good Times Meter!


  • Like
  • Haha
Reactions: 2
I added a new speedometer option.

It will read the RPM and calculate the speed in all 5 gears. It compares these values to the GPS speed.
Whatever one is closest, it picks as the gear in use.
I found the GPS speed had about 1/2 second delay, so rapid speed changes confused the gear indicator.
So now I have it compare the RPM data with a 1/2 second delay to the GPS speed data to pick the current gear.
If the gear is known, it will display the calculated speed with no delay.
If the gear is unknown, it will revert back to displaying GPS speed.

Because of the 1/2 second delay, gear changes result in the gear indication being incorrect for 1/2 second.
Also for that 1/2 second, the indicated speed is off by the amount the RPM changed.
So normal acceleration shows momentary rapid drops in speed.
In practice, it's so brief as to be a non-issue.
Using the calculated speed instead of GPS speed shows a much more steady speed.
It also is more up-to-date.
The GPS speed wanders +/- 2 MPH when your actual speed isn't changing.

I've also implemented the thermocouples.
One was taped to the engine block and the other is just hanging out in the air.
I hope to stuff one inside a radiator hose at some point.
I considered using two more for EGT on both pipes.
Ambient air temp is read from the main unit, or any of the thermocouple units.

All of this has actually been useful.
I found that my current ignition settings are still giving some advance over stock at full throttle. The intent was stock timing at WOT.
I've noticed elevated temperatures when riding for awhile at 80 MPH.
I'm wondering if I'm getting a bit of detonation, and extra heat.
I first noticed it on my trip to CO, but it was nearly 100 degrees and sunny.
But a recent ride, the temperature was below 70 and it was at night.
See less See more
I have surpassed 1 million engine revolutions with my datalogger!
  • Like
Reactions: 3
I have surpassed 1 million engine revolutions with my datalogger!
Sounds like a lot! Time for a rebuild.
I refined the calculated speed to better accommodate gear changes.
If the RPM changes by more than 12% within 1/2 second, it assumes a gear change and calculates the speed based on the expected new gear.
After 1/2 second, the GPS speed again matches the calculated speed.
This keeps the displayed speed from jumping around.
It's not perfect, and the graph will sometimes show small spikes in speed, but it's much better than before.

I added 2 resettable trip meters that track miles, engine revs and running time.
I might add a 3rd: one for oil change intervals, one for fuel ups, and one for a particular trip.

I'm working now on rotating the accelerometer data to accommodate non-level mounting.
Once this is done, it'll be possible to estimate speed by integrating acceleration over time.
GPS speed not only has the 1/2 second delay in reported speed, it also has a longer and somewhat variable delay in showing speed when accelerating from a stop.
As a result, the gear indicator isn't reliable until about 3rd gear on spirited accelerations.
Rotating the accelerometer data will also allow me to record lean angles.
Using acceleration data for speed would allow me to maintain speed should I lose GPS reception.
Eventually, I should be able to corelate changes in RPM to acceleration to determine speed and gear without GPS.

Somewhere along the way, my GPS stopped updating 10 times a second and is only updating 1 time a second.
It might have been when I told it to use multiple GPS networks (GLONASS, Beidou, Galileo etc).
Some GPS units lose reporting frequency when using multiple networks.

I put one thermocouple into a radiator tube while I was doing a coolant flush.
Unfortunately, the probe is in contact with the metal housing and it's shorting to ground.
So I'm not getting a proper temperature reading.
I put it in the hose between the thermostat housing and the fill cap from the cap side, but I couldn't get the probe to go past the lip.

I added a grade calculator that compares the altitude every 1/10 of a mile to determine the grade of the roadway.

I added lifetime max speed and min/max altitude.

I modified the physical power button to function as a physical sleep button (short press) and a soft power button (3 second hold) in addition to a hard power button (6 second hold).
This allows for power down with gloves on. Previously it required the touch screen to safely power off (save all variables to memory).
Waking up from sleep happens either by screen touch, or key on/kill switch off.
Sleep happens either by a short press of power button, or 2 minutes of inactivity (key off/kill switch on) and GPS speed under 3.5 MPH.
See less See more
  • Like
Reactions: 1
I refined the calculated speed to better accommodate gear changes.
If the RPM changes by more than 12% within 1/2 second, it assumes a gear change and calculates the speed based on the expected new gear.
After 1/2 second, the GPS speed again matches the calculated speed.
This keeps the displayed speed from jumping around.
It's not perfect, and the graph will sometimes show small spikes in speed, but it's much better than before.

I added 2 resettable trip meters that track miles, engine revs and running time.
I might add a 3rd: one for oil change intervals, one for fuel ups, and one for a particular trip.

I'm working now on rotating the accelerometer data to accommodate non-level mounting.
Once this is done, it'll be possible to estimate speed by integrating acceleration over time.
GPS speed not only has the 1/2 second delay in reported speed, it also has a longer and somewhat variable delay in showing speed when accelerating from a stop.
As a result, the gear indicator isn't reliable until about 3rd gear on spirited accelerations.
Rotating the accelerometer data will also allow me to record lean angles.
Using acceleration data for speed would allow me to maintain speed should I lose GPS reception.
Eventually, I should be able to corelate changes in RPM to acceleration to determine speed and gear without GPS.

Somewhere along the way, my GPS stopped updating 10 times a second and is only updating 1 time a second.
It might have been when I told it to use multiple GPS networks (GLONASS, Beidou, Galileo etc).
Some GPS units lose reporting frequency when using multiple networks.

I put one thermocouple into a radiator tube while I was doing a coolant flush.
Unfortunately, the probe is in contact with the metal housing and it's shorting to ground.
So I'm not getting a proper temperature reading.
I put it in the hose between the thermostat housing and the fill cap from the cap side, but I couldn't get the probe to go past the lip.

I added a grade calculator that compares the altitude every 1/10 of a mile to determine the grade of the roadway.

I added lifetime max speed and min/max altitude.

I modified the physical power button to function as a physical sleep button (short press) and a soft power button (3 second hold) in addition to a hard power button (6 second hold).
This allows for power down with gloves on. Previously it required the touch screen to safely power off (save all variables to memory).
Waking up from sleep happens either by screen touch, or key on/kill switch off.
Sleep happens either by a short press of power button, or 2 minutes of inactivity (key off/kill switch on) and GPS speed under 3.5 MPH.
I love reading about your project! At the end of the day, what exactly is the ultimate goal here? Don't mistake this sincere question for anything other than that. As exciting as it is to see your progress, I'm still not quite sure what the goal is.

A portable GPS device that will tell you when the optimum moment to shift gears has occurred? I also don't quite understand the benefit of recording the lean angle information.

Once you've completed this entire project to your satisfaction, will this be something that you offer for sale? I'd buy one just for the novelty of it.
  • Like
Reactions: 1
At the end of the day, what exactly is the ultimate goal here?
I just don't know when to quit! :ROFLMAO:

It started as a joint project for another user to tune their motorcycle, thus a portable datalogger.
The other user was using a knock sensor and wanted to see if he had knock during his rides.

From there, I just started dreaming about what's possible.
I've found myself using the gear indicator like a crutch while riding, because it's just so convenient to look down and see "5th" staring back up at you.
Lean angles are fun to see if and where I'm pushing it in the corners.
I started logging total engine revolutions just because, and I also want to see how consistent it is between oil changes.
IE, is 3000 miles always around the same number of revolutions?

I want to see how much (if any) retarding the ignition timing improves engine warm up.

In my thread on the ignition controller, I posted that I was looking back at a random data log and found a dead spot in the throttle in the 3-4k RPM.

Some of the accelerometer based speed estimates I might end up using at my job.

To answer your last question, I doubt I will ever be satisfied, because there's always something I can add or improve! :ROFLMAO:
But I'd sell one to anyone interested.
See less See more
To me it sounds like an engineer “engineering” for fun and I say why the hell not? If you’re selling a product then finding a practical purpose is always important, but If you simply love science and want to apply it to wherever possible then I say have at it. Keep asking more questions and finding more answers. More data is never a bad thing it may come in useful later.
That’s my GenX tech guy mind frame.
  • Helpful
Reactions: 1
To me it sounds like an engineer “engineering” for fun and I say why the hell not? If you’re selling a product then finding a practical purpose is always important, but If you simply love science and want to apply it to wherever possible then I say have at it. Keep asking more questions and finding more answers. More data is never a bad thing it may come in useful later.
That’s my GenX tech guy mind frame.
Agreed, for sure. But I had to know if there was some sort of ultimate goal he was after. Tinkering for tinker's sake is always a good thing in my book.
  • Like
Reactions: 1
I decided to take a crack at an MPG and fuel consumption estimator. According to my screen, I'm getting -18.5 MPG and I had 0.4 gallons more in my tank after my commute then when I left! :cool:

Clearly a math error somewhere.
  • Haha
  • Wow
Reactions: 3
I decided to take a crack at an MPG and fuel consumption estimator. According to my screen, I'm getting -18.5 MPG and I had 0.4 gallons more in my tank after my commute then when I left! :cool:

Clearly a math error somewhere.
Nooo, no math error there. Your expertise and skill are impeccably perfect, Jason.

You know what it is? It's a glitch in the matrix, man. Maybe you DO have 0.4 more gallons than when you left, eh??? Did you actually empty the tank and measure the fuel? HUH?

Don't be a doubter, Jason. That magical data logger of yours produces free gasoline!!! Ssssshhhhhh, don't tell anyone. Next thing you know, NASA will be ringing your doorbell. Them, or Exxon.

:goodbrain:
  • Haha
Reactions: 1
I adjusted the MPG algorithm and now I'm seeing 25-35 MPG (positive this time :ROFLMAO:) while riding. It's still estimating low, so it needs some work still.
I added some resettable trip-meters. I'm curious how many REVS it takes to go 3000 miles (IE per oil change).

I'm looking into a way to tie it into the stock tach output in order to use it without an Ignitech.

I'm also going to put some shrinkwrap over the thermocouple I put in the coolant hose. It's grounding against the radiator and shorting out the signal.
The insulation will slightly slow down it's response, but I don't need super fast response on engine temperature.

Maybe one day I'll tie in the fuel sender.
I adjusted the MPG algorithm and now I'm seeing 25-35 MPG (positive this time :ROFLMAO:) while riding. It's still estimating low, so it needs some work still.
I added some resettable trip-meters. I'm curious how many REVS it takes to go 3000 miles (IE per oil change).

I'm looking into a way to tie it into the stock tach output in order to use it without an Ignitech.

I'm also going to put some shrinkwrap over the thermocouple I put in the coolant hose. It's grounding against the radiator and shorting out the signal.
The insulation will slightly slow down it's response, but I don't need super fast response on engine temperature.

Maybe one day I'll tie in the fuel sender.
I can't get above 34mpg, just have a lead ... elbow, I guess.
41 - 60 of 77 Posts
Top