Nissan 370Z Forum  

LCD Gauge Update #3: 35 Data Items on 16 Pages!

Originally Posted by SLOPOS I'd need to know a bit more about the project to be sure it's even feasible, but a pi3 can fastboot in about 2-3 seconds. I

Go Back   Nissan 370Z Forum > Nissan 370Z Tech Area > Engine & Drivetrain


Like Tree30Likes

Reply
 
LinkBack Thread Tools Display Modes
Old 03-15-2022, 09:34 AM   #16 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by SLOPOS View Post
I'd need to know a bit more about the project to be sure it's even feasible, but a pi3 can fastboot in about 2-3 seconds. I guess I assumed based on the form factor that is what you were using here to run the front end display, but I need to go back and read your other posts.
I am using a $8 ESP-32 micro controller to read the CAN bus, read the Bluetooth data, and drive the LCD display. It is quite the powerhouse!!

Two of the initial design goals was to be affordable and instant start up.

Down the road, I will be looking at using a pi as that will make it easy to drive a larger display. For now, I am focusing on a small (easier to place on the dash) display.

The most difficult and time consuming part of this project has been reverse engineering the CAN bus on multiple Nissan/Infiniti vehicles (like 370, G37, M56, Q50, etc) This is the only way to know if the gauges will work, or what to change in the code so they do work.
MotorvateDIY is offline   Reply With Quote
Old 03-15-2022, 09:45 AM   #17 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by THE BULL View Post
I have 3 of these clusters at the house and they sure are expensive. From taking them apart I can't see a passive way to install, almost 90% sure printing it would be the only option.

What I do envision is this going in the center storage (where non navi install their tablets)

This LCD gauge will be a hot item for sure!
Hey BULL, it was nice to chat yesterday.
Thanks for the offer to send me some pics of the disassembled 370 cluster. That will allow me to see inside the cluster without buying one. (for now!)
MotorvateDIY is offline   Reply With Quote
Old 03-15-2022, 10:21 AM   #18 (permalink)
A True Z Fanatic
 
redondoaveb's Avatar
 
Join Date: Apr 2017
Location: So. Commiefornia
Posts: 6,361
Drives: 2014 Nismo Gunmetal
Rep Power: 2684374
redondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond repute
Default

Quote:
Originally Posted by MotorvateDIY View Post
For your gauges, is this correct?
• Boost
• Oil Pressure
• Oil Temp
• Air/Fuel ratio
• Ethanol content

Are they all standalone gauges & sensors?
All correct except water temp instead of oil temp. All standalone
__________________
Fast Intentions "Stage Seb" twin turbo #098- Specialty Z/Tial-Xonarotor/CJM/Ecutek/HKS/KW/SPL/Hotchkis/Rohana/Toyo
700+whp

Last edited by redondoaveb; 03-15-2022 at 10:23 AM.
redondoaveb is offline   Reply With Quote
Old 03-15-2022, 10:24 PM   #19 (permalink)
Base Member
 
DPz34's Avatar
 
Join Date: May 2020
Location: MI
Posts: 9
Drives: 2010 370z 6MT
Rep Power: 5
DPz34 is on a distinguished road
Default

Really enjoying seeing your progress on this project! Just to clarify, engine oil pressure is NOT on the CAN bus, right? Just a low oil pressure switch. Which aftermarket oil pressure sensor are you using that can send data to the bluetooth sensor server?
DPz34 is offline   Reply With Quote
Old 03-15-2022, 11:29 PM   #20 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by DPz34 View Post
Really enjoying seeing your progress on this project! Just to clarify, engine oil pressure is NOT on the CAN bus, right? Just a low oil pressure switch. Which aftermarket oil pressure sensor are you using that can send data to the bluetooth sensor server?
I'm glad you have been following the progress. It has evolved into much more than I expected when I first started on it just over a year ago.

Correct, engine oil pressure is not on the CAN bus.

I am using a 150 PSI Honeywell PX3 pressure sensor for oil pressure and a 100 PSI PX3 for fuel pressure.

The Bluetooth sensor server will work with any 5v, 3 wire pressure sensor. They typically output 0.5 volts at 0 psi and 4.5 volts at the max rated pressure.
It does the analog to digital conversion, applies the scale and offset, then sends the data out via Bluetooth.
MotorvateDIY is offline   Reply With Quote
Old 03-16-2022, 02:35 AM   #21 (permalink)
Base Member
 
Join Date: Dec 2021
Location: Florida
Posts: 54
Drives: 2013 370z Base MT
Rep Power: 5822
SLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond repute
Default

Quote:
Originally Posted by MotorvateDIY View Post
I am using a $8 ESP-32 micro controller to read the CAN bus, read the Bluetooth data, and drive the LCD display. It is quite the powerhouse!!

Two of the initial design goals was to be affordable and instant start up.

Down the road, I will be looking at using a pi as that will make it easy to drive a larger display. For now, I am focusing on a small (easier to place on the dash) display.

The most difficult and time consuming part of this project has been reverse engineering the CAN bus on multiple Nissan/Infiniti vehicles (like 370, G37, M56, Q50, etc) This is the only way to know if the gauges will work, or what to change in the code so they do work.
Very familiar with that platform, granted when I was using them they were mostly used for WiFi gpio to control relays and the like, but not much else. Im guessing then you're using i2c for the screen output which wouldn't even require going to a pi as there are plenty of larger i2c screens available and the resolution and refresh rates seem to be adequate. More and more impressed with this project the more I learn about it, thanks for sharing!
SLOPOS is offline   Reply With Quote
Old 03-16-2022, 08:01 AM   #22 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by SLOPOS View Post
Very familiar with that platform, granted when I was using them they were mostly used for WiFi gpio to control relays and the like, but not much else. Im guessing then you're using i2c for the screen output which wouldn't even require going to a pi as there are plenty of larger i2c screens available and the resolution and refresh rates seem to be adequate. More and more impressed with this project the more I learn about it, thanks for sharing!
I think you meant SPI, not I2C... I2C is too slow for a full colour display.

A 320 x 240 display has 76,800 pixels, and each pixel has 16 bits (RGB565) of colour information, for a total of 1,226,800 pixels or 153,600 bytes per LCD screen/page.

The LCD controller I use supports a max SPI clock of 40 Mhz resulting in taking 0.180 seconds to draw each page. By only "drawing" the parts of the screen that change, the display updates around 30 times per second.

To make the best use of all clock cycles, I use a RTOS (real time operating system) which allows pre-emptive multitasking. This allows me to run multiple tasks at the same time.

The tasks I have set up are: reading the CAN bus, receiving Bluetooth data, and drawing the display. They all run independently and at full speed. Nice!

Also, since the ESP32 has 2 cores, core 0 is dedicated to handling all Bluetooth communications, and core 1 handles reading the CAN bus and rendering the display.

Anyways, I'm glad to share the details...
JARblue and Uxi like this.
MotorvateDIY is offline   Reply With Quote
Old 03-16-2022, 10:35 AM   #23 (permalink)
Base Member
 
Join Date: Dec 2021
Location: Florida
Posts: 54
Drives: 2013 370z Base MT
Rep Power: 5822
SLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond reputeSLOPOS has a reputation beyond repute
Default

Quote:
Originally Posted by MotorvateDIY View Post
I think you meant SPI, not I2C... I2C is too slow for a full colour display.

A 320 x 240 display has 76,800 pixels, and each pixel has 16 bits (RGB565) of colour information, for a total of 1,226,800 pixels or 153,600 bytes per LCD screen/page.

The LCD controller I use supports a max SPI clock of 40 Mhz resulting in taking 0.180 seconds to draw each page. By only "drawing" the parts of the screen that change, the display updates around 30 times per second.

To make the best use of all clock cycles, I use a RTOS (real time operating system) which allows pre-emptive multitasking. This allows me to run multiple tasks at the same time.

The tasks I have set up are: reading the CAN bus, receiving Bluetooth data, and drawing the display. They all run independently and at full speed. Nice!

Also, since the ESP32 has 2 cores, core 0 is dedicated to handling all Bluetooth communications, and core 1 handles reading the CAN bus and rendering the display.

Anyways, I'm glad to share the details...
Oh, derp! I was thinking esp8266 which didn't have spi capabilities *facepalm* - kinda the little brother of the esp32. I do think I have some 32s laying around from a weather station project I was working on but never finished. Can't wait to see the full published doc - if you need any 370 guinea pigs, feel free to drop be a line.
JARblue likes this.
SLOPOS is offline   Reply With Quote
Old 03-16-2022, 02:30 PM   #24 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by SLOPOS View Post
Oh, derp! I was thinking esp8266 which didn't have spi capabilities *facepalm* - kinda the little brother of the esp32. I do think I have some 32s laying around from a weather station project I was working on but never finished. Can't wait to see the full published doc - if you need any 370 guinea pigs, feel free to drop be a line.
Thanks for the offer, I will keep that in mind.
Since I am in the Toronto area, I will be testing in this area first
MotorvateDIY is offline   Reply With Quote
Old 04-12-2022, 06:20 PM   #25 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Here is an overview of our Bluetooth Sensor Server.
This provides an easy way to convert any wired pressure/temperatures sensors to Bluetooth for our LCD gauges / mini-dash.
-AND-
This means you don't need to figure out how to get a wire from the engine bay, through the fire wall and into the interior of the car.
​​​​​​​https://youtu.be/U_kH3K_C2AE
MotorvateDIY is offline   Reply With Quote
Old 04-12-2022, 07:54 PM   #26 (permalink)
A True Z Fanatic
 
redondoaveb's Avatar
 
Join Date: Apr 2017
Location: So. Commiefornia
Posts: 6,361
Drives: 2014 Nismo Gunmetal
Rep Power: 2684374
redondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond repute
Default

Quote:
Originally Posted by MotorvateDIY View Post
Here is an overview of our Bluetooth Sensor Server.
This provides an easy way to convert any wired pressure/temperatures sensors to Bluetooth for our LCD gauges / mini-dash.
-AND-
This means you don't need to figure out how to get a wire from the engine bay, through the fire wall and into the interior of the car.
​​​​​​​https://youtu.be/U_kH3K_C2AE
It's coming along great Frank. Have you decided on what size screen you're going to use? There are a few of us that would like to mount it in the existing cubby location and don't want it to be too small
__________________
Fast Intentions "Stage Seb" twin turbo #098- Specialty Z/Tial-Xonarotor/CJM/Ecutek/HKS/KW/SPL/Hotchkis/Rohana/Toyo
700+whp
redondoaveb is offline   Reply With Quote
Old 04-13-2022, 08:33 AM   #27 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by redondoaveb View Post
It's coming along great Frank. Have you decided on what size screen you're going to use? There are a few of us that would like to mount it in the existing cubby location and don't want it to be too small
Thanks!
Tell me what size you would like and I will see what is available and potentially acquire a few for testing.
redondoaveb likes this.
MotorvateDIY is offline   Reply With Quote
Old 04-13-2022, 10:13 AM   #28 (permalink)
A True Z Fanatic
 
redondoaveb's Avatar
 
Join Date: Apr 2017
Location: So. Commiefornia
Posts: 6,361
Drives: 2014 Nismo Gunmetal
Rep Power: 2684374
redondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond repute
Default

Quote:
Originally Posted by MotorvateDIY View Post
Thanks!
Tell me what size you would like and I will see what is available and potentially acquire a few for testing.
Let me do a quick survey and I'll get back to you. Thanks
__________________
Fast Intentions "Stage Seb" twin turbo #098- Specialty Z/Tial-Xonarotor/CJM/Ecutek/HKS/KW/SPL/Hotchkis/Rohana/Toyo
700+whp
redondoaveb is offline   Reply With Quote
Old 04-13-2022, 01:25 PM   #29 (permalink)
A True Z Fanatic
 
redondoaveb's Avatar
 
Join Date: Apr 2017
Location: So. Commiefornia
Posts: 6,361
Drives: 2014 Nismo Gunmetal
Rep Power: 2684374
redondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond reputeredondoaveb has a reputation beyond repute
Default

Quote:
Originally Posted by MotorvateDIY View Post
Thanks!
Tell me what size you would like and I will see what is available and potentially acquire a few for testing.
Hey Frank, I think somewhere around 4" x 6" would work out really nice. You could set up a screen with just 2 gauges per screen or multiple gauges per screen (like Ecutek dashboard) can't you? For example, oil pressure and water temp. If so, it would be nice if those could be enlarged to a little under 3" diameter
__________________
Fast Intentions "Stage Seb" twin turbo #098- Specialty Z/Tial-Xonarotor/CJM/Ecutek/HKS/KW/SPL/Hotchkis/Rohana/Toyo
700+whp
redondoaveb is offline   Reply With Quote
Old 04-13-2022, 09:39 PM   #30 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by redondoaveb View Post
Hey Frank, I think somewhere around 4" x 6" would work out really nice. You could set up a screen with just 2 gauges per screen or multiple gauges per screen (like Ecutek dashboard) can't you? For example, oil pressure and water temp. If so, it would be nice if those could be enlarged to a little under 3" diameter
Thank your for doing this!
I will investigate what my options are in that size.
redondoaveb likes this.
MotorvateDIY is offline   Reply With Quote
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UPDATE: Popular Items Back In Stock, Some Items Still OOS Nick@Adams Adam's Polishes 0 10-29-2013 09:55 AM
We have reached 370 pages in General Discussions! Look Up! /\/\/\ NissanUSA Nissan 370Z General Discussions 8 01-27-2012 04:13 PM
Any Takers????...Import Tuner Power Pages...??? TSE North East Region 9 05-09-2010 08:49 PM
What happened to the tire pressure gauge and speedo in the middle gauge cluster? rbratton Nissan 370Z General Discussions 33 01-24-2009 11:28 PM


All times are GMT -5. The time now is 05:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 PL2