E90Post
 


Studio RSR
 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Powertrain and Drivetrain Discussions > N57 / M57 Turbo Diesel Discussions - 335d > my small hobby project: real-time data display



Reply
 
Thread Tools Search this Thread
      06-22-2017, 02:55 PM   #1
pheno
Second Lieutenant
Finland
76
Rep
199
Posts

Drives: E61 520d LCI
Join Date: Jan 2015
Location: Finland, Europe

iTrader: (0)

my small hobby project: real-time data display

Thought that I could share my latest project...

So I've been working on this real-time data display for some time now on my spare time. Being a family man real you have duties but you have to have some project for yourself, right ? . The main motivation has been to learn something about electronics. So please don't laught at the components... That combined with interest of BMW diagnostic is why this project was born. We have been balling this idea around with 'racediesel' and now that I know something about BMW CAN bus this is possible.

The main idea is that the display starts fast and contains the most important parameters. I've made a program to configure what you see in the display. There's hundreds of parameters you can choose from.

This is attached to OBD2 and uses CAN bus for communications but it is not limited to OBD2 as it uses BMW's own protocol. The cover is taken from TomTom and I've put my own stuff into it. 3D printed adapter for the custom display. Being a hobby project a custom board is not an option for now so I've used what you can find from ebay, etc.

The microprocessor is STM32F103C8 and I'm using MCP2515 for CAN communications. Comments are welcome.

Video:






Last edited by pheno; 06-22-2017 at 03:20 PM..
Appreciate 6
      06-22-2017, 03:47 PM   #2
dmanb2b
Banned
2125
Rep
3,368
Posts

Drives: G07, F97, F30, E90, E46, E30
Join Date: Jul 2016
Location: NY

iTrader: (5)

Very cool!
Appreciate 0
      06-22-2017, 04:26 PM   #3
OmahaDZL
Lieutenant
OmahaDZL's Avatar
142
Rep
441
Posts

Drives: 2010 335D
Join Date: Nov 2011
Location: Omaha

iTrader: (0)

Love it!

Would love to see more if you documented stuff along the way.
Appreciate 0
      06-22-2017, 05:04 PM   #4
335dsleeper
Banned
389
Rep
1,623
Posts

Drives: 09' 335d 10'35D
Join Date: Dec 2015
Location: Suffolk, va

iTrader: (0)

Neat stuff!
Appreciate 0
      06-22-2017, 08:45 PM   #5
TDIwyse
Colonel
614
Rep
2,410
Posts

Drives: 2011 335d
Join Date: Aug 2012
Location: MidWest

iTrader: (0)

Thumbs up.
__________________
2011 335d 11.68 @ 125.71 mph 1/4 mile NHRA certified track
Ram Cummins with lots-o-mods
Appreciate 0
      06-22-2017, 10:58 PM   #6
tryingtobebest
First Lieutenant
Canada
87
Rep
369
Posts

Drives: E90
Join Date: Oct 2012
Location: Calgary, Ab

iTrader: (3)

Hi, nice project you have going on here! Can you please let us know
#1 How much you spend on the hardware roughly?
#2 In case of permanent installation of something like this onto the car, can you hardwired all (how many all together wires?) connections to the back side of the OBD (Edited, sorry about this, OBD and NOT USB) , NOT simply plug it in in the front?
#3 If you do hardwired it in the OBD harness, you mention that it uses "CAN bus for communications" will the Blue tooth adapter (ELM327) still be able to read/communicate with the car in parallel?

Suggestions here would be:
A) Reduce amount of parameters to gain larger (more readable) numbers ( I would leave 4 main ones - RPM,PSI,EGT and coolant or oil temp)
B) For easiness of reading (more places to mount) do a visual representation like bar graph or a full sweep digital gauge


I know its a hobby of yours but you never mention what you do for living, maybe your are a software developer or something, here i would really ask you to have a look into this thread where some of us trying to use MPG gauge as a TEMP gauge on the cluster maybe you'll throw in an idea that might work - Activating oil temp gauge in tool32..

Last edited by tryingtobebest; 06-27-2017 at 08:28 PM..
Appreciate 0
      06-23-2017, 12:59 PM   #7
pheno
Second Lieutenant
Finland
76
Rep
199
Posts

Drives: E61 520d LCI
Join Date: Jan 2015
Location: Finland, Europe

iTrader: (0)

Quote:
Originally Posted by tryingtobebest View Post
Hi, nice project you have going on here! Can you please let us know
#1 How much you spend on the hardware roughly?
#2 In case of permanent installation of something like this onto the car, can you hardwired all (how many?) connections to the back side of the USB, NOT simply plug it in in the front?
#3 If you do hardwired it in the OBD harness, you mention that it uses "CAN bus for communications" will the Blue tooth adapter (ELM327) still be able to read/communicate with the car in parallel?

Suggestions here would be:
A) Reduce amount of parameters to gain larger (more readable) numbers ( I would leave 4 main ones - RPM,PSI,EGT and coolant or oil temp)
B) For easiness of reading (more places to mount) do a visual representation like bar graph or a full sweep digital gauge


I know its a hobby of yours but you never mention what you do for living, maybe your are a software developer or something, here i would really ask you to have a look into this thread where some of us trying to use MPG gauge as a TEMP gauge on the cluster maybe you'll throw in an idea that might work - Activating oil temp gauge in tool32..
Thanks for the comments.

#1 Actually not much, getting these from ebay is nowadays quite inexpensive. I paid a bit more as I bought some of these a year or two ago. I've bricked some of these so it's hard to say exact numbers. You can get the needed components for under ~$10 I guess if you order from china and can wait for 6-8 weeks.. But let's see what is my next project. I'd like to create/design a custom board to get the size of the board as small as possible with only necessary components. But that costs $$$$. As this is done with microcontroller it starts up instantly

#2 and #3: not exactly sure what you mean by "back side of the USB, NOT simply plug it in in the front?". This is hardwired into OBD2 connector and this does not need any other interface like K+DCAN to work. Basically you could install this anywhere, you need CAN High/Low, +12V and Ground. ELM327 and this won't work together at the same time. The USB is only needed for the configuration program.

Good suggestions. Display has touch interface so I could easily come up with a solution for multiple screens. What do you think that could be the most cool feature you could think of in this kind of display ?

I'll take a look at that MPG/TEMP gauge thread.
Appreciate 0
Reply

Bookmarks


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



All times are GMT -5. The time now is 11:36 AM.




e90post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST