Go Back   EcoModder Forum > EcoModding > Instrumentation
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-23-2013, 08:07 AM   #1 (permalink)
EcoModding Lurker
 
Join Date: May 2013
Location: machynlleth, wales
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Mpguino code (for arduino)

Hi there,

I recently got my MPGuino from Meelis and i am really enjoying it.

I also do some work with the OpenEnergyMonitor project (just search that and you will find the website) which is mainly focused in measuring electricity and gas consumption and temperature. They have developed a brilliant tool for visualizing the data called emonCMS.

But having said that in the OpenEnergyMonitor we miss something as important as fuel consumption and that's why i am here now :-)

What I want to do is integrate mpguino with emonCMS, how:
  • Remove display and add a bluetooth module
  • Make an adroid app that communicates with mpguiino for displaying the data and uploading the data to emonCMS

About the app: I am already playing with it but may take a while.

About the hardware: I have worked before with Arduino and feel confident adding the BT module but before starting with the breadboard I want to check something with the community knowledge:
  • It looks like the only pictures/wiring/shcematics are those in ecomodder.com/wiki/index.php/MPGuino and opengauge.googlecode.com/svn/trunk/mpguino/
  • Searching in the forum I can see that people have been developing their own stuff like with the one I have from Meelis for meassuiring the battery voltage: ecomodder.com/forum/showthread.php/new-feature-idea-battery-voltage-15654-2.html
  • Apart of the one above I wonder how many other improivements I am going to miss if I use the “official” schematichs

About the firmware, basically the same issues than with the hardaware:
  • The .pde file in opengauge.googlecode.com/svn/trunk/mpguino says that now they have moved it outside Arduino, but I would like to stick to it as it is the framework I know. So my question: is that code very much out of date?
  • I have found in the forum some other firmwares for Arduino like the canadian ecomodder.com/forum/showthread.php/canadian-version-kilometers-7204.html but once again is it out of date, the last verison ithere is 0.8 and Meelis calls his one 0.97 (I don’t know if there is any relation between them)?
  • And I have seen this discussion in the forum but I need to ask it again because I haven’t seen a clear answer. Is it very stupid to try to do it with arduino? Which are those limitations that make people work stright into the micro without bootloader?

Sorry, lots of questions, but any answer will be most apreciated

carlos

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-24-2013, 05:49 AM   #2 (permalink)
Scandinavian creature
 
Join Date: Jun 2012
Location: Finland
Posts: 146

Golf ball - '94 Volkswagen Golf III
90 day: 28.46 mpg (US)
Thanks: 4
Thanked 27 Times in 22 Posts
I would say to stick with the official v0.86 version .pde file, and update modifications to that. But it's up to you.
That code still works great with Arduino framework, only difference is the 20MHz crystal.
That v0.97 by Meelis is maybe just his own numbering from that 0.86 code. But you gotta ask him yourself.
What i do is just "based on version v0.86 by dcb", with following feature list whick i think is most clearest.

By using the official schematic, you are not going to lose about anything. Spare pins are thing that you may want to add, so you can later make modifications easier.
I have made my board full of spare pins and pads as you see (RX/TX/analog..):
http://mthtek.com/images/auto/mpguin...Guino-v1.1.jpg

But good idea for you
__________________

Brrrmm
Now selling preassembled MPGuino's!
http://www.mthtek.net/mpguino/
  Reply With Quote
The Following User Says Thank You to Quezacotl For This Useful Post:
cagabi (05-24-2013)
Old 05-25-2013, 09:30 AM   #3 (permalink)
EcoModding Lurker
 
Join Date: May 2013
Location: machynlleth, wales
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Thank you very much Quezacotl,

I hope to have the chance today to have a look at the schematic but to start with it sonds good do you have kept pins available.

Thank you as well for the tips about the code, now i will have a look at it properly as well.

I´ll keep the forum updated with any development.

  Reply With Quote
Reply  Post New Thread


Thread Tools




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