IEEE Spectrum April, 2009 - 15

computing.com) made it a
snap to access the computer's
audio-recording hardware.
Still, I spent a long weekend
getting the rest of the code
written-including such
niceties as a screen for
viewing the raw signals and
two simulated dashboard
gauges for instantaneous
mpg and revolutions per
minute [opposite page].
It worked great, except
for a couple of complications
I hadn't counted on. The
computer I used took forever
to boot-so much for hopping
in the car and darting off.
Also, there was no good place
to position the bulky laptop.
So while the performance
was good and the price was
right, this strategy ultimately
proved impractical.
I thus decided to replace
the laptop with an opensource fuel-economy
computer called MPGuino.
This gadget is based on the
Arduino microcontroller
and is available in kit form
for less than $40 from Spiff's
Electronics Notebook.
Assembling the MPGuino
was a quick job, and having
already located the VSS and
injector signals, the biggest
challenge (as with many
such do-it-yourself projects)
was fashioning a suitable
enclosure. I ended up with
a RadioShack project box,
which I mounted in front
on the car's used-only-for-

loose-screws ashtray. The
calibration values listed for
my model on the MPGuino
wiki (at EcoModder.com)
turned out to be spot-on, so
setup wasn't difficult.
This little "carputer"
has opened my eyes to
how my car uses gas and
what I can do to limit the
burn rate. I've learned, for
example, that idling while
stopped really does waste
a significant amount of
fuel-it's outright painful
to watch your trip-averaged
mpg tick downward while
waiting for a red light to
change. On the other hand,
sprightly acceleration burns
less fuel than I'd expected,
and it's great to watch the
instantaneous-mpg numbers
shoot up as you disengage
the clutch, lift your foot off
the gas pedal, and coast. But
leaving the car in gear to
decelerate is often a good
conservation strategy, as it
can put the engine in fuelcutoff mode, which the
MPGuino shows.
I plan to hone my
ecodriving skills with this
electronic aid. Perhaps by
this July, my 12-year-old,
three-cylinder Geo will
be challenging my town's
many Priuses for bragging
rights. In any event, I'll
be ready if gasoline prices
again climb to levels that
make your ears pop.
-David Schneider

ECU pin-out diagrams:
http://innovatemotorsports.com/resources/ecu_pinout.php
FreeView Sound Software:
http://technical-computing.com/freeviewsound.htm
Arduino microcontroller: http://arduino.cc
Spiff's Electronics Notebook: http://spiffie.org/electronics
MPGuino wiki: http://ecomodder.com/wiki/index.php/MPGuino
www.spectrum.ieee.org

Maplesoft
Maple 12, MapleSim

tools & toys
new mAth

SolidWorks, allowing
an engineer to optimize
major updates from a design in Maple and
maplesoft, wolfram, then send data back to the
Design science,
CAD program.
and tera Analysis
The new Exploration
present engineers
Assistant lets a user vary a
parameter in an equation
with a calculatory
or graph and see the
cornucopia
results. And inexperienced
he venerable math
Maple users now have
programs Maple
new templates that take
and Mathematica
common commands.
long ago outgrew pure math
Mathematica has had many
to include numerical and
of these features for some
symbolic math, graphics,
time. It's great to see that
document preparation,
competition between the
and more. Maplesoft and
two companies is easing the
Wolfram have each recently
learning curve users faced
released a major update-
on earlier releases.
Maple 12 and Mathematica 7-
The new MapleSim is an
and Maple has a new
elegant product that runs
simulation package as
in parallel with Maple 12.
well. The company is
With a few mouse clicks,
increasingly pitching to
you can create, say,
engineers-an approach that
a model of a circuit, or
has long been successful for
a thermal or mechanical
another big math program,
system, and the program
MathWorks' Matlab.
will transparently call
For example, Maple's
on Maple 12 to show
new Dynamical Systems
how it performs. Models
package helps users study
the behavior of discrete and
continuous time systems,
central to many signalprocessing and control
applications. Maple can now
communicate with the two
leading computer-aided
design packages,
Autodesk
Wolfram
Inventor and
Mathematica 7

T

April 2009 * iEEE SpEctrum * NA

21


http://www.computing.com http://www.EcoModder.com http://www.innovatemotorsports.com/resources/ecu_pinout.php http://www.technical-computing.com/freeviewsound.htm http://www.arduino.cc http://www.spiffie.org/electronics http://www.ecomodder.com/wiki/index.php/MPGuino http://www.spectrum.ieee.org

Table of Contents for the Digital Edition of IEEE Spectrum April, 2009

IEEE Spectrum April, 2009 - Cover1
IEEE Spectrum April, 2009 - Cover2
IEEE Spectrum April, 2009 - 1
IEEE Spectrum April, 2009 - 2
IEEE Spectrum April, 2009 - 3
IEEE Spectrum April, 2009 - 4
IEEE Spectrum April, 2009 - 5
IEEE Spectrum April, 2009 - 6
IEEE Spectrum April, 2009 - 7
IEEE Spectrum April, 2009 - 8
IEEE Spectrum April, 2009 - 9
IEEE Spectrum April, 2009 - 10
IEEE Spectrum April, 2009 - 11
IEEE Spectrum April, 2009 - 12
IEEE Spectrum April, 2009 - 13
IEEE Spectrum April, 2009 - 14
IEEE Spectrum April, 2009 - 15
IEEE Spectrum April, 2009 - 16
IEEE Spectrum April, 2009 - 17
IEEE Spectrum April, 2009 - 18
IEEE Spectrum April, 2009 - 19
IEEE Spectrum April, 2009 - 20
IEEE Spectrum April, 2009 - 21
IEEE Spectrum April, 2009 - 22
IEEE Spectrum April, 2009 - 23
IEEE Spectrum April, 2009 - 24
IEEE Spectrum April, 2009 - 25
IEEE Spectrum April, 2009 - 26
IEEE Spectrum April, 2009 - 27
IEEE Spectrum April, 2009 - 28
IEEE Spectrum April, 2009 - 29
IEEE Spectrum April, 2009 - 30
IEEE Spectrum April, 2009 - 31
IEEE Spectrum April, 2009 - 32
IEEE Spectrum April, 2009 - 33
IEEE Spectrum April, 2009 - 34
IEEE Spectrum April, 2009 - 35
IEEE Spectrum April, 2009 - 36
IEEE Spectrum April, 2009 - 37
IEEE Spectrum April, 2009 - 38
IEEE Spectrum April, 2009 - 39
IEEE Spectrum April, 2009 - 40
IEEE Spectrum April, 2009 - 41
IEEE Spectrum April, 2009 - 42
IEEE Spectrum April, 2009 - 43
IEEE Spectrum April, 2009 - 44
IEEE Spectrum April, 2009 - 45
IEEE Spectrum April, 2009 - 46
IEEE Spectrum April, 2009 - Cover3
IEEE Spectrum April, 2009 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1217
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1117
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1017
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0917
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0817
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0717
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0617
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0517
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0417
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0317
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0217
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0117
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1216
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1116
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1016
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0916
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0816
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0716
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0616
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0516
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0416
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0316
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0216
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0116
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1215
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1115
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1015
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0915
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0815
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0715
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0615
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0515
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0415
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0315
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0215
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0115
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1214
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1114
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1014
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0914
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0814
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0714
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0614
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0514
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0414
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0314
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0214
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0114
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1213
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1113
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1013
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0913
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0813
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0713
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0613
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0513
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0413
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0313
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0213
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0113
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1212
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1112
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1012
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0912
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0812
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0712
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0612
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0512
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0412
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0312
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0212
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0112
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1211
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1111
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1011
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0911
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0811
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0711
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0611
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0511
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0411
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0311
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0211
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0111
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1210
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1110
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1010
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0910
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0810
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0710
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0610
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0510
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0410
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0310
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0210
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0110
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1209
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1109
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1009
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0909
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0809
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0709
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0609
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0509
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0409
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0309
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0209
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0109
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1208
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1108
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1008
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0908
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0808
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0708
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0608
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0508
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0408
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0308
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0208
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0108
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1207
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1107
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_1007
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0907
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0807
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0707
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0607
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0507
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0407
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0307
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0207
https://www.nxtbook.com/nxtbooks/ieee/spectrum_na_0107
https://www.nxtbookmedia.com