- Posts: 1454
- Thank you received: 25
loudhvx, look inside
- T_Dub
- Topic Author
- Offline
- User
1977 KZ650B1
-810cc
-Cavanaugh Racing Head
-Mikuni RS34's
-GPR Muffler
Please Log in or Create an account to join the conversation.
- loudhvx
- Offline
- KZr Legend
- Posts: 10868
- Thank you received: 1616
T_Dub wrote: The arduino has a 20MHz clock, so it should be fine, as long as by short you don't mean less than one twenty millionth of a second.
I measured a digital read to take about 4 usec but occasionally up to 12 usec due to background interrupts. But the time between polling will even be considerably longer than that since you will have the arduino carrying out many other instructions. They add up quickly and really slow things down. At 10,000 RPM, you'll likely have to poll for tach signal at least once every 80 usec or so to avoid missing any.
An external D-to-A might reduce the processor load (pulse interrupts, calculating RPM from elapsed time, etc) since you really don't care about the precision of the ignition pulses to just datalog the RPM.
1981 KZ550 D1 gpz.
Kz550 valve train warning.
Other links.
Please Log in or Create an account to join the conversation.
- T_Dub
- Topic Author
- Offline
- User
- Posts: 1454
- Thank you received: 25
I wonder if I can get around it. Hmm. Once the RFID is read, that instruction set is over, and it only polls one bit after that to see if I shut off the bike. So the only code after that will be to poll that, read AFR, MAP, and RPM. Maybe I can alternate, like read AFR, read RPM, read MAP, read RPM, poll shutdown bit, read RPM, repeat. There's also a couple interrupts built in I can use.
I'll see how it works when I get it set up, you never get this shit right the first time, not in my experience anyways. Always requires some tweaking.
1977 KZ650B1
-810cc
-Cavanaugh Racing Head
-Mikuni RS34's
-GPR Muffler
Please Log in or Create an account to join the conversation.
- loudhvx
- Offline
- KZr Legend
- Posts: 10868
- Thank you received: 1616
T_Dub wrote: I'll see how it works when I get it set up, you never get this shit right the first time, not in my experience anyways. Always requires some tweaking.
Heh, don't I know it.
I think you'll want throttle position in there too. With those CV's I think you're going to have to find some correlation between MAP and TP to sort of figure how the slide is moving.
Here's a cool CV video on a later GPZ550. I hope it shows up. It really shows what's going on with the slide while actually running. You can hear the motor and see the throttle linkage to get an idea of what the rider is doing. Kudos to Glbishop.
s1219.photobucket.com/albums/dd427/glbis...rrent=0820111114.mp4
1981 KZ550 D1 gpz.
Kz550 valve train warning.
Other links.
Please Log in or Create an account to join the conversation.
- T_Dub
- Topic Author
- Offline
- User
- Posts: 1454
- Thank you received: 25
So we've changed our minds on the board to use now, going to switch to a .NET based system. About the same cost and you can get a 72MHz processor, still open source too.
1977 KZ650B1
-810cc
-Cavanaugh Racing Head
-Mikuni RS34's
-GPR Muffler
Please Log in or Create an account to join the conversation.
- T_Dub
- Topic Author
- Offline
- User
- Posts: 1454
- Thank you received: 25
1977 KZ650B1
-810cc
-Cavanaugh Racing Head
-Mikuni RS34's
-GPR Muffler
Please Log in or Create an account to join the conversation.
- testarossa
- Offline
- User
- Attack life, it's only trying to kill you.
- Posts: 3678
- Thank you received: 82
1978 KZ1000 A2 Click--->Build Thread
2004 ZX-10R
2007 Harley Sportster 1200
2020 Harley Street Glide Special
Angola, IN
Please Log in or Create an account to join the conversation.
- T_Dub
- Topic Author
- Offline
- User
- Posts: 1454
- Thank you received: 25
All the sportbikes use something like that. I think they connect 1&4, 2&3, tee them off and then into a third tee or something.
1977 KZ650B1
-810cc
-Cavanaugh Racing Head
-Mikuni RS34's
-GPR Muffler
Please Log in or Create an account to join the conversation.
- loudhvx
- Offline
- KZr Legend
- Posts: 10868
- Thank you received: 1616
1981 KZ550 D1 gpz.
Kz550 valve train warning.
Other links.
Please Log in or Create an account to join the conversation.
- testarossa
- Offline
- User
- Attack life, it's only trying to kill you.
- Posts: 3678
- Thank you received: 82
Did I mention that I'm glad you are back posting? When I did my thread about logging AFR data, I think everyone except loudhvx thought I was a quack so I gave up on it. I tell you one thing, I learned a lot about my bike. Even some stuff that I didn't want to know.
1978 KZ1000 A2 Click--->Build Thread
2004 ZX-10R
2007 Harley Sportster 1200
2020 Harley Street Glide Special
Angola, IN
Please Log in or Create an account to join the conversation.
- T_Dub
- Topic Author
- Offline
- User
- Posts: 1454
- Thank you received: 25
I just had a look at the ninja parts diagrams, looks like they just tee all the cylinders into a common hose and read the pressure form there. Just have to keep the hoses as short as possible to get the best response.
1977 KZ650B1
-810cc
-Cavanaugh Racing Head
-Mikuni RS34's
-GPR Muffler
Please Log in or Create an account to join the conversation.
- T_Dub
- Topic Author
- Offline
- User
- Posts: 1454
- Thank you received: 25
testarossa wrote: I'm sure that if you can get a reliable measurement of vacuum, you can correlate that to slide height anyway.
Did I mention that I'm glad you are back posting? When I did my thread about logging AFR data, I think everyone except loudhvx thought I was a quack so I gave up on it. I tell you one thing, I learned a lot about my bike. Even some stuff that I didn't want to know.
Yeah thats what I figured, I should be able to correlate MAP to slide height fairly well.
I'm glad to be back haha, happy there are people around who don't think I'm a quack too. In my mind, the only way to tune any engine is to get hard data. Spark plug reading is way too mystical for me. I'd much rather look at a spreadsheet and say "Hey, I'm low on fuel between 3000 and 3400RPM while accelerating, better fiddle with my jets."
1977 KZ650B1
-810cc
-Cavanaugh Racing Head
-Mikuni RS34's
-GPR Muffler
Please Log in or Create an account to join the conversation.