Journey with Confidence RV GPS App RV Trip Planner RV LIFE Campground Reviews RV Maintenance Take a Speed Test Free 7 Day Trial ×


Reply
 
Thread Tools Display Modes
 
Old 08-10-2016, 09:02 AM   #1
Skoolie
 
Offgr1d's Avatar
 
Join Date: May 2015
Location: Las Vegas
Posts: 238
Year: 1998
Chassis: VanHool T945
Engine: Cummins M11
Rated Cap: 47,000
Bus Glass Dash

I know some here might be interested like I am in making a budget version Glass dash for all engine and road stats. The M11 and many other large Diesel engines have ECU that have all this data. If you have an ECU then you can get the data
Silver Leaf electronics makes a fairly reasonably priced engine data viewer for iPads / laptops. I have this, but the way you setup views and "see" the data is horrible and not very customizable.

I'm looking for a programmer to make a conversion software for the raspberry pi that takes rs232 data from ECU and Spits out OSC data in relation to PID codes.

Basically if you look at the ECU data stream it's all ascii and has PID identifiers with a value. I want to convert these values via a relationship data table to OSC values. This way you can take any engine data (such as RPM) and out put it in OSC (which is two way UDP) over wireless and display it any way you want with any layout via OSC apps on phones / tablets / iPads etc... Even multiple screens!

If your interested (PM me) and we can hash out the pi requirements.
What I want to do in the end is release the pi software as a really cheap kit with instructions.. Ideally if we could add analouge ohm sensor input to the pi, any other data could be shown on screens (such as tank levels, propane, air pressure etc)

I really think this could be used in more markets than just Bus conversions. Future addon for ODBII interface is also possible.

Offgr1d is offline   Reply With Quote
Old 08-10-2016, 10:08 AM   #2
Bus Crazy
 
somewhereinusa's Avatar
 
Join Date: Nov 2010
Location: Andrews,Indiana
Posts: 2,430
Year: 1991
Coachwork: Bluebird
Chassis: AARE
Engine: 3116 Cat 250hp
Rated Cap: Just the two of us.
I would be interested also except that, not having anything with an obd or electronic for that matter, I would like to convert analog into something that could be displayed. Temps, pressures,speed, odometer with resettable trip meters etc. Possibly using an arduino in the middle since it handles analog better. With rear engines it would be nice to wirelessly send the data to front. I started playing with some things last winter but, it's above my meager programming skills.
somewhereinusa is offline   Reply With Quote
Old 08-10-2016, 11:40 AM   #3
Skoolie
 
Offgr1d's Avatar
 
Join Date: May 2015
Location: Las Vegas
Posts: 238
Year: 1998
Chassis: VanHool T945
Engine: Cummins M11
Rated Cap: 47,000
Yes! I want the analog as well. Then ANY sensor could be added..
The relationship table is easy.. If sensor this then out put this.. Including a scale of values with proportions and percent equations. Ohm reading at X = 50% OSC ... Ohm reading at Y = 100% OSC... I've played enough with OSC to see the flexibility and robustness of it.. It's a base protocol. And all the apps are "over the counter" easy design layout to display this data graphically..

Where is Cadillac kid?? Lol I was hoping he would chime in
Offgr1d is offline   Reply With Quote
Old 08-10-2016, 02:05 PM   #4
Bus Nut
 
Join Date: Jul 2014
Posts: 722
Year: 1998
Coachwork: Bluebird
Chassis: TC2000 RE
Engine: 8.3l Cummins
Rated Cap: 78
I built a quasi-similar thing several years ago with intentions that it would be a generic sensor platform with a glass display. I wanted to implement a couple interesting sensors:

conduction sensors for gear box contamination
pressure
accelerometer data
resistive temperature
thermocouple temperature
pulse counter
voltage

The idea was these would get instrumented in a vehicle that was strictly mechanical, (such as an overland truck, for long trips) and add data logging to detect impending failures or issues.

The general architecture was a arduino mega with all it's analog ports and i2c ports. There was a simple FSM executing, which would collect values from pins, and format them according to an xml definition file stored on an sd card/ethernet shield, then blast out the packets via udp multicast on the wire. (yes, lazy, but it worked.)

The receiver in this case was just a prototype, my regular computer. I leveraged a kalman filtering library for signal recurrent detection of anamlous acceleration signals (the idea that bearing failures could be detected) and kept a live table updated with a mutex function for executing analysis of data.

Other small functions could extract this data at any time during runtime and generate a graphic display with pywidgets. These were analog needles, numbers, tables, and bar graphs.

Ok, so having said all this:

I haven't really heard anything about OSC until you mentioned it here, and it seems like a great replacement for all the effort that I put into pywidgets. Ultimately I abandoned the project because of the effort required to drive a UI that was robust. The data collection, messaging format, and value table processing was fairly "easy" in comparison.

There's even a python-osc library available to drive OSC complaint things, so I bet that would make it pretty easy.

tl;dr Use python - if you don't know python, it's easy to cobble together bad code that works good enough. With enough practice you can re-write it until it's better.

I think if you stick to python most of the interesting/difficult stuff already exists as importable libraries, and you'll mostly be putting together a build script to assemble libraries and gluing some data structures together. You seem super smart, and I think with some effort you could do this yourself.



Quote:
Originally Posted by Offgr1d View Post
I know some here might be interested like I am in making a budget version Glass dash for all engine and road stats. The M11 and many other large Diesel engines have ECU that have all this data. If you have an ECU then you can get the data
Silver Leaf electronics makes a fairly reasonably priced engine data viewer for iPads / laptops. I have this, but the way you setup views and "see" the data is horrible and not very customizable.

I'm looking for a programmer to make a conversion software for the raspberry pi that takes rs232 data from ECU and Spits out OSC data in relation to PID codes.

Basically if you look at the ECU data stream it's all ascii and has PID identifiers with a value. I want to convert these values via a relationship data table to OSC values. This way you can take any engine data (such as RPM) and out put it in OSC (which is two way UDP) over wireless and display it any way you want with any layout via OSC apps on phones / tablets / iPads etc... Even multiple screens!

If your interested (PM me) and we can hash out the pi requirements.
What I want to do in the end is release the pi software as a really cheap kit with instructions.. Ideally if we could add analouge ohm sensor input to the pi, any other data could be shown on screens (such as tank levels, propane, air pressure etc)

I really think this could be used in more markets than just Bus conversions. Future addon for ODBII interface is also possible.
aaronsb is offline   Reply With Quote
Old 08-10-2016, 04:59 PM   #5
Bus Crazy
 
sdwarf36's Avatar
 
Join Date: Oct 2009
Location: Moodus, Ct.
Posts: 1,062
Year: 1996
Coachwork: Champion
Chassis: Ford e-450
Engine: 7.3 Powerstroke
Rated Cap: 14
Fun project. I've seen it done in a race car before. But almost all the info used is 0-5v sensors.
__________________
Don't make a fuss-just get on the bus!

my bus build https://www.skoolie.net/gallery/Skoolies/Sped
sdwarf36 is offline   Reply With Quote
Old 08-10-2016, 10:17 PM   #6
Bus Nut
 
T-Bolt's Avatar
 
Join Date: Jun 2016
Location: Lafayette, Indiana
Posts: 332
Year: 2003
Engine: DT530
Rated Cap: 84
I hope to get my bus and start the conversion in the next couple of months. I would gladly pay for this if you get it up and running.
T-Bolt is offline   Reply With Quote
Old 08-11-2016, 07:31 AM   #7
Bus Nut
 
GreyCoyote's Avatar
 
Join Date: Mar 2016
Location: Danglebury, Tejas
Posts: 310
Year: 1999
Coachwork: Blue Bird
Chassis: IH 3800
Engine: Navistar DT466E
Rated Cap: 72 passenger
I'm actually about half way through a similar project based on the Parallax Propeller chip (8 processors, really neat hub-and-cog architecture) but had to put it on the shelf until after Burningman.

Would love to see what others are doing!
__________________
"You can finally say you have enough horsepower when you leave two black streaks from corner to corner"
(Mark Donohue, famed TransAm driver)
GreyCoyote is offline   Reply With Quote
Old 08-11-2016, 12:25 PM   #8
Bus Nut
 
Join Date: Jul 2014
Posts: 722
Year: 1998
Coachwork: Bluebird
Chassis: TC2000 RE
Engine: 8.3l Cummins
Rated Cap: 78
I have so many other bits I am working on, I would love to try and implement this, but there isn't enough time for higher priority items.
aaronsb is offline   Reply With Quote
Reply

Tags
dashboard, data, ecu, engine, gauge

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


» Featured Campgrounds

Reviews provided by

Powered by vBadvanced CMPS v3.2.3

All times are GMT -5. The time now is 12:56 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.