megasquirt lcd display free sample

This is a digital dashboard display project intended to be used with a MegaSquirt2-Extra or MegaSquirt3 ECU (engine control unit). It"s 5-inch high-brightness LCD panel and LED strip makes viewing vital car/engine information quick and easy.

The firmware currently only has the option of displaying three different screens. One demo screen, and two screen showing some live information from the Megasquirt. The screens are flipped by touching the LCD screen (it"s a capacitive touch panel).

It"s not a simple project but the result is well worth the effort! The parts are relativity cheap to buy and you end up with a completely customizable digital dashboard display that rivals $1000+ commercial units.

As this display is CANbus based, it could also be programmed to work with data from many other aftermarket ECUs from manufacturers like Haltech, Link, EMS, FuelTech, ECUMaster, Motec, Syvecs, Emtron, etc, etc. It could also be programmed to support later model factory cars via a OBDII CANbus interface.

In my case, I have a 1990 Toyota Celica GT4 (aka Alltrac) that is used as a weekend club / race car. It has been running a MegaSquirt3 + MS3X ECU for about 6 years now. Previously I have used Android tablets/phones and RaspberryPi Linux devices to view ECU information, but these devices have proven to be slow to boot, unreliable and generally not fit for use in a harsh automotive environment no matter how much they are modified.

This project however was developed for my own use. I needed a better digital dash display for my Celica, and the new Crystalfontz high brightness accelerated display was absolutely perfect for this use.

The particular Crystalfontz LCD panel (CFAF800480E0-050SC-A1-1) is perfect for this because:It"s 5-inch size, and 800x480 resolution is a good middle-ground for a dash display.

Most of the embedded graphics firmware I have personally written in the past has required rendering of graphics in a micro-controller/micro-processor display buffer, which is then pushed out to the LCD panel one whole screen at a time. This requires quite a powerful processor, a lot of graphics rendering code, and careful timing.

The EVE2 graphics accelerator does a lot of this for us. We (using the ESP32) give a list of graphic objects to display (text, lines, circles, bitmaps, etc) to the EVE2, which it then renders on the LCD for us. It"s relativity easy to use, yet surprisingly powerful.

CANbus is very flexible, simple, fast and robust. While this project could have supported the Megasquirt serial interface (and may do in the future), using the CANbus interface just makes more sense here. There is less programming needed for obtaining data from the MegaSquirt when using CANbus. The MegaSquirt ECU is set up to blindly send the data out over the CANbus; we just suck it up and display it.

We use the ESP32 to obtain Megasquirt information from the CANbus, decode it, then create a display-list (graphics objects) which we send to the EVE2 accelerated LCD panel via the SPI interface. The ESP32 also sends color/brightness data to the WS2812b LEDs via a PWM (pulse-width modulated) interface.

The ESP32 contains a CANbus interface, but extra interfacing is required between it and the actual CANbus wires that go off to the MegaSquirt. The MCP2551 CANbus transceiver chip/module does this for us.

5 volt supply is required for most of the circuitry in this project, so we need a voltage regulator to take the normal 9V to 16V present in a car (car batteries are 12V, but when a car is running its normally around 14V), down to 5V. It needs to supply up to 2 amps (the LCD backlight and WS2812b can use a decent amount of power).

This is not the quickest or simplest project around, actually it"s somewhat the opposite. You"ll need a decent amount of electronics experience to build the display, and some C programming experience to customise the display.

megasquirt lcd display free sample

MegaSquirt Digital Dashboard Display: Project Introduction This is a digital dashboard display project intended to be used with a MegaSquirt2-Extra or MegaSquirt3 ECU (engine co...

megasquirt lcd display free sample

There’s no shortage of drop-in digital dashes, data logging units, and other displays on the market for race cars that are designed to get their data from the engine management system. A growing number of them support MegaSquirt. Here, we present a roundup of units known to work with the MegaSquirt, as well as various smart phone and tablet apps that provide a similar function.  If you know of one that works with MegaSquirt that we didn’t list, send us an email and we’ll get it added.  If you are a programmer looking for the information needed to add MegaSquirt support to your data logging system, you’ll also find it here.

AEM’s CD series racing dashes connect to the MS2 and MS3 over the CAN bus as long as you are running the latest firmware on the ECU. AEM has a predefined setting which they have tested in house on MegaSquirt hardware to make setting this up straightforward. The only extra parts needed would be a 2 pin DTM style connector for the dash’s CAN bus wiring.

Auto Meter’s LCD Competition Dash supports CAN input for use with an MS2 or MS3. Currently they do not have a preconfigured definition file, but the software is very flexible in setting up definition files.

Autosport Labs offers the Podium Connect and RaceCapture data logging and telemetry systems. These connect to MS2 and MS3 over the CAN bus. Autosport Labs offers several models with various data acquisition and cell phone based telemetry capabilities. They also have an Android display app which connects to their own hardware.

The iDash fits in a 52 mm gauge pod, connects over CAN, and can display up to eight separate readings. Up to four units can be daisy chained together. Supports MS2 and MS3 ECUs. This uses the CAN broadcasting protocol and requires MS2/Extra 3.4.0 or later, or MS3 1.4.0 or later firmware.

Perfect Tuning makes a display that fits in a 52 mm gauge hole and can display up to eight channels. This unit can connect to the MS2 and MS3 over CAN. Works with all standard firmware variants. In addition, the gauge can monitor up to three analog sensors on its own and transmit the data back to an MS3. Requires MS2/Extra 3.4.0 or later, or MS3 1.4.0 or later firmware.

MS2 (firmware 3.4.x and newer)  and MS3 (firmware 1.4.x and newer) are compatible with Racepak VNet via the RACEPAK-CAN interface module, or on some newer models It uses the simplified dash broadcasting mode — section 1 of this pdf shows what fields are transmitted and how to set up the MegaSquirt to broadcast the data: http://www.msextra.com/doc/pdf/Megasquirt_CAN_Broadcast.pdf

mobiSQUIRT is available for the iPhone and iPad.  Current versions support MS1 and MS2, with MS3 support planned.  Connecting to MegaSquirt requires a serial to WiFi adapter.

RealDash is a display and data logging app that can run on several platforms. The Android version can connect using a Bluetooth or WiFi adapter, while the iPhone / iPad version is WiFi only.

The latest smartphone program from Phil Tobin at EFI Analytics. As the name implies, this permits using a phone or tablet as a dash display. This one has a TunerStudio-style dash display, data logging, and can also load and save tunes, so you can carry around tunes for different fuels or different setups in your phone without using a laptop. Connects over USB or Bluetooth.

Shadow Logger is an Android logging program from Phil Tobin, the same programmer who brought you TunerStudio and MegaLogViewer.  It supports MS1, MS2, and MS3.  Connecting to MegaSquirt requires a serial to Bluetooth adapter. Note that Phil also has a newer program out, Shadow Dash (above).

Current laptop tuning software uses RS232 exclusively, so a CAN based display device would be able to keep running with a laptop connected, while an RS232 based one would not.

megasquirt lcd display free sample

I have a arduino uno on the shelf, and i"m going to order a LCD soon, and a megasquirt 1 engine management system talking via rs232/serial communication.

megasquirt lcd display free sample

Most of us decided to upgrade to a Megasquirt ECU due to either exceeding the capabilities or needed additional features that our stock system just wasn’t capable of doing.  With the installation of the DD-EFI Digital Dash you can now take your vehicle to the next level by getting rid of all of those inaccurate stock analog and aftermarket gauges.

megasquirt lcd display free sample

The Megasquirt ECUs are supplied with a preassembled wiring harness with flyleads attached ready for connection into the vehicle. The CAN connections can be found among these.

The MS ECUs need to be configured to output CAN data. Please follow the steps below to ensure the correct settings have been made on your Megasquirt ECU.

Note: Vehicle Speed and Exhaust Gas Temperature are only available when connected to a Megasquirt MS3. When Connected to a Microsquirt or MS2 these channels will output but display 0.

megasquirt lcd display free sample

Since this display is based on the can bus, it can also be programmed to handle from Haltech, Link, EMS, FuelTech, ECUMaster, Motec, Syvecs, Emtron, and more.

In my case, the purpose is to have the LED strip mounted above the LCD panel so that it can be easily hidden behind the mounting board/border with holes to see the LED.

Mount the LCD module, place the LED strip on the top edge of the LCD and keep it horizontal with the LCD glass, and weld it in place using some male pin to make up for the gap, and for connection of 5 v, ground and data

If you have more devices on the can bus network than the Megasquirt ECU and dash display, you need to read elsewhere how to connect a multi-node can bus system.

If everything is OK, you should now be able to touch the screen twice, switch to the data list screen and display UpT, voltage and other information correctly.