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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 03-28-2008, 09:41 AM   #121 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
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 269 Times in 212 Posts
I have a confession, I ordered both a serial and a USB, and the little $7 rs232 card for the usb model: http://www.nkcelectronics.com/rs232-...converter.html

I want the $17 one to work because that brings the mpg gauge cost down noticibly and has better reuse potential with older devices without additional costs.

I got the usb one because, well, that's what my blackberry uses. I don't know why I bought the rs232 board though

Re Power Supply voltage, the 7805 is rated for like 35 volts, so it can handle it electrically speaking. Mine didn't feel warm at all at 15 volts after being on for half an hour, but it was only blinking an LED. Dunno, I'd hate to be scared into buying unnecessary components on the one hand, and 7805s are pretty cheap if it does quit.

__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 03-28-2008 at 09:52 AM..
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 03-28-2008, 01:42 PM   #122 (permalink)
I"m not lurking!
 
s2man's Avatar
 
Join Date: Jan 2008
Location: Kansas City, MO
Posts: 128

Porthos - '96 Chevrolet Cavalier
90 day: 31.3 mpg (US)
Thanks: 0
Thanked 1 Time in 1 Post
Yeah, it's rated for 35V. Sorry for the scare. What I read must have pertained to another regulator or 'duino clone.

That $17 Freeduino kit is a great deal. I haven't found a cheaper platform for the our gauge. The tiny Boarduino ($17.5) and Real Bare Bones Board ($15) don't come with serial ports, so folks would still need to buy a programmer. Plus, the Freeduino is the same form factor as the Arduino.
__________________
Roll on,
Stew

  Reply With Quote
Old 03-30-2008, 08:48 PM   #123 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 22,515

Blackfly - '98 Geo Metro
Team Metro
Last 3: 70.09 mpg (US)

MPGiata - '90 Mazda Miata
90 day: 52.71 mpg (US)

Even Fancier Metro - '14 Mitsubishi Mirage top spec
90 day: 70.75 mpg (US)

Appliance car - '14 Mitsubishi Mirage ES (base)
90 day: 52.48 mpg (US)
Thanks: 4,062
Thanked 6,960 Times in 3,604 Posts
Couple of things...

First..

Quote:
Originally Posted by dcb View Post
FYI, we have a discussion forum on sourceforge for OpenGauge
https://sourceforge.net/forum/forum.php?forum_id=801345
I exchanged PMs with dcb about sourceforge, and we decided based on the number of EM people who signed up there (4), compared to the number who have contributed to this thread (lots more than 4) that we're going to host the development thread here.

Tomorrow I'm going to add a new forum to EM: "Instrumentation" and start the development thread.

I'll also comb the forums and move all the relevant threads about the MID/SG/vac gauges etc. into the new forum.

dcb asked if I can make it so non-reg'd visitors can post in the OG/MPGuino thread. I can do that, if I make the opengauge/mpguino thread in a subforum of "Instrumentation". Just to clarify, were you asking for that so people who see it at sourceforge can post?

-----

Second: This evening I assembled my freeduino kit. Took me around an hour and a half. Captain slow! I discovered an omission in the assembly instructions at freeduino.org, but it's not rocket science.

For those who are thinking of making their own, I'll post a DIY tomorrow as well.

I'm happy to say it went relatively smoothly, and I just did my "hello world!" equivalent first program and it works! Woo!

I've never done anything like this before, so it's a good sign for others who are wondering if they're up to the task.
__________________
Project MPGiata! Mods for getting 50+ MPG from a 1990 Miata
Honda mods: Ecomodding my $800 Honda Fit 5-speed beater
Mitsu mods: 70 MPG in my ecomodded, dirt cheap, 3-cylinder Mirage.
Ecodriving test: Manual vs. automatic transmission MPG showdown



EcoModder
has launched a forum for the efficient new Mitsubishi Mirage
www.MetroMPG.com - fuel efficiency info for Geo Metro owners
www.ForkenSwift.com - electric car conversion on a beer budget
  Reply With Quote
Old 03-30-2008, 10:32 PM   #124 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
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 269 Times in 212 Posts
Quote:
Originally Posted by MetroMPG View Post
dcb asked if I can make it so non-reg'd visitors can post in the OG/MPGuino thread.
I ask because it was a sourceforge option, I cannot speak much to the wisdom of allowing completely anonymous posters, but there are some obvious concerns:

On the one hand some folks will have trouble registering here and won't be able to post, likely when they are trying to get help with something.

On the other hand the quality of the posts may suffer when allowing completely anonymous users to post.

P.S. Good job getting the freeduino together. It is quite a satisfying thing to get that little computer to do what you tell it, no? I showed it off to several visitors this weekend and they were duely impressed, also got it to wiggle a servo motor which was kind of cool.

I do think, getting it to do more than one thing at a time WELL is going to be an interesting challenge.

P.P.S. re communication, the serial version just uses a couple transisters to simulate rs232, it does not do any buffering or anything, so I think the atmega should only transmit (like a logging device), and not do any handshaking with the palm/laptop. Once a second it sends out 3 bytes for number of high cycles (24 bit unsigned integer), 3 bytes for total number of cycles(24 bit unsigned integer), and 2 bytes for vss tics(16 bit unsigned integer), and the palm/laptop, which probably has decent rs232 support, will have to collect the info at least once a second.

If the palm/laptop has to collect the data once a second but postpone the display update for 4 seconds or something, because the display update takes more than a second and there is no thread prioritization, then that's the way it has to be.

P.P.P.S. The obdgauge palm software seems to have a fatal flaw that I'm not keen on fixing at the moment, I will try and model the palm gui after the laptop version, though I will first try and get the laptop version to speak the once a second 8 byte receive only protocol described above. It's a lot easier for me to work on java than palm, and anyone working on the signal processing might want to debug the atmega without buying additional hardware.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 03-30-2008 at 10:52 PM..
  Reply With Quote
Old 03-31-2008, 09:27 AM   #125 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
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 269 Times in 212 Posts
We may need another value for the total number of injector pulses (RPM would be nice).

Here is http://planetchampions.org/diympggauge/i1.wav parsed into about 26 once a second data values (has an injector on one channel and a vss on the other). It should be possible to play inj.wav into the freeduino signal processor and come up with similiar numbers on the serial port.
Code:
//tCycles and injHIMS in microseconds, injCount can help with RPM, vssCount for speed/distance
unsigned long tCycles[]={1000000,1500000,1000000,1000000,1000000,1500000,1000000,1000000,1000000,1000000,1500000,1000000,1000000,1000000,1000000,1500000,1000000,1000000,1000000,1000000,1500000,1000000,1000000,1000000,1500000,684965};
unsigned long injHIms[]={69002,168956,115736,105510,201632,188231,164693,165873,176190,113628,212222,86780,48253,39501,38049,55941,37006,37142,39433,62879,107392,72993,89047,92562,115170,47891};
unsigned int injCount[]={37,55,42,42,43,71,50,42,46,68,37,38,39,38,55,36,34,33,32,47,32,31,32,32,49,22};
unsigned int vssCount[]={0,8,11,14,26,20,22,25,38,28,28,29,28,42,26,26,25,24,35,24,23,24,24,36,17};
I will attempt to add these to a dummy freeduino program that spits these 4 values out the serial port once a second, as soon as I figure out timer interrupts. It may be that tCycles isn't necessary, but the samples from the soundcard were not so predictable in size.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 03-31-2008 at 10:11 AM..
  Reply With Quote
Old 03-31-2008, 04:21 PM   #126 (permalink)
FuelSipper
 
Join Date: Mar 2008
Location: Dallas, TX
Posts: 99

HondaHokie - '95 Honda Accord DX 4 door
90 day: 26.91 mpg (US)
Thanks: 0
Thanked 8 Times in 3 Posts
Quote:
Originally Posted by MetroMPG View Post
Couple of things...

Second: This evening I assembled my freeduino kit. Took me around an hour and a half. Captain slow! I discovered an omission in the assembly instructions at freeduino.org, but it's not rocket science.

For those who are thinking of making their own, I'll post a DIY tomorrow as well.

I'm happy to say it went relatively smoothly, and I just did my "hello world!" equivalent first program and it works! Woo!

I've never done anything like this before, so it's a good sign for others who are wondering if they're up to the task.
Well I should go ahead and get mine then! Thanks for the update. You got the USB version, correct?
  Reply With Quote
Old 03-31-2008, 04:29 PM   #127 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 22,515

Blackfly - '98 Geo Metro
Team Metro
Last 3: 70.09 mpg (US)

MPGiata - '90 Mazda Miata
90 day: 52.71 mpg (US)

Even Fancier Metro - '14 Mitsubishi Mirage top spec
90 day: 70.75 mpg (US)

Appliance car - '14 Mitsubishi Mirage ES (base)
90 day: 52.48 mpg (US)
Thanks: 4,062
Thanked 6,960 Times in 3,604 Posts
Confirm with dcb, but I think you want to get the serial *duino if you want to pursue Palm connectivity.

(I had already ordered the USB one before that project track developed).

Also, I won't be posting that DIY today - too busy - but I will get it up there in the next few.
__________________
Project MPGiata! Mods for getting 50+ MPG from a 1990 Miata
Honda mods: Ecomodding my $800 Honda Fit 5-speed beater
Mitsu mods: 70 MPG in my ecomodded, dirt cheap, 3-cylinder Mirage.
Ecodriving test: Manual vs. automatic transmission MPG showdown



EcoModder
has launched a forum for the efficient new Mitsubishi Mirage
www.MetroMPG.com - fuel efficiency info for Geo Metro owners
www.ForkenSwift.com - electric car conversion on a beer budget
  Reply With Quote
Old 03-31-2008, 08:33 PM   #128 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
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 269 Times in 212 Posts
re: serial v/s usb.

If you have a serial port, you can save yourself $7 and get the serial version. I cannot guarantee it will work with the palm yet, but certainly it will work with the standalone MPGUino, and why make end users pay for a usb port that they will only use once to program it?

Of course if yoru pc/laptops are legacy free, you might want to get the usb version.

If you want to prepare for all support contingencies, then get one of each and possibly the rs232 card
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 03-31-2008 at 09:01 PM..
  Reply With Quote
Old 04-01-2008, 09:59 AM   #129 (permalink)
FuelSipper
 
Join Date: Mar 2008
Location: Dallas, TX
Posts: 99

HondaHokie - '95 Honda Accord DX 4 door
90 day: 26.91 mpg (US)
Thanks: 0
Thanked 8 Times in 3 Posts
Quote:
Originally Posted by dcb View Post
re: serial v/s usb.

If you have a serial port, you can save yourself $7 and get the serial version. I cannot guarantee it will work with the palm yet, but certainly it will work with the standalone MPGUino, and why make end users pay for a usb port that they will only use once to program it?

Of course if yoru pc/laptops are legacy free, you might want to get the usb version.

If you want to prepare for all support contingencies, then get one of each and possibly the rs232 card
I got one of each. I will hope to do some hardware testing by the end of the weekend.
  Reply With Quote
Old 04-01-2008, 09:30 PM   #130 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2007
Location: Ventura, Ca
Posts: 112

Whoop's Wheels - '89 Honda Civic Wagovan
90 day: 39.09 mpg (US)
Thanks: 1
Thanked 9 Times in 7 Posts
Ok, I ordered a serial version of freedunio. Has their been any choice or suggestions for a stand alone display?

On the 7805 regulator, the heat issue would only come up from having to much of a current load on it. I really doubt that running what is on a freedunio is going to cause it any consternation.

On the question of opening this to anyone to edit or add to a thread, I wouldn't do it. If someone doesn't have enough interest to register, I wouldn't give them a way to just arbitrarily dump stuff. It's not a tremendous amount of protection, but it's better than not.

  Reply With Quote
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
SuperMID - Fuel Economy Display SVOboy Instrumentation 25 05-15-2015 09:16 PM
How to calculate MPG / fuel economy formula MetroMPG DIY / How-to 29 11-25-2013 06:47 PM
What features on your ULTIMATE fuel economy instrumentation? MetroMPG Instrumentation 41 05-12-2012 01:14 PM
Why SUV fuel economy is so much more important than small car fuel economy... SVOboy General Efficiency Discussion 30 02-23-2009 06:26 PM
Basic EcoDriving Techniques and Instrumentation SVOboy Instrumentation 2 11-17-2007 11:38 AM



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