Here's how I monitor instant fuel consumption...
Here's how I monitor instant fuel consumption...
trying to us motion feedback module with capture on state mode on pins 3,4,5
i want to set up a brushless dc motor control,I need to setup capxcon to input state change, (hall sensor as the inputs)
rest tmr5 if a change on cap1 or cap2 or cap3, us a ic interupst and ovdcond regisiters to turn on or off pwn channels (pins)in a sequence for rotation for the motor. How do I check the flags to turn on or off the channels ?(doc an899)
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
http://www.sparkfun.com/commerce/pro...roducts_id=569
It's the same screen that I posted the color lcd code to here awhile back.
Straight OBD2 data, mass air, temp, pressures, etc.etc.etc. Do enough math, mainly unit conversions and a bit of integration, and you can get almost anything you want out of OBD2...although the outputs are all 'estimated' because they're all derived from formulas with a few generic numbers (i.e. fudge factors) thrown in. But based on my driving over the past 8,000-ish miles, that 'estimation' seems to be quite accurate.What are you measuring the fuel flow with? ( the mpg goes over 60 due to the computer shuts off the fuel completely when decellerating. Impressive work.
And when the mileage goes over 60...
The Nissan I've got ('98 200SX) isn't very aggressive at decel fuel cutoff like todays vehicles are. Based on my datalogging and calculations, if I'm doing 65mph and I let off the gas, I only get complete cutoff under certain conditions (above 2000 rpm, above 25mph, closed throttle, MAF below 500grams/sesc, MAP below 6 in/hg, calc.load.val below 10%). Other than that, I figure it goes open loop and tries to hit an A/F of about 25:1. Apparently, today's vehicles go to decel cutoff as soon as you think about slowing down (which accounts for some of todays vehicles being a just a little bit jerky at lower throttle settings in my experience).
Bookmarks