1984-1989 1.5 DIN Car Computer project
#61
Intermediate
The video quality isn't good enough to see that when I press the over-drive button on my shifter, one of the bits changes from a 0 to a 1.
Nice job!
Keith
The following users liked this post:
LWesthaver (05-02-2018)
#62
Burning Brakes
Thread Starter
If you're into binary, you can also see the PROMID's in the top row, 3rd and 4th bytes (fyi: the ECM always sends a start bit (0) followed by 8 data bits so the leading zero is not part of the data). These values indicate the version of the Programmable Read Only Memory chip installed in the car:
Code:
PROMIDA PROMIDB 000011110 010101011 | | | | +-1Eh--+ +-ABh--+ | | +-----7851d------+
My car has a PROMID of 1EAB Hex or 7851 Decimal.
Last edited by LWesthaver; 09-05-2018 at 12:53 AM.
#64
Burning Brakes
Thread Starter
The download link for the Arduino code is near the bottom of the page.
Last edited by LWesthaver; 08-09-2019 at 05:34 PM.
The following users liked this post:
-=Jeff=- (07-12-2018)
#65
Sure, here's a link: Arduino 160 Baud ALDL Reader
The download link for the Arduino code is near the bottom of the page.
The download link for the Arduino code is near the bottom of the page.
#67
Burning Brakes
Thread Starter
The 8192 protocol is quite a bit different. It is a request/response protocol. It doesn't just stream endlessly once initiated like the 160 protocol. And there are more timing issues to deal with. But it is a faster/better protocol. I've found some helpful people who have provided some guidance and I hope to start coding for the 8192 protocol soon. But I've got a few other tasks I need to complete first.
Last edited by LWesthaver; 07-12-2018 at 05:54 PM.
#68
Team Owner
This is an absolutely amazing project, congrats on everything you have done thus far! I was looking at my 1.5 DIN aftermarket Pioneer unit earlier today thinking "Why do these all look so terrible?" then stumbled upon this thread. Amazing work, really, it's rare anyone goes to these lengths to help our early C4s.
The following users liked this post:
LWesthaver (07-13-2018)
#69
Pro
Working on 8192 ALDL protocol
I looked at this thread in amazement a few months ago. This combination looks like a perfect way to replace the junk aftermarket radio in my '85 and provide a platform for the 10 - 18 hz GPS datalogger I want to build for Autocross. Over the past 3 years I've spent a lot of time inside the $6E code for the 1227165 ecm I installed in my car, including successfully modifying and reassembling the source code from the disassembly hack. My initial vision is to use an ESP32 (programmed in Arduino IDE) to log both the GPS and ALDL Datastream then hand a combined stream to the Raspberry PI for display and long term storage. If there's interest I can post what I come up with here. I Hope to save some time for LWesthaver to use on the main part of his build.
Last edited by Z51BOB; 08-12-2018 at 12:11 PM. Reason: add some to it
#70
Burning Brakes
Thread Starter
I looked at this thread in amazement a few months ago. This combination looks like a perfect way to replace the junk aftermarket radio in my '85 and provide a platform for the 10 - 18 hz GPS datalogger I want to build for Autocross. Over the past 3 years I've spent a lot of time inside the $6E code for the 1227165 ecm I installed in my car, including successfully modifying and reassembling the source code from the disassembly hack. My initial vision is to use an ESP32 (programmed in Arduino IDE) to log both the GPS and ALDL Datastream then hand a combined stream to the Raspberry PI for display and long term storage. If there's interest I can post what I come up with here. I Hope to save some time for LWesthaver to use on the main part of his build.
I can tell you that a cheap USB GPS puck plugged into the raspberry pi works great. I wouldn't use an Arduino for that task as it isn't time-critical. But the ECM data stream which is time-critical needs to be handled by a dedicated processor like the Arduino.
What led you to choose the ESP32? It's new to me so I just looked it up. Would it be a better choice than a garden variety Arduino?
If you would like to discuss the low level details of what I've been doing, send me a PM. I'd like to hear more about what you are doing.
--Wes
#71
Pro
I would be very interested in anything you have learned about modifying the ECM code. To me that's kinda the last frontier.
I can tell you that a cheap USB GPS puck plugged into the raspberry pi works great. I wouldn't use an Arduino for that task as it isn't time-critical. But the ECM data stream which is time-critical needs to be handled by a dedicated processor like the Arduino.
What led you to choose the ESP32? It's new to me so I just looked it up. Would it be a better choice than a garden variety Arduino?
If you would like to discuss the low level details of what I've been doing, send me a PM. I'd like to hear more about what you are doing.
--Wes
I can tell you that a cheap USB GPS puck plugged into the raspberry pi works great. I wouldn't use an Arduino for that task as it isn't time-critical. But the ECM data stream which is time-critical needs to be handled by a dedicated processor like the Arduino.
What led you to choose the ESP32? It's new to me so I just looked it up. Would it be a better choice than a garden variety Arduino?
If you would like to discuss the low level details of what I've been doing, send me a PM. I'd like to hear more about what you are doing.
--Wes
#72
Pro
3d print for faceplate & chassis?
Has anyone looked into 3d printing the face plate? It might be possible to print them with raised lettering that could be stamp painted white - a close match to the original trim pieces.
#73
Burning Brakes
Thread Starter
In some of my past projects, I've contracted with a local company that makes overlays (just like the overlay on the original BOSE head unit). I am considering going in that direction for this project. The overlay could use the same font and font size as the original BOSE overlay and have translucent lettering that is backlit like the BOSE overlay. I think that would come the closest to duplicating the look of the OEM radio. The down side is that you have to purchase the overlays in quantity in order to drive the price down. So the design has to be set in stone before you commit to producing them.
Last edited by LWesthaver; 08-20-2018 at 11:44 AM.
#74
Pro
I really would like to build one of these. I have already ordered Pi3 and LCD.
1) The overlays sound like a good solution for the faceplate. How much are we talking about for a sample quantity including setup, etc?
2) Should have some Arduino compatible code for the 8192 data stream in a few more days.
3) Can you fill us in on the rest of the components for the radio and sound system, brackets, etc?
1) The overlays sound like a good solution for the faceplate. How much are we talking about for a sample quantity including setup, etc?
2) Should have some Arduino compatible code for the 8192 data stream in a few more days.
3) Can you fill us in on the rest of the components for the radio and sound system, brackets, etc?
#76
Burning Brakes
Thread Starter
I really would like to build one of these. I have already ordered Pi3 and LCD.
1) The overlays sound like a good solution for the faceplate. How much are we talking about for a sample quantity including setup, etc?
2) Should have some Arduino compatible code for the 8192 data stream in a few more days.
3) Can you fill us in on the rest of the components for the radio and sound system, brackets, etc?
1) The overlays sound like a good solution for the faceplate. How much are we talking about for a sample quantity including setup, etc?
2) Should have some Arduino compatible code for the 8192 data stream in a few more days.
3) Can you fill us in on the rest of the components for the radio and sound system, brackets, etc?
To get overlays produced, it is probably going to be about $500. The $500 initial fee usually yields about 10 prototypes. The fab house typically has to prepare silkscreens and cutting dies and the $500 minimum price defrays that cost. That's why I'm hesitant to move in that direction unless this project really blows up. In the meantime, I'll just continue to produce machine-cut faceplate overlays.
How is the Arduino code coming along?
I've been putting together a website to publish all the project info. It's still *very* early in the process but here's the link:
http://www.Comvette.com/
Let me know what you need help with and I'll see if I can assist. If you have any suggestions on how best to present all of my project files and information, please let me know.
Last edited by LWesthaver; 08-09-2019 at 05:33 PM.
#77
Pro
Wow $500 for ten overlays is a bit steep. Sounds like the machine cut version is the way to go. Also looked at your project link. You sir, have been putting in some long hours on this. Thanks for putting it up for us!
I have code for the 8192 baud data stream up and running on both an Arduino Mega and an esp32 development board.
It puts the data out on serial at 115,200 at 10 hz.
I’m cleaning up comments and adding an optional ouput for some fully decoded data via serial out (rpm, throttle position, lv8, airflow and o2 sensor). The comments contain the full list of the 63 byte data stream.
I’m thinking the best way to get this out is to put it up on git-hub and post a link to it here.
Anyone have any other ideas?
I have code for the 8192 baud data stream up and running on both an Arduino Mega and an esp32 development board.
It puts the data out on serial at 115,200 at 10 hz.
I’m cleaning up comments and adding an optional ouput for some fully decoded data via serial out (rpm, throttle position, lv8, airflow and o2 sensor). The comments contain the full list of the 63 byte data stream.
I’m thinking the best way to get this out is to put it up on git-hub and post a link to it here.
Anyone have any other ideas?
Last edited by Z51BOB; 08-26-2018 at 09:53 PM.
The following users liked this post:
-=Jeff=- (08-27-2018)
#78
Race Director
Wow $500 for ten overlays is a bit steep. Sounds like the machine cut version is the way to go.
I have code for the 8192 baud data stream up and running on both an Arduino Mega and an esp32 development board.
It puts the data out on serial at 115,200 at 10 hz.
I’m cleaning up comments and adding an optional ouput for some fully decoded data via serial out (rpm, throttle position, lv8, airflow and o2 sensor). The comments contain the full list of the 63 byte data stream.
I’m thinking the best way to get this out is to put it up on git-hub and post a link to it here.
Anyone have any other ideas?
I have code for the 8192 baud data stream up and running on both an Arduino Mega and an esp32 development board.
It puts the data out on serial at 115,200 at 10 hz.
I’m cleaning up comments and adding an optional ouput for some fully decoded data via serial out (rpm, throttle position, lv8, airflow and o2 sensor). The comments contain the full list of the 63 byte data stream.
I’m thinking the best way to get this out is to put it up on git-hub and post a link to it here.
Anyone have any other ideas?
#79
Burning Brakes
Thread Starter
...I have code for the 8192 baud data stream up and running on both an Arduino Mega and an esp32 development board.
It puts the data out on serial at 115,200 at 10 hz.
I’m cleaning up comments and adding an optional ouput for some fully decoded data via serial out (rpm, throttle position, lv8, airflow and o2 sensor). The comments contain the full list of the 63 byte data stream.
I’m thinking the best way to get this out is to put it up on git-hub and post a link to it here.
Anyone have any other ideas?
I’m cleaning up comments and adding an optional ouput for some fully decoded data via serial out (rpm, throttle position, lv8, airflow and o2 sensor). The comments contain the full list of the 63 byte data stream.
I’m thinking the best way to get this out is to put it up on git-hub and post a link to it here.
Anyone have any other ideas?
If you've cracked this nut, I'd say that you've opened the door for some really cool and innovative things. As much as I like and appreciate software packages like Tuner Pro, it would be great to see more and different ways of using the ECM ALDL data beyond lugging a laptop computer around.
I considered using GitHub for my project (and still might) but for the sake of not having learn yet another thing, I chose to publish from my own website.
Keep us posted! I can't wait to see what you've done!
-Wes
Last edited by LWesthaver; 09-05-2018 at 12:56 AM.
The following users liked this post:
-=Jeff=- (08-27-2018)
#80
Race Director
Z51Bob,
looking forward to seeing what you came up with. What year car? I would love to try it on my 1990, but I know my ALDL stream while the same size is a bit different due to being a ZR-1. Also I am curious how this will work with a CCM Chattering as well
looking forward to seeing what you came up with. What year car? I would love to try it on my 1990, but I know my ALDL stream while the same size is a bit different due to being a ZR-1. Also I am curious how this will work with a CCM Chattering as well