Author Topic: Trip / MPG Computer  (Read 143241 times)

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Here you go blue backlight $3.76 shipped for 10 or more!

http://www.dealextreme.com/p/16-x-2-character-lcd-display-module-with-blue-backlight-121356?item=24

Not a bad deal. But it is in blue, and Dealextreme takes ~1-2 months to get to the US last time I ordered.

I am planning on making them in Red and Green/yellow.

If anyone has specific requests for color, I can make one out for that pretty easily.

I am currently working on the prototype for the PCB. Once I finish the design, I will start etching some prototype boards with a toner transfer method.
  • 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 mystic red

  • Retired Professsional Driver
  • ^ Quintessential Motobricker
  • Posts: 2922
Not an egghead. My Dad was an egghead. That being said........




Black with red lettering.

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Not an egghead. My Dad was an egghead. That being said........




Black with red lettering.

I like how those look, but I am concerned about visibility in the sun.
  • 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 wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Working on my prototype board now. Once this works out, I will make the order for the PCB's. Probably from Malaysia. Gotta love globalization. Takes 2 days to ship from malaysia, and about a week to produce the boards.
  • 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 thebob

  • ^ Motobrick Curious
  • Posts: 70
  • K100RS
Ha! Nice use of glossy magazine paper. Everything is looking good! You must have good eyes to solder those surface mount components. I can hardly see the little fellas.

Not going to bother with a fuse? Recommend using an inline one?
1984 K100RS Japan Motobrick!

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Ha! Nice use of glossy magazine paper. Everything is looking good! You must have good eyes to solder those surface mount components. I can hardly see the little fellas.

Not going to bother with a fuse? Recommend using an inline one?

I'll probably pull power from a fused circuit. The final product will be a box, with 4 wires coming out, with posi-taps on them. One will go to a fused circuit that powers the clock (always on).


I ordered one of the black w/ red lettering LCD's. Those are FSTN type LCDs, which may actually be more visible.


The SMD's aren't too bad, especially when they aren't large IC's. They are 805's (Standard, not metric) so are reasonably large.
  • 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 thebob

  • ^ Motobrick Curious
  • Posts: 70
  • K100RS
I just got my MPGuino today from Jellybean. No time to hook it to the car till next week but I'll report about it when I do!

I think it has the same features.
1984 K100RS Japan Motobrick!

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
I just got my MPGuino today from Jellybean. No time to hook it to the car till next week but I'll report about it when I do!

I think it has the same features.

It does, pretty much. I am going to modify the code a bit. A lot of the features are for people with Nempimania, or an unhealthy obsession with gas mileage. These people "hypermile" by driving geo metro's at 50 mph in the right lane, and coasting down hills, among other behaviors.

  • 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 wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Got the model of what I would like to have the enclosure be. Will probably have to derive it from an existing case, but should be able to get close.

  • 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 mystic red

  • Retired Professsional Driver
  • ^ Quintessential Motobricker
  • Posts: 2922
Son of an egghead here. That looks cool. Can't tell but does it or can it have a lip for in dash flush mount?

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Son of an egghead here. That looks cool. Can't tell but does it or can it have a lip for in dash flush mount?

Nope. I'll look if I can do one. But I am probably going to go with modifying existing enclosures.
  • 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 mystic red

  • Retired Professsional Driver
  • ^ Quintessential Motobricker
  • Posts: 2922
There ya go.

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Figured I'd post an update.

Got the final circuit design worked out. Unfortunately, I couldn't get a good transfer onto a pcb, so my prototype didn't work.

Found a few places to get the boards made. Gotta love china: 5 days lead time, 3 days shipping.

Next step is figuring out the best type of enclosure. This is presenting a  measure of difficulty, as not many enclosures seem to fit, and fewer still have a clear cover. Getting something custom made will likely be expensive, although I am going to give these folks a call: http://www.toollessplasticenclosures.com/default.asp

My current thought is perhaps I will start with a lexan box, and Pot the electronics, with the screen pressed against the face of the plexiglass. Totally waterproof, shockproof, durable, and economical.

If I pot the electronics, I can also stick any sort of mounting hardware in there. Handlebar mount? Threaded rod?
  • 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 Jumpin Jimmy B

  • ^ Proficient Motobricker
  • Posts: 129
Re: Trip / MPG Computer
« Reply #63 on: May 20, 2012, 11:25:47 AM »
 Mounting.

 " I can also stick any sort of mounting hardware in there. Handlebar mount? Threaded rod? "

 I'm thinking whatever case is a final selection may be string enough to secure the workings, but not so strong you want another break in the surface.


 3M interlock, like velcro but much stronger. Stick where needed, move it when needed.

 That don't work, people can epoxy ther own hardware to the case for mounting.

 What do ya want for a $100.00 that's already plug & play?

I'd rather be riding.

Offline Uffda

  • ^ Motobrick Curious
  • Posts: 61
Re: Trip / MPG Computer
« Reply #64 on: May 20, 2012, 09:00:40 PM »
Mounting.
 3M interlock, like velcro but much stronger. Stick where needed, move it when needed.
 That don't work, people can epoxy ther own hardware to the case for mounting.

 What do ya want for a $100.00 that's already plug & play?
+1   :2thumbup:
  • New England
  • 1995 K75RT
Robert

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: Trip / MPG Computer
« Reply #65 on: May 27, 2012, 02:32:56 AM »
Figured I'd post an update.

I've been doing a bit of work on the bike to prep it for my upcoming trip. I will install the prototype while I have the tank pulled back.


I've also done more research on a case. The http://www.toollessplasticenclosures.com/ place that can make reasonably priced custom cases, that should let me keep the low price point, and still have a good product. Looks like about ten to fifteen bucks each for a quantity of 100. Maybe a bit more each for a quantity of 50, but there is no setup cost.

The cases will be clear, UV resistant acrylic on the front, and likely black or grey acrylic on the back The PCB will  be either mounted on bosses internally, or with stainless steel machine screws, sealed on installation. The screen will be pressed against the front piece internally, and I may spray a coat of paint around it (also internally), for a cleaner look (no circuit boards visible).
  • 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 wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: Trip / MPG Computer
« Reply #66 on: May 28, 2012, 01:48:32 AM »
I hooked the prototype up. The fuel consumption measurement worked flawlessly. 0.17 Gallons/Hr at idle for my bike.

Unfortunately, the speed reading did not work. My speedo stopped working too. So I need to figure out which is the problem. However, I am currently leaning towards making a sensor to put on the brake caliper, and reading off of a magnet glued to a rivet or two on the rear.
  • 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 wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: Trip / MPG Computer
« Reply #67 on: May 28, 2012, 04:19:34 AM »
Well, it appears that I toasted the speedometer circuit board. The part that conditions the VR signal. Time for some careful repairs,  to save some serious cash.

Does anyone have a trashed cluster? I mean, totally trashed. I just need a board, nothing special. It doesn't need to work at all.
  • 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 wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: Trip / MPG Computer
« Reply #68 on: May 28, 2012, 09:40:16 PM »
Got the gauge prototype working. Time to perfect the code and finalize the boxes. Hoping to have this set up to produce within the month.

I fixed the speedo board with a jumper wire. Works perfectly now. Looks like I toasted it by touching the hot wire to the turn signal cancel wire while running the wire through heat shrink.

  • 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 wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: Trip / MPG Computer
« Reply #69 on: May 29, 2012, 02:47:39 AM »
Working on finalizing my code modifications.


Currently, the screens are as follows:


Large, instant MPG
Large, Current (averaged) MPG
Large, Tank MPG
Large, Fuel used
Large, Fuel Left (Tank size adjustable)
Large, Range Remaining (Based on MPG for the tank, with a default of 40 if it is zero (idle or broken speedo) or near infinity (coasting))
Large, Tank ODO


I can add any more features related to speed, fuel use, time, etc. I am removing most of the small text features, as they are too small to safely read on the bike, and I feel it is best to limit the number of screens for simplicity's sake.

Also is switchable to metric with an easy setting change.

I removed the initial power on setup, and modified the default values to ones for the K bikes. If they need changed, the menu is easily accessed with the buttons onboard.
  • 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 johnny

  • TrailBrakingThrottleWhacker
  • ^ Quintessential Motobricker
  • Posts: 7652
  • Whacking...n...Chopping Sliding...n...High Siding
Re: Trip / MPG Computer
« Reply #70 on: May 29, 2012, 09:14:51 AM »
this is exciting news...

j o
  • :johnny i parks my 96 eleven hundert rs motobrick in dodge county cheezconsin  :johnny

Offline healthy

  • ^ Motobrick Curious
  • Posts: 59
  • get up!
Re: Trip / MPG Computer
« Reply #71 on: May 29, 2012, 12:42:04 PM »
wow. seems like quite a few trials, glad to hear you worked them out.

I'm excited to see it running. possible to shoot a video of going through the menu? seems like a good place for people to put in recommendations for cycle order, drill downs, etc.
1986 K75T, her name is JEZ.
and now a 1996 K75, BUE.

Offline wmax351

  • ^ Quintessential Motobricker
  • Posts: 1237
Re: Trip / MPG Computer
« Reply #72 on: May 30, 2012, 04:20:10 AM »
wow. seems like quite a few trials, glad to hear you worked them out.

I'm excited to see it running. possible to shoot a video of going through the menu? seems like a good place for people to put in recommendations for cycle order, drill downs, etc.


I'll try to do that today. I added a few other features: a speedometer (useful for calibrating the distance measurements), and modified a few bits of code to process certain items more easily. All functions will work perfectly with metric or US units.

I am planning to try to add a clock (I can adapt some code from a guy who goes by "Falcon4").

  • 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 sh00ter

  • ^ Proficient Motobricker
  • Posts: 320
Re: Trip / MPG Computer
« Reply #73 on: May 30, 2012, 08:30:47 PM »
wow. seems like quite a few trials, glad to hear you worked them out.

I'm excited to see it running. possible to shoot a video of going through the menu? seems like a good place for people to put in recommendations for cycle order, drill downs, etc.


I'll try to do that today. I added a few other features: a speedometer (useful for calibrating the distance measurements), and modified a few bits of code to process certain items more easily. All functions will work perfectly with metric or US units.

I am planning to try to add a clock (I can adapt some code from a guy who goes by "Falcon4").

Fantastic work - will u share the code and the schematic too?
'94 1100 RS

Offline mystic red

  • Retired Professsional Driver
  • ^ Quintessential Motobricker
  • Posts: 2922
Re: Trip / MPG Computer
« Reply #74 on: May 30, 2012, 08:55:48 PM »
Quote
I am planning to try to add a clock (I can adapt some code from a guy who goes by "Falcon4").

Gots a clock already. Don't you K75 guys have clocks?! :neener:

Tags: