Author Topic: FS: Wmax351's MPG Gauges  (Read 26990 times)

Offline rogan

  • Motobrick Curious
  • Posts: 29
Re: FS: Wmax351's MPG Gauges
« Reply #25 on: September 11, 2015, 02:00:36 PM »
Kudos, and best of luck on your interviews.   :clap:
  • Minnesota
  • 1985 K100RS

Offline YoungEngineer

  • ^ Motobrick Curious
  • Posts: 109
Re: FS: Wmax351's MPG Gauges
« Reply #26 on: December 24, 2016, 12:19:30 PM »
Not sure if these are still selling but I would be interested. Would you ship to Britain?
  • London
  • K1100LT

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: FS: Wmax351's MPG Gauges
« Reply #27 on: December 24, 2016, 02:52:46 PM »
Unfortunately, I really haven't had any time to work on these. I might just start selling the un-assembled sets I have, they can be put together with basic soldering.
  • Albuquerque, NM
  • 91 BMW K75 Standard, 98 Moto Guzzi California EV
Bikes:
Current:1991 BMW K75 Standard, 1998 Moto Guzzi California EV11
Past: '83 BMW R65LS, '75 Honda CB550F, '69 Honda CB175, 1999 Royal Enfield Bullet 500, 1973 Triumph Tiger TR7V, 1971 BMW R75/5 in Toaster outfit, 1979 Harley Davidson XLS-1000 Sportster Roadster

Offline YoungEngineer

  • ^ Motobrick Curious
  • Posts: 109
Re: FS: Wmax351's MPG Gauges
« Reply #28 on: December 24, 2016, 03:36:34 PM »
You know, I actually have an arduino at home with the lcd attachment. I actually often use arduinos for projects. I am guessing this is just an arduino uno with an lcd fitted into a case? Would you consider sharing the code I might be able to replicate it here. Otherwise I would be happy to purchase one of your unassembled kits. Merry Christmas BTW.
  • London
  • K1100LT

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: FS: Wmax351's MPG Gauges
« Reply #29 on: December 24, 2016, 03:53:36 PM »
That's basically it. The main thing I did was make it water-resistant and tweak the code. It's based off of an Mpguino.

The code and schematics are attached.


Here's the site with some more info on the stock mpguino hardware and software.
http://ecomodder.com/wiki/index.php/MPGuino
  • Albuquerque, NM
  • 91 BMW K75 Standard, 98 Moto Guzzi California EV
Bikes:
Current:1991 BMW K75 Standard, 1998 Moto Guzzi California EV11
Past: '83 BMW R65LS, '75 Honda CB550F, '69 Honda CB175, 1999 Royal Enfield Bullet 500, 1973 Triumph Tiger TR7V, 1971 BMW R75/5 in Toaster outfit, 1979 Harley Davidson XLS-1000 Sportster Roadster

Offline YoungEngineer

  • ^ Motobrick Curious
  • Posts: 109
Re: FS: Wmax351's MPG Gauges
« Reply #30 on: December 24, 2016, 06:50:11 PM »
Awesome thanks. I will make sure to share any useful modifications I make.
  • London
  • K1100LT

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: FS: Wmax351's MPG Gauges
« Reply #31 on: January 21, 2017, 01:57:55 PM »
Currently, I am quite busy with medical school, and I don't foresee having time in the future to assemble these. If someone is interested in taking over, I could sell the lot of the partially assembled kits to someone with skills and interest in assembling and selling the rest, as well as enough circuit boards for 50 or so more.
  • Albuquerque, NM
  • 91 BMW K75 Standard, 98 Moto Guzzi California EV
Bikes:
Current:1991 BMW K75 Standard, 1998 Moto Guzzi California EV11
Past: '83 BMW R65LS, '75 Honda CB550F, '69 Honda CB175, 1999 Royal Enfield Bullet 500, 1973 Triumph Tiger TR7V, 1971 BMW R75/5 in Toaster outfit, 1979 Harley Davidson XLS-1000 Sportster Roadster

Offline Filmcamera

  • ^ Quintessential Motobricker
  • Posts: 1434
Re: FS: Wmax351's MPG Gauges
« Reply #32 on: January 21, 2017, 02:01:11 PM »
Curiosity alone made me decipher that post in its tiny secret agent spy font...


for those interested


Quote
Currently, I am quite busy with medical school, and I don't foresee having time in the future to assemble these. If someone is interested in taking over, I could sell the lot of the partially assembled kits to someone with skills and interest in assembling and selling the rest, as well as enough circuit boards for 50 or so more.
  • San Jose, Costa Rica
  • 1991 K100RS 16v ABS1, 2018 Triumph Street Triple RS 765
Poserbricker

Offline kennybobby

  • ^ Proficient Motobricker
  • Posts: 244
  • Last of the True Southern Sweet Mullets and Squids
Re: FS: Wmax351's MPG Gauges
« Reply #33 on: January 21, 2017, 02:03:47 PM »
formatted for us old folks...

modify but can't delete...?
Ridin' 87 K75S vin 1334,
Renchin' 86 75S vin 0061

Offline YoungEngineer

  • ^ Motobrick Curious
  • Posts: 109
Re: FS: Wmax351's MPG Gauges
« Reply #34 on: January 23, 2017, 05:45:31 AM »
Currently, I am quite busy with medical school, and I don't foresee having time in the future to assemble these. If someone is interested in taking over, I could sell the lot of the partially assembled kits to someone with skills and interest in assembling and selling the rest, as well as enough circuit boards for 50 or so more.




I would if there was more interest but even in the UK K bikes are getting pretty rare, I don't think there would be enough demand. I actually thought about making a combined MPG gauge and aftermarket instrument converter all in one using the Mega.
  • London
  • K1100LT

Offline rbm

  • ^ Quintessential Motobricker
  • Posts: 2281
Re: FS: Wmax351's MPG Gauges
« Reply #35 on: January 23, 2017, 10:32:10 AM »
Youngengineer,  you could get a good start on that project by combining the work that Max has done using the MGPuino as a base and the work I've done on my TGPI board using the Brickuino as a base.  My design is open source so you can obtain the documentation for it from my Google drive.


https://drive.google.com/drive/folders/0B3UPbNZRyr1rd2JrNGI0UHBsOTA
  • Regards, Robert
Toronto, Ontario

1987 K75 - Build Blog @http://k75retro.blogspot.ca/

Offline F14CRAZY

  • ^ Quintessential Motobricker
  • Posts: 1091
Re: FS: Wmax351's MPG Gauges
« Reply #36 on: January 24, 2017, 07:27:39 AM »
Currently, I am quite busy with medical school, and I don't foresee having time in the future to assemble these. If someone is interested in taking over, I could sell the lot of the partially assembled kits to someone with skills and interest in assembling and selling the rest, as well as enough circuit boards for 50 or so more.

Do you still have the partially assembled versions available individually?
  • Grand Rapids, MI
  • '87 K75C
'87 K75C w/ Pichler V1 fairing. LED's, CATZ driving lights, Audiovox cruise, LT top case, tons of other mods by Drake...


Offline YoungEngineer

  • ^ Motobrick Curious
  • Posts: 109
Re: FS: Wmax351's MPG Gauges
« Reply #37 on: January 24, 2017, 07:45:23 AM »
Youngengineer,  you could get a good start on that project by combining the work that Max has done using the MGPuino as a base and the work I've done on my TGPI board using the Brickuino as a base.  My design is open source so you can obtain the documentation for it from my Google drive.


https://drive.google.com/drive/folders/0B3UPbNZRyr1rd2JrNGI0UHBsOTA




Awesome thanks. I will have a look tonight.
  • London
  • K1100LT

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: FS: Wmax351's MPG Gauges
« Reply #38 on: January 24, 2017, 12:34:48 PM »
Do you still have the partially assembled versions available individually?


I do. Need to count exactly how many I have though.
  • Albuquerque, NM
  • 91 BMW K75 Standard, 98 Moto Guzzi California EV
Bikes:
Current:1991 BMW K75 Standard, 1998 Moto Guzzi California EV11
Past: '83 BMW R65LS, '75 Honda CB550F, '69 Honda CB175, 1999 Royal Enfield Bullet 500, 1973 Triumph Tiger TR7V, 1971 BMW R75/5 in Toaster outfit, 1979 Harley Davidson XLS-1000 Sportster Roadster

Offline motodude

  • ^ SuperNatural Motobricker
  • Posts: 544
Re: FS: Wmax351's MPG Gauges
« Reply #39 on: February 16, 2017, 12:26:08 AM »
Please let us/me know the price and purchase instructions for the unfinished kits (I'll benefit from instructions too).


Thank you,
Tom
'95 K75RT
'90 K75RT
'87 K100RS Motorsport
No, I am not cool.  Yes, it really is the journey.

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: FS: Wmax351's MPG Gauges
« Reply #40 on: February 16, 2017, 11:29:39 AM »
Sorry, been busy the last month. There's a lot of parts of the GI and endocrine system to memorize.


I'll try to get the kits unpacked sometime this weekend. Don't want to sell more than I have available.


For the individual unfinished kits, I was figuring 50 + $8 shipping.


Instructions wise, Here's the basic set. See attached pictures as well:
1. Solder input wires to input header points. Insert from the side with the the circuitry (see pics).
2. Install buttons into clear front panel. The buttons will be on the left side.
3. Install wires from buttons to header, with a common ground for the buttons. The header connection for the buttons is labeled 123 and GND.  The top button, which I use for left movement in menus, is pin 1 on the header. It is equivalent to A3 on the arduino. The remaining pins are A4 and A5 respectively.
4. Solder button wires
5. Using 2-3 of the short nylon spacers and the screws/nuts to separate the boards, slide the display onto the header pins, and tighten the nuts to finger-tight, holding the display board firmly in place. Then solder the header pins to the board. Optionally, clip the extra header pins with a wire-cutter.
6. Test assembly, by applying power to the +12v line and the GND line. You can use any power supply 6-24 volts. I usually use a 11V model aircraft battery for convenience since they're next to my work-table, but a 9V smoke detector type battery is a good option as well. Test the buttons, and all functions. Note the orientation of the display.
7. Remove nuts and screws. Insert screws into clear face. Slide the 4 long nylon spacers onto the screws, then insert the screws into the display holes, slipping the remaining short spacers into the space between boards, ensuring the screw goes through the center. Add washers and nuts. You may want a little blue thread-lock here. If you plan on having lots of wet riding, you may also wish to put a little RTV under the screws' heads before tightening.
8. Measure and cut/drill the hole for the cord grip on one of the sides of the box. Place the nut in the box, and trace the hole before cutting. The fit is tight, and you may need to slot the top of the nut to fit the front piece on at the end. Insert and tighten.
9. Heat-shrink the wires starting a couple inches from the board. Run them through the cord grip, leaving a little slack to install the cover. Tighten the cord grip nut (outside part) to seal the passage.
10. Use screws included in enclosure to close. The pictures attached are the one I had on my bike. There is an extra blue wire leading to one of the breakouts for the atmega chip. This was for a wideband O2 sensor I had set up.


Here's some more info on the backbone of the system. http://ecomodder.com/wiki/index.php/MPGuino
  • Albuquerque, NM
  • 91 BMW K75 Standard, 98 Moto Guzzi California EV
Bikes:
Current:1991 BMW K75 Standard, 1998 Moto Guzzi California EV11
Past: '83 BMW R65LS, '75 Honda CB550F, '69 Honda CB175, 1999 Royal Enfield Bullet 500, 1973 Triumph Tiger TR7V, 1971 BMW R75/5 in Toaster outfit, 1979 Harley Davidson XLS-1000 Sportster Roadster

Offline YoungEngineer

  • ^ Motobrick Curious
  • Posts: 109
Re: FS: Wmax351's MPG Gauges
« Reply #41 on: March 02, 2018, 05:41:11 AM »
That's basically it. The main thing I did was make it water-resistant and tweak the code. It's based off of an Mpguino.

The code and schematics are attached.


Here's the site with some more info on the stock mpguino hardware and software.
http://ecomodder.com/wiki/index.php/MPGuino


I've just finished getting all the physical components soldered up and everything into the enclosure, just waiting on the switches now. I've now moved onto the code now but it seems to be causing errors when loading up your code into the IDE. Did you use 1.6 or the latter 1.8 IDE?


Also I am guessing that the provided code will be customized for you three cylinder K75? Would the output volume per injector be the same between the K75 and K11? I assume its just a case of updating the number of cylinders in the firmware?


  • London
  • K1100LT

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: FS: Wmax351's MPG Gauges
« Reply #42 on: March 02, 2018, 01:23:30 PM »
The K11's just have an extra injector. The microseconds/gallon for the k11 is 430,275,000.


I don't recall what ide version I used. I attached both the ino and the Hex files for the standard code. IIRC, I just burned the hex files onto the chips with separate software, production line style.


Edit: Looks like the first problem is that the file needs to be changed to an underscore instead of a space

Make sure the appropriate include files are present if you're not using the arduino app


Does the ISP system you have work? Some of them can be kinda wonky.
  • Albuquerque, NM
  • 91 BMW K75 Standard, 98 Moto Guzzi California EV
Bikes:
Current:1991 BMW K75 Standard, 1998 Moto Guzzi California EV11
Past: '83 BMW R65LS, '75 Honda CB550F, '69 Honda CB175, 1999 Royal Enfield Bullet 500, 1973 Triumph Tiger TR7V, 1971 BMW R75/5 in Toaster outfit, 1979 Harley Davidson XLS-1000 Sportster Roadster

Offline YoungEngineer

  • ^ Motobrick Curious
  • Posts: 109
Re: FS: Wmax351's MPG Gauges
« Reply #43 on: March 05, 2018, 11:22:22 AM »
The K11's just have an extra injector. The microseconds/gallon for the k11 is 430,275,000.


I don't recall what ide version I used. I attached both the ino and the Hex files for the standard code. IIRC, I just burned the hex files onto the chips with separate software, production line style.


Edit: Looks like the first problem is that the file needs to be changed to an underscore instead of a space

Make sure the appropriate include files are present if you're not using the arduino app


Does the ISP system you have work? Some of them can be kinda wonky.




Thanks for the fast reply. I did actually manage to load up the original .ino file with the online arduino IDE.


But as you pointed out, without the space it loads up just fine with the latest 1.8.5 IDE.


Can I just confirm the exact changes I must make to the code for the K11? I would usually be happy to experiment but it will be difficult to remove and update due to my mounting solution.


Where is the Microsec/Gallon defined?


405ul, 0ul, 0ul,  0ul };//default values for K75 ??


Also I would assume that the total tank volume would need to be updated? Tank size seems very small for the K75 tanksize *= 3.785

3.7 US gallons is only 14L?

  • London
  • K1100LT

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: FS: Wmax351's MPG Gauges
« Reply #44 on: March 05, 2018, 05:28:04 PM »
You shouldn't need to edit the code at all, just the configuration on first start (or with subsequent adjustment). You could alter the default if you wished though. The instruction PDF has details on the configuration, but the third value you adjust in the configuration menu will be the microseconds per gallon, 573700000ul for the k75, 430,275,000 for the K11/k100. The default tank size is 5.400 gallons.


Code: [Select]
unsigned long parms[] = { 55ul, 9240ul, 573700000ul, 2ul, 420000000ul, 5400ul, 405ul, 0ul, 0ul,  0ul};
//default values for K75
char * parmLabels[] = { "Contrast", "VSS Pulses/Mile", "MicroSec/Gallon", "Pulses/2 revs", "Timout(microSec)", "Tank Gal * 1000", "Injector DelayuS", "VSS Delay ms", "InjTrg 0-Dn 1-Up",  "Metric (1=yes)"
                      };
  • Albuquerque, NM
  • 91 BMW K75 Standard, 98 Moto Guzzi California EV
Bikes:
Current:1991 BMW K75 Standard, 1998 Moto Guzzi California EV11
Past: '83 BMW R65LS, '75 Honda CB550F, '69 Honda CB175, 1999 Royal Enfield Bullet 500, 1973 Triumph Tiger TR7V, 1971 BMW R75/5 in Toaster outfit, 1979 Harley Davidson XLS-1000 Sportster Roadster

Offline YoungEngineer

  • ^ Motobrick Curious
  • Posts: 109
Re: FS: Wmax351's MPG Gauges
« Reply #45 on: March 06, 2018, 05:32:02 AM »
Thank you. I will report back when complete.
  • London
  • K1100LT

Tags: