Any general discussion around the firmware, what is does, how it does it etc.
By Piotr
#34814
Hi guys. At first thx to dvjcodec for sharing his tcm project and thx to dazq for his firmware.
I would like to control zf 8hp gearbox using this computer https://github.com/dvjcodec/SCG-ATC-2.0
All info about this gearbox is here.
https://www.google.com/url?sa=t&source= ... gCFXfMnRl2
Programming is not my thing so any advice and help is very welcome.
Last edited by Piotr on Fri May 17, 2019 8:16 pm, edited 2 times in total.
By dazq
#34819
Piotr wrote: ↑Fri May 17, 2019 9:25 am Hi guys. At first thx to dvjcodec for sharing his tcm project and thx to dazq for his firmware.
I would like to control zf 8hp gearbox using this computer https://github.com/dvjcodec/SCG-ATC-2.0
All info about this gearbox is here.
https://www.google.com/url?sa=t&source= ... gCFXfMnRl2
Programming is not my thing so any advice and help is very welkome.
Well first is this is a complex gearbox setup!
You can get the shift pattern for solenoid operation from page 54 to start with.
After that , you need data on the shift selector and it's outputs.
Then some thought on implementation of pwm for clutch pressures would need consideration.
User avatar
By PSIG
#34837
@Poitr - to be more useful for others running other boards with Gears; please change your thread title to "dxControl Gears with 8HP70". Your question is not specific to the SGC ACT, and applies to all Gears users with the 8HP70. We don't want users to miss this Gears thread just because the title starts with a board other than theirs. Thanks!

David
By Piotr
#35029
What is wrong with it? Still only 4 solenoids can be activated. Thx in advanced.

case 6: //8HP70 bez TCC i bez LPS
//outputs
shiftsolenoid[1] = 1; // PARK
shiftsolenoid[2] = 1; // solenoid A
shiftsolenoid[3] = 1; // solenoid B
shiftsolenoid[4] = 1; // solenoid C
shiftsolenoid[5] = 1; // solenoid D
shiftsolenoid[6] = 1; // solenoid E
shiftsolenoid[7] = 1; // solenoid TCC
shiftsolenoid[8] = 1; // solenoid LPS
lockup_solenoid[1] = 1; //
lockup_solenoid[2] = 255; // lockup solenoid pin active
starter_inhibit = 1; //inhibit relay use enable/disable
spareOut[12] = 255;
spareOut[13] = 255;
spareOut[14] = 255;
spareOut[15] = 255;
spareOut[16] = 255;
spareOut[17] = 255;
spareOut[18] = 255;
spareOut[19] = 255;
spareOut[20] = 255;
spareOut[21] = 255;
spareOut[22] = 255;
spareOut[23] = 255;
spareOut[24] = 255;
spareOut[25] = 255;
spareOut[26] = 255;
spareOut[27] = 255;
spareOut[28] = 255;
spareOut[29] = 255;
spareOut[30] = 255;
spareOut[31] = 255;
spareOut[32] = 255;
//shift pattern
gear[1] = 55; //
gear[2] = 31;
gear[3] = 21;
gear[4] = 13;
gear[5] = 37;
gear[6] = 1;
gear[7] = 35;
gear[8] = 11;
rev_gear = 47;

break;

// TCC = 64
// LPS = 128

case 7: //8HP70 z TCC i bez LPS
//outputs
shiftsolenoid[1] = 1; // PARK
shiftsolenoid[2] = 1; // solenoid A
shiftsolenoid[3] = 1; // solenoid B
shiftsolenoid[4] = 1; // solenoid C
shiftsolenoid[5] = 1; // solenoid D
shiftsolenoid[6] = 1; // solenoid E
shiftsolenoid[7] = 1; // solenoid TCC
shiftsolenoid[8] = 1; // solenoid LPS
lockup_solenoid[1] = 1; //
lockup_solenoid[2] = 255; // lockup solenoid pin active
starter_inhibit = 1; //inhibit relay use enable/disable
spareOut[12] = 255;
spareOut[13] = 255;
spareOut[14] = 255;
spareOut[15] = 255;
spareOut[16] = 255;
spareOut[17] = 255;
spareOut[18] = 255;
spareOut[19] = 255;
spareOut[20] = 255;
spareOut[21] = 255;
spareOut[22] = 255;
spareOut[23] = 255;
spareOut[24] = 255;
spareOut[25] = 255;
spareOut[26] = 255;
spareOut[27] = 255;
spareOut[28] = 255;
spareOut[29] = 255;
spareOut[30] = 255;
spareOut[31] = 255;
spareOut[32] = 255;
//shift pattern
gear[1] = 55+64; //
gear[2] = 31+64;
gear[3] = 21+64;
gear[4] = 13+64;
gear[5] = 37+64;
gear[6] = 1+64;
gear[7] = 35+64;
gear[8] = 11+64;
rev_gear = 47;

break;

case 8: //8HP70 bez TCC i z LPS
//outputs
shiftsolenoid[1] = 1; // PARK
shiftsolenoid[2] = 1; // solenoid A
shiftsolenoid[3] = 1; // solenoid B
shiftsolenoid[4] = 1; // solenoid C
shiftsolenoid[5] = 1; // solenoid D
shiftsolenoid[6] = 1; // solenoid E
shiftsolenoid[7] = 1; // solenoid TCC
shiftsolenoid[8] = 1; // solenoid LPS
lockup_solenoid[1] = 1; //
lockup_solenoid[2] = 255; // lockup solenoid pin active
starter_inhibit = 1; //inhibit relay use enable/disable
spareOut[12] = 255;
spareOut[13] = 255;
spareOut[14] = 255;
spareOut[15] = 255;
spareOut[16] = 255;
spareOut[17] = 255;
spareOut[18] = 255;
spareOut[19] = 255;
spareOut[20] = 255;
spareOut[21] = 255;
spareOut[22] = 255;
spareOut[23] = 255;
spareOut[24] = 255;
spareOut[25] = 255;
spareOut[26] = 255;
spareOut[27] = 255;
spareOut[28] = 255;
spareOut[29] = 255;
spareOut[30] = 255;
spareOut[31] = 255;
spareOut[32] = 255;
//shift pattern
gear[1] = 55+128; //
gear[2] = 31+128;
gear[3] = 21+128;
gear[4] = 13+128;
gear[5] = 37+128;
gear[6] = 1+128;
gear[7] = 35+128;
gear[8] = 11+128;
rev_gear = 47+128;
By dazq
#35034
Why have you added three entries for the same box?
What board type is selected and are the outputs actually enabled in the board type.
By dazq
#35052
Piotr wrote: ↑Sat May 25, 2019 8:50 am "Board Pin Layout" - Mega2560
No matter how many outputs I "tick" enable, after clicking "burn" only 4 are enabled.
Yes it is doing what it should be if the output is not available! how many outputs have you assigned to pins/ enabled ? The default mega2560 demo config in utils only has 4. (See image)
Screenshot_20190525-214038.png
Screenshot_20190525-214038.png (163.38 KiB) Viewed 10604 times
As I said before you need to create a board config to suit . The dvjcodec boards did not exist when last commit was made hence why there is no predefined board type for it.

Also please explain WHY you have added three entities for the new gearbox type??
#61935
Hello all,

I would like to swap my e46 manual gearbox with a zf8hp45 but would like to do everything myself, including TCU if possible. After some research I found this forum.

I am electrical engineer with some experience with Arduino coding and microcontrollers, and would like to know the state of this controller and if I could contribute for it somehow.

Cheers πŸ‘ŠπŸΌπŸ˜ƒ
Last edited by Paulo Lopes on Sat Mar 18, 2023 1:38 pm, edited 1 time in total.
By dazq
#61941
Paulo Lopes wrote: ↑Sat Mar 18, 2023 1:44 am Hello all,

I am would like to swap my e46 manual gearbox with a zf8hp45 but would like to do everything myself, including TCU if possible. After some research I found this forum.

I am electrical engineer with some experience with Arduino coding and microcontrollers, and would like to know the state of this controller and if I could contribute for it somehow.

Cheers πŸ‘ŠπŸΌπŸ˜ƒ
The firmware does not support that gearbox currently, but if you make changes and submit a pr to GitHub I will look to include it into the release.
I am not working on it at the moment ( tied up with other code work) but hope to be getting back to it later in the year.

Hi, I am trying to assign Signed values to the x-a[…]

Vr Conditioner Noise when cranking

New version 202305 don't fix the issue. Now after[…]

blitzbox

I've finally figured out why MAP and Lambda weren'[…]

Hello, I bring news!! Let me tell you that after […]

Still can't find what you're looking for?