scangauge type display?
#62
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:
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:
#64
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!
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.
#67
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.]
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.]
Last edited by sdlsaginaw; 04-12-2011 at 07:21 PM.
#68
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/
http://code.google.com/p/ms-can-display/
#69
Elite Member
iTrader: (1)
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
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/
http://code.google.com/p/ms-can-display/
#70
Elite Member
iTrader: (2)
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,605
Total Cats: 16
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.
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.
#71
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.
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.
#74
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
http://msextra.com/forums/viewtopic.php?f=67&t=43303
#76
Elite Member
iTrader: (2)
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,605
Total Cats: 16
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.
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.
Thread
Thread Starter
Forum
Replies
Last Post
Motorsport-Electronics
ECUs and Tuning
0
09-05-2015 08:02 AM