My display device (TouchScreen,SDcard) ** NOW OPEN SOURCE **

A forum for discussing the MegaSquirt related (but non-B&G) board development, assembly, installation, and testing.

Moderators: jsmcortina, muythaibxr

93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by 93white3400z »

[L'e$kro] wrote:Very nice! Would love one as well..
Your bluetooth dongle looks similar to the one suggested for use with ShaddowLogger, isn't it?
Nico
Yep, I bought it from Phil! And I just ordered another one last night for my spare MS3 so I can have one on the bench and one on the MS3 in the car. I keep buying from Phil because the product works great and the customer service is amazing (he ships lightning fast :))
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by 93white3400z »

Optimized a few things (ms serial communication and some touch screen stuff) and made the display much more responsive, sweeeeeeet.

I guess there is a lot of people that would be interested in wiring diagram and code ?
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
NewFoxau2
Helpful MS/Extra'er
Posts: 38
Joined: Sun May 29, 2011 7:12 am

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by NewFoxau2 »

I'm certainly interested! Question though. Can you make it support several screens and display a different gauge on each screen? I want to use lcds behind my dash, but I don't have room for a 7" screen. So several small screens, one behind each hole is likely my only option. Can you display the same combo gauges like in tunerstudio?
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by 93white3400z »

Pretty much anything is possible. My current hardware doesn't have enough UART port for 7 screens tho. You would have to use different hardware for that, then my code would have to be modified.

I'm thinking of this project more as something to help people get started, but you might have to get to work if you want something totally custom. Then people could either contribute to the code source or make a voluntary donation or something ?! I think we could all have a decent display for our megasquirt for a super decent price and keep on improving the firmware.
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
grom_e30
Super MS/Extra'er
Posts: 4459
Joined: Thu Mar 08, 2012 12:44 pm
Location: UK

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by grom_e30 »

So any plans to bring this to the masses?
1990 bmw 320i daily driver with m20b25 ms3 sequential fuel, 380cc injectors, d585 coil near plug, home made cam sync, launch control, fan control, vss, homebrew egt logging what's next????
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by 93white3400z »

Not sure... it's not 100% ready and I'm loosing interest :?
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
fixmann
Helpful MS/Extra'er
Posts: 135
Joined: Tue Jun 02, 2009 12:52 pm
Location: Norway

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by fixmann »

Hi
Where did you buy the LCD.
Could you be interested in sharing the sourcecode?
If you decide to do so, then the development could continue :-)

Øyvind
fixmann
Helpful MS/Extra'er
Posts: 135
Joined: Tue Jun 02, 2009 12:52 pm
Location: Norway

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by fixmann »

Edit: Spasm in my mousefinger.........:-)


Hi
Where did you buy the LCD.
Could you be interested in sharing the sourcecode?
If you decide to do so, then the development could continue :-)

Øyvind
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by 93white3400z »

We could always work something out but I thought you said in another thread that you were familiar with C++ ? :)
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
fixmann
Helpful MS/Extra'er
Posts: 135
Joined: Tue Jun 02, 2009 12:52 pm
Location: Norway

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by fixmann »

Hi
I have been thinking, but i cant recal i`ve said that.
I am into basic-programming.
Lately i have been reading on the arduino language, its similar to bascom.

Even if i haven not updated my thread about megalcd http://www.msextra.com/forums/viewtopic ... 67&t=39793 , i have been working on it.
Right now datalogging and 400x320rgb display are under development.
But you are much fourther ahead than me.

Øyvind
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by 93white3400z »

You said it in this post: http://msextra.com/forums/viewtopic.php ... 20#p304472, anyway no big deal :D
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen, SD card) ** WITH VIDEOS

Post by 93white3400z »

So MegaCluster is now open source!

https://github.com/sebgiroux/MegaCluster

If you modify/add feature/fix bug whatever, please either reply in this thread or pull request on github. It would be awesome if we could work together to make it a better device :) We might need someone to make a cleaner version of the hardware too, and help with the firmware would be nice.
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
fixmann
Helpful MS/Extra'er
Posts: 135
Joined: Tue Jun 02, 2009 12:52 pm
Location: Norway

Re: My display device (TouchScreen,SDcard) ** NOW OPEN SOURC

Post by fixmann »

Hi
Thanks for sharing the source, well after some more reading on the arduino language i see that arduino is based in c++.
i was not aware of that, so now i understand why you wondered :-) .
As mentioned, am not familiar with c++, but this is a wery interesting project you have here, i must gather the hardware and do some more reading.
Am shure there is some clever c++ people that can help out here :-)

Øyvind
fixmann
Helpful MS/Extra'er
Posts: 135
Joined: Tue Jun 02, 2009 12:52 pm
Location: Norway

Re: My display device (TouchScreen,SDcard) ** NOW OPEN SOURC

Post by fixmann »

Hi
Today i was outside with the rgb-lcd i was suposed to use with the project i have been working on.
But that was a big disapointment since the sun blocks the the information out, my lcd is quite bright but still.

Have you been outside testing the lcd you use in daylight?


Øyvind
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen,SDcard) ** NOW OPEN SOURC

Post by 93white3400z »

Not yet, I tried it for the first time in the car in the garage yesterday but just inside the garage. Will test it more in the next days/weeks tho :D
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
T3Bunny
Super MS/Extra'er
Posts: 1391
Joined: Sun Nov 28, 2004 8:44 pm
Location: Miami, Florida

Re: My display device (TouchScreen,SDcard) ** NOW OPEN SOURC

Post by T3Bunny »

I am highly interested in your little project here. Like you also mentioned, I am not an electronics expert. Code is still a foreign language to me, one I wish to learn. I have a few questions...

First off would you be willing to write up a little more detailed explaination of how you combined the parts? Attaching the Video directly to the Arduino board seems like it would be fairly self evident, but I am not sure how the I2C to UART board interfaces. Or what exactly that even means. :lol:

I would be very interested in tackling this project, but have no idea what exactly to do with all the files you have uploaded on the github site. Is compiling the code and loading it to the Arduino with MPIDE pretty self explanatory for somebody who has never attempted to work with any of this before?

If not, and your willing to offer assistance here for me to get this online, I would gladly contribute my time and photography skills to writing up a good set of instructions. I think it is something a lot of us could benifit from.

How did viewing that LCD screen in daylight turn out??? I have noticed that the best options for daylight viewable, seem to be the OLED screens. So I went digging.

Going under the assumption that the screen pixel size would need to remain the same (to prevent rewriteing the code), I found this one: http://www.robotshop.com/productinfo.as ... lang=en-US

Price point wise, it is spendy in comparison to the screen your using. The smaller size and bright viewing ability though might make it worth the extra in some installations (like mine). Would this one work with this current setup???

MegaSquirt really needs an inexpensive display option that is flexible enough to make it worthwhile. The MegaViewer while simple, is not to many people's liking. And at $120 for your setup WITH the addition of datalogging, or the option to use other sized screens... This choice wins hands down over price too. Tp put it in perspective, I would prefer to pay $300 for this assembled with the smaller OLED screen, than $170 for the MegaViewer. Even with your screen, I would be happy shelling out $200.

And since your talking about mostly already assembled devices... A good set of instructions that would let anyone put this together would get more people working on the code side of it. And even as it is now, it looks like exactly what I would be after.

The Android dash platform ideas look promising too. But their drawback for my setup would be size. And for them to work Bluetooth is required bumping up the base price. The cheapest I found was $100. The smallest ones with BT internal, are 7". Also starting one up is a bit more involved than turning on the ignition, or a switch.
Forget the porn, my bathroom is full of car manuals...
1977 Rabbit (retired)
1991 Cabriolet (retired)
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen,SDcard) ** NOW OPEN SOURC

Post by 93white3400z »

I could do something more in depth for the wiring of all this stuff. The only problem I have right now is that I'm not sure if the hardware is final, actually I'm pretty sure it's not. I would like a bit more power and at least a couple UART hardware port so I don't need that I2C to UART thing you're talking about. It would make everything faster, easier to build and less messy.

Compiling the code is pretty easy. You have all the sketch, so all you need is put it in a folder and open the .pde file with MPIDE. You have to do a small modification to a file that I have covered in the README.

If you want to buy the hardware as is and build it (because it does work just fine), go ahead and do so. The LCD is really not that great in day light and the touch is not very precise tho. I do plan to upgrade the screen at some point but probably for one of these: http://www.4dsystems.com.au/prod.php?id=156. They do have a capacitive version so the touch will be much better but that won't help for the daylight thing. Changing the resolution of the screen does require quite a bit of code change but the code could eventually have constant with screen resolution and it would scale the items on the screen as needed depending on the screen. If you have better option, I might consider that too but from what I've seen it's really hard to find a oLED screen in a bigger format.

I think I went further then a lot of people with this and posted the code and everything. If you have very specific question about the creation of this device and want to buy the current hardware, I can probably help.
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
T3Bunny
Super MS/Extra'er
Posts: 1391
Joined: Sun Nov 28, 2004 8:44 pm
Location: Miami, Florida

Re: My display device (TouchScreen,SDcard) ** NOW OPEN SOURC

Post by T3Bunny »

Sweet! Well I am researching and absorbing this all. I went to the Radio Shack for terminal blocks today, and found they have finally gotten back to their roots, and have all sorts of cool projects in stock now. They had a whole section for Arduino goodies. I got to talking with the clerk there and he is a code slinger and offered to help with the display project.

I think between what you have already put out there, and further brainstorming we can get it done! When I have more time and sleep, I will post up some more info!
Forget the porn, my bathroom is full of car manuals...
1977 Rabbit (retired)
1991 Cabriolet (retired)
93white3400z
Master MS/Extra'er
Posts: 685
Joined: Mon Aug 25, 2008 11:37 pm
Location: Montreal, Quebec

Re: My display device (TouchScreen,SDcard) ** NOW OPEN SOURC

Post by 93white3400z »

You will find out that what I already have put there might be more helpful then you think, there is a lot of hours in that code.

You got me curious about LED vs LCD in sunlight, and it seems pretty clear now that LED is much better, and LCD is more for indoor use. Now I might have to find a decent sized LED touch screen and modify the code to support it. I would upgrade to an Arduino Due at the same time and probably get a little bigger screen too. I wish 4d systems made some bigger LED screen, it would be perfect but looks like they don't :( 2.83 inch is way too small :| If you have any idea where to find 4-5" LED touch screen that could work on Arduino, let me know :)
1993 Chevrolet Cavalier Z24
3400 Turbocharged Inter-cooled
MS3 v3.57+MS3X
T3Bunny
Super MS/Extra'er
Posts: 1391
Joined: Sun Nov 28, 2004 8:44 pm
Location: Miami, Florida

Re: My display device (TouchScreen,SDcard) ** NOW OPEN SOURC

Post by T3Bunny »

93white3400z wrote:You will find out that what I already have put there might be more helpful then you think, there is a lot of hours in that code.
Okay coolios! While I am not likely to be coding much with it, my new buddy I am sure will be able to sort that. And hopefully teach me in the process!
93white3400z wrote:I wish 4d systems made some bigger LED screen, it would be perfect but looks like they don't :( 2.83 inch is way too small :| If you have any idea where to find 4-5" LED touch screen that could work on Arduino, let me know :)
I will look around! That 2.83 4d screen might be perfect for me though... I do not have a lot of available real estate to use. I am REALLY liking their smaller screens too... I am wondering how much of a stretch it would be to possibly add in a couple of those smaller screens too. Figuring out code to make one a digital speedometer readout and stuff in my speedo, would be sweet. And I can see another one for a CEL that tells what the out of parameter sensors are. Just some thoughts. I am seriously thinking of grabbing the Ardino Uno (I think?) module from Radio Shack and a book and seeing what I can learn and figure out. I wil post up a link to it later to get your opinion! Sounds like it may not be the most flexible choice they have???
Forget the porn, my bathroom is full of car manuals...
1977 Rabbit (retired)
1991 Cabriolet (retired)
Post Reply