Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now

Reply  Post New Thread
Submit Tools LinkBack Thread Tools
Old 01-16-2010, 03:20 AM   #1 (permalink)
EcoModding Lurker
Join Date: Jan 2010
Location: BC
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question OBDuino RPM output?

Hello! I am quite new to Arduino and its programming. I have an electronics background and enjoy all things automotive. In my spare time, I do a lot of automotive wiring projects, mostly the ones nobody wants to tackle. Past projects include an '05 wrx running gear in a sand rail, '92 acura legend v6 in a sand rail, and an '01 cummins with manual transmission in a '49 international panel van.
My latest project is another '01 cummins engine coupled with an automatic in a '49 international pickup. The builder is using classic hot rod style gauges, all analog, and has requested a tachometer. In a chrysler vehicle from around '01, the ECM, PCM, gauge cluster, and overhead console all communicate via chrysler's CCD bus. (a proprietary top secret language) Luckily for me, there is an OBDII port in the mix, providing me (with the help of OBDuino) all the live engine data I could ever want. Short of cutting up the original gauge cluster and incorporating it into the dash somehow, (yuck!) or using the hillbilly magnet glued to the crank pulley for RPM measurement, the OBDuino is a blessing. I have constructed mine using a bare bones board from modern devices as well as the entire elm327 circuit so i can test it in my service vehicle I drive every day, then transfer it to the project. I am happy to report that it works flawlessly and many thanks go out to those who have worked so hard on this project!
My question is: how must I modify the code to output a low pulse on an output pin to simulate the negative coil pulses of a gasoline powered engine. Being that the cummins is a 6 cylinder engine, this would equate to 3 pulses per RPM. Any insight would be greatly appreciated!


  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

Old 01-16-2010, 08:52 AM   #2 (permalink)
needs more cowbell
dcb's Avatar
Join Date: Feb 2008
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 267 Times in 210 Posts
I would look up digitalwrite in the arduino.cc playground, there is probably an example in
your arduino menu (that is how blink works), but you'll need to use a simple transistor circit to make a 12v signal out of it.

fyi, there may already be a factory installed "hillbilly magnet" if your ecu has rpm data. that could also make a 12v rpm signal with the addition of a transistor (no arduino or $30 elm required) and that wouldn't have any delays associated with layers of computer processing.

It is always nice to know what is trying to be accomplished too, especially if it relates to efficiency.

Welcome to ecomodder BTW

Last edited by dcb; 01-16-2010 at 09:00 AM..
  Reply With Quote
Old 01-17-2010, 04:11 AM   #3 (permalink)
EcoModding Lurker
Join Date: Jan 2010
Location: BC
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for your reply! I will be sure to check out the playground for the digitalwrite function.
I was pondering using the existing magnetic pickup on the engine, but I enjoy the other features offered by the OBDuino, and was hoping to learn more about the arduino.
The ELM ic was a bit of an un-needed expense, but it allows me to test on multiple vehicles. In the end, I can cut costs dramatically seeing as the dodge computers use the ISO protocol which only requires use of the Freescale MC33290 ($1.39 at Mouser) instead of the ELM.

Thanks Again!

  Reply With Quote
Reply  Post New Thread

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can low rpm damage the engine? KiaRio2004 Hypermiling / EcoDriver's Ed 24 10-03-2017 03:16 PM
OBDuino Mega jonoxer OpenGauge / MPGuino FE computer 23 03-22-2015 11:55 PM
Where did the hot-air intake idea originate? delslo The Lounge 26 08-10-2009 11:01 PM
Lower RPM for higher MPG? UltraJosua EcoModding Central 7 07-17-2009 01:56 PM
2000 rpm taco General Efficiency Discussion 37 02-28-2009 05:11 PM

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com