MEGAsquirt A place to collectively sort out this megasquirt gizmo

scangauge type display?

Thread Tools
 
Search this Thread
 
Old 04-06-2011, 07:06 PM
  #61  
Elite Member
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,605
Total Cats: 16
Default

All my parts came in. Ive been too lazy / busy with work to start anything. I will slowly start messing with programs and working towards getting it going eventually.
240_to_miata is offline  
Old 04-09-2011, 06:02 AM
  #62  
Newb
 
FieldEffectDave's Avatar
 
Join Date: Aug 2009
Posts: 35
Total Cats: 0
Default

Been making some progress with V2:

http://www.youtube.com/watch?v=7Jj_baUqIfY

You have to imagine the two wires going to the bread board as red = horn clock spring, black = steering column ground return. The one wire provides power to the circuit in the steering wheel to read switches and also a comms line back to the display driver board to say what switch was pressed.

The micro on the breadboard is an ATMEL ATINY, it comes in a SO8 package so could probably fit the whole breadboard circuit onto a 12 x 12mm PCB, which then lives in the space behind the horn button in your steering wheel.

Also because its a micro, if you wanted to do crazy **** like F1 style potentiometers on the steering wheel to adjust diff locks etc... it could easily accommodate functions like that.

Had a PCB made for the screen controller. This gets assembled and then hidden in a corner of the cluster housing somewhere:



FieldEffectDave is offline  
Old 04-09-2011, 07:08 AM
  #63  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Dear god Dave that's epic.

Will you be releasing them for sale?
richyvrlimited is offline  
Old 04-09-2011, 07:50 AM
  #64  
Newb
 
FieldEffectDave's Avatar
 
Join Date: Aug 2009
Posts: 35
Total Cats: 0
Default

Once I assemble one and check the PCB is ok, ill release the design on BatchPCB.com then anyone can go there and order one.

Free plug for BatchPCB, I only ordered 2 PCB's and they sent me 5! So I might build up 5 and make 4 available to anyone interested in helping with software development.

There is plenty of flash and RAM to fill with features in the Ardunio code, but I would rather focus on getting the CAN bootloader working. Not enough time to work on everything!

Last edited by FieldEffectDave; 04-09-2011 at 08:04 AM.
FieldEffectDave is offline  
Old 04-09-2011, 02:06 PM
  #65  
Elite Member
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,554
Total Cats: 101
Default

So frikkin awesome... do want!
Zaphod is offline  
Old 04-10-2011, 09:44 AM
  #66  
Newb
 
FieldEffectDave's Avatar
 
Join Date: Aug 2009
Posts: 35
Total Cats: 0
Default

Just an explanation of my method to multiplex switches over the one horn line in the clock spring.

Its all theory at the moment, havn't checked it on a car yet.



I hope this works or I have wasted alot of time
FieldEffectDave is offline  
Old 04-11-2011, 12:23 PM
  #67  
Newb
 
sdlsaginaw's Avatar
 
Join Date: Mar 2011
Posts: 7
Total Cats: 0
Default My version of code

Here's my revision to the original code. Go ahead and play with it.

I was going to add power detection to the switch code/circuitry but instead just did a communication timeout instead. After not communicating with the EFI for 15 seconds it shuts off the display.

The lookup tables were borrowed from Megaview and are degrees F with the MV 40 degree offset. In the fnc file are constants for this offset, and min/max ranges for the gauge pointer. For some reason I had to put all the DATA values on one line for the compiler, it wasn't happy with them spread out as in the original fnc file.

The switch constants were for a 22k pullup and 22k/10k pulldowns on the switches. There is some commented out code in main() that displays the ADC values when uncommented, so use whatever resistors you have and adjust the constants.

[oh, and sorry for all the colors. It's an Italian car so I was going for an Italian flag motif for mine.]
Attached Files
File Type: txt
Ms1Display.4dg.txt (13.6 KB, 236 views)
File Type: txt
MegasquirtLookupTables.fnc.txt (7.4 KB, 106 views)

Last edited by sdlsaginaw; 04-12-2011 at 07:21 PM.
sdlsaginaw is offline  
Old 05-03-2011, 11:59 AM
  #68  
Senior Member
 
ianferrell's Avatar
 
Join Date: Aug 2010
Location: Maumelle, AR
Posts: 613
Total Cats: 3
Default

For anyone interested, we've got a google code site up for the project... Nothing terribly useful there yet, but its a start.

http://code.google.com/p/ms-can-display/
ianferrell is offline  
Old 05-04-2011, 06:05 AM
  #69  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by ianferrell
For anyone interested, we've got a google code site up for the project... Nothing terribly useful there yet, but its a start.

http://code.google.com/p/ms-can-display/
Fab!
richyvrlimited is offline  
Old 05-16-2011, 09:27 PM
  #70  
Elite Member
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,605
Total Cats: 16
Default

Still slowly starting to play with mine.

Can anyone answer why my 0,0 point on my display is nowhere near the top left corner as you would suspect?

I am waiting approval on the sites forum before I can post.
240_to_miata is offline  
Old 05-19-2011, 03:16 PM
  #71  
Newb
 
FieldEffectDave's Avatar
 
Join Date: Aug 2009
Posts: 35
Total Cats: 0
Default

http://www.4dsystems.com.au/download...tions-rev2.pdf

Page 50, 87, maybe a function call to something like this is moving the "origin"?

On page 172 it has the address for the internal origin x, y, you might be able to debug print this to find the problem.
FieldEffectDave is offline  
Old 05-19-2011, 04:12 PM
  #72  
Elite Member
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,605
Total Cats: 16
Default

I have the rev 1h board. It was a different file i had to load.

Thanks tho
240_to_miata is offline  
Old 12-30-2011, 03:38 PM
  #73  
Elite Member
iTrader: (41)
 
rharris19's Avatar
 
Join Date: Jan 2006
Location: Seabrook, TX
Posts: 2,417
Total Cats: 20
Default

Have their been any developments in an actual scan gauge type display anyone knows of? I wont be using the oem gauge cluster in my kit car and would love an enclosed simple screen that shows 4it or more readouts.
rharris19 is offline  
Old 12-30-2011, 03:43 PM
  #74  
Senior Member
 
ianferrell's Avatar
 
Join Date: Aug 2010
Location: Maumelle, AR
Posts: 613
Total Cats: 3
Default

I haven't touched the code since July (New baby) I'm about to mail my hardware off to the guy who wrote this code (link below) so maybe we'll have a pretty awesome ms2/3 compatible can based touch screen display setup soon. Seems like he has more time to work on this than I do, in theory he can do a light 'port' of his code over to Dave's hardware and with a little more code we should be able to display any gauge that tuner studio can.

http://msextra.com/forums/viewtopic.php?f=67&t=43303
ianferrell is offline  
Old 12-30-2011, 07:07 PM
  #75  
Junior Member
 
jnshk's Avatar
 
Join Date: Aug 2009
Location: Lake Jackson, TX
Posts: 166
Total Cats: 7
Default

Someone seems to have figured out a simple solution:

I'd really like to get my hands on something like that. Once I get the car running properly on the MS, the ScanGauge that I've got will become far less useful.
jnshk is offline  
Old 12-30-2011, 07:26 PM
  #76  
Elite Member
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,605
Total Cats: 16
Default

I have a 4dsystems display screen up FS in the classifieds. I am now working on a bigger 4.3" touchscreen to interface with my MS1Extra. It should allow for 2 gauges to be displayed with min/max storage, as well as some IO control to enable/disable launch control, dual table, etc.

Ill probably make a new thread later on when I have progress.

If you are looking for simple text display, the 4d systems screen I have for sale is perfect. Its not too hard to program and will do all that one in the video does and then some.
240_to_miata is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
sergmann
Miata parts for sale/trade
4
10-01-2015 12:46 AM
bahurd
Front Desk
0
09-21-2015 08:45 AM
ihiryu
General Miata Chat
2
09-17-2015 07:56 AM
slomiata
MEGAsquirt
1
09-15-2015 06:28 PM
Motorsport-Electronics
ECUs and Tuning
0
09-05-2015 08:02 AM



Quick Reply: scangauge type display?



All times are GMT -4. The time now is 08:26 AM.