[help needed] 2006 VW SANTANA B2 1.8

Your chance to introduce yourself and your vehicle
Post Reply
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

2006 VW SANTANA B2 1.8

Post by 1065598263 »

Hello, I'm from China. I'm currently a college student. My major is automotive engineering.

I'm lucky to be able to see the project of rusefi (I'd like to thank hotcat for letting me know here)

I want to take this open source project as the title of my graduation thesis. In 2019, I bought a Volkswagen Santana B2 produced in October 2006, which is actually Passat B2. Shanghai Volkswagen has improved Santana to meet stricter environmental standards. The following are the improvements.

1. Upgrade the mechanical throttle to electronic throttle.
2. The distributor driven by the intermediate shaft is canceled, the camshaft position sensor and crankshaft position sensor are added, and the twin cylinder ignition coil controlled by Bosch me7.5.10ecu is configured.
3. Gave up the carburetor (this has happened since 1999)
4. A knock sensor is added between cylinders 2 and 3.
5. Two oxygen sensors are respectively arranged in front of and behind the three-way catalyst.
I can't remember anything else for the moment. I'll add it later

These upgrades can save me a lot of transformation work, so I only need to make an ECU. Shanghai Volkswagen's upgrade of Santana is not very successful, and there are still design defects. For example, after turning on the AC switch, there will be obvious power attenuation, and the acceleration response is very slow... There are many, many more.

I have downloaded the code on GitHub, and I have also checked the tutorials on GitHub. Please forgive me for my poor English level. I can't understand some places. I also use translation software for this passage.

I can't buy stm32f407igt6, I only buy stm2f407zgt6, which means I can only design PCB by myself, but this is also a good thing, which can improve my technical level.

I am currently learning stm32f4. Do I need to be very familiar with c/c++?

Finally, thank you for reading my article.
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

With a LQFP144 MCU you can solder https://github.com/rusefi/alphax-4chan/ but manual assembly of any modern rusEFI unit would be a huuuuuge pain, pick and place machines do the assembly much better.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

Wow, it looks really complicated. Let me see the price of SMT, but if it's too expensive, I'd better weld it manually. In addition, alphax-4chan also has four versions of ABCD. What is the difference between them? Some folders of this project are empty. Is it in the development stage?It is difficult to access GitHub in China. The speed of downloading files is only 20Kb/s, and many web pages can only be displayed after loading for half a day.
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
mck1117
running engine in first post
running engine in first post
Posts: 1360
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: 2006 VW SANTANA B2 1.8

Post by mck1117 »

1065598263 wrote:
Fri Jul 29, 2022 8:21 pm
Wow, it looks really complicated.
You know you can buy a pre-built one, right? It may be worth it to avoid the hassle of assembling and debugging a board yourself.
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

Why do I open the PCB drawings in the root directory, and some places are empty? Is this an unfinished project? Does it have anything to do with this prompt that "no drawing found" is displayed when opening? Or is it that the file data I downloaded has lost, not all?
Attachments
QQ截图20220731023857.png
QQ截图20220731023857.png (5.14 KiB) Viewed 1144 times
QQ截图20220731023906.png
QQ截图20220731023906.png (269.72 KiB) Viewed 1144 times
Last edited by 1065598263 on Sat Jul 30, 2022 7:04 pm, edited 3 times in total.
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

You have not fully cloned the repository - I guess you did not clone the submodules.

As for the holes see https://rusefi.com/forum/viewtopic.php?f=4&t=1913
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

The closest one here is only 81 pins, but I have counted only 80 pins of my ECU, and I am very sure. Are they universal? My version is Bosch me7.5.10, which has fallen behind.
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

Can you try getting in touch with the https://rusefi.com/forum/viewtopic.php?p=45863#p45863 guy he has his custom design in China
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

Wow, thank you very much. He is in the city next to me.
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

AndreyB wrote:
Sat Jul 30, 2022 8:03 pm
Can you try getting in touch with the https://rusefi.com/forum/viewtopic.php?p=45863#p45863 guy he has his custom design in China
I found the 80pin PCB in the hardware folder. I still don't know how to clone the repository and sub modules. My translation software may be inaccurate, and the translated language may make me unable to understand the meaning.So, please give me more instructions.
Attachments
123.png
123.png (32.7 KiB) Viewed 1033 times
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

mck1117 wrote:
Fri Jul 29, 2022 8:28 pm
1065598263 wrote:
Fri Jul 29, 2022 8:21 pm
Wow, it looks really complicated.
You know you can buy a pre-built one, right? It may be worth it to avoid the hassle of assembling and debugging a board yourself.
This is really a good suggestion, but I still want to DIY myself and share this process.
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

New progress! I can't find the firmware of alphax-4chan. Is it common with https://github.com/rusefi/rusefi?
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

New progress! I'm looking at alpha_ 4ch. kicad_ In the sch file, the corresponding MCU pin is not explained, otherwise I don't know which pin of the corresponding MCU, and where should I check it? thank you!
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

I understand the definition of the ECU pin of Santana. It is not consistent with most 80 pin EA113 engines, because Santana is an older EA113 engine. Although Shanghai Volkswagen modified it to meet higher emission standards, it is actually a very old carburetor EA113 engine. This is very unusual! Where should I upload pin definitions? This may be helpful to others.
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

The result of my translation software is wrong! The incorrect translation of gerber into "footprint" and the translation of modules into "grid" is a thing of the past. Now I understand the correct meaning, that is, module design! About the 144 SCM module, I only use this path: github\rusefi\master\ hardware\brain_ boar\brain_ board_ STM32F407.kicad_ Pcb, find this file, but this is not the 144 single-chip submodule I want. Where is it? Because I can't fully understand the meaning of the circuit diagram just by looking at it.thank you!
2022-9-23 21:04:29 Supplement:
The translation function provided by Microsoft Edge is terrible!
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

I found relevant files in github\hellen-one-master\modules\mcu144\0.6, but I don't know how to import submodules?
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

Google "git download submodules"
git submodule update --init
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

Also google "clone repository locally"
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

Thank you very much. I have collected all the required hardware files (maybe) and am preparing to make a new PCB based on the original PCB size to replace the original PCB. Because I made it according to the circuit diagram of alphax-4chan, I hope it can be compatible with the firmware of alphax-4chan. Some models of parts are not easy to order, such as stm32f407igt6, which has almost no supply in China, so it has to be replaced by other models.
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

I found something missing:

In alpha_4ch-e-schematic.pdf .The resistance value of R103 of SPI1 MOSI of MCU pin 135 in the file is 10K, which is in Code R103 is not found in the file alpha_4ch-e-BOM.csv

Similarly, pin 133 SPI1_SCK The resistance with the code R105 and the resistance value of 10K cannot be searched
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

Please paste exact URL of the file you are looking at.

Please mention exact component reference number or a small snippet of the schematics as an image.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

I apologize,My network is not very good. I have tried to upload pictures many times and failed.
When I checked the Produce_DanZhi.SMT_Snapshot.Top.2582135A_Y268.SMT0220905955381.png file, I found that it does not exist, but the information on the alphax_4ch-e-schematic.pdf file points to here. Are they unnecessary?
https://github.com/rusefi/alphax-4chan/tree/main/boards/alphax_4ch-e/board
Attachments
133.png
133.png (45.87 KiB) Viewed 153 times
QQ截图20220925071058.png
QQ截图20220925071058.png (21.48 KiB) Viewed 154 times
User avatar
AndreyB
Site Admin
Posts: 13134
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 2006 VW SANTANA B2 1.8

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

Santana B2 uses 1-4 and 2-3 ignition coils at the same time. The plug of the ignition coil has only four pins. One pin is 1-4 ignition, two pins+12V, three pins are 2-3 ignition, and four pins are grounded. Can I forcibly connect 1-4,2-3 signal wires together? Just like the picture.I'm worried that this will damage the transceiver chip or work abnormally.Do you need to add a diode before they are connected to prevent current from flowing back?In the following circuit diagram, N152 is the ignition coil, J220 is the harness connecting the engine, P is the spark plug plug, and Q is the spark plug. You can see that there are only two ignition signal wires at most.Because of its long history and the manufacturer's technical blockade, this is the only data that can be found.
Attachments
dlt.png
dlt.png (499.78 KiB) Viewed 104 times
R-C.jpg
R-C.jpg (192.3 KiB) Viewed 121 times
1342.png
1342.png (42.58 KiB) Viewed 121 times
1065598263
Posts: 20
Joined: Wed Jul 27, 2022 5:47 pm
Github Username: Loft-xiaolen

Re: 2006 VW SANTANA B2 1.8

Post by 1065598263 »

The original Santana b2 communication protocol is K-line, and ABS also relies on this protocol to communicate with ECU. If ECU does not support this protocol, ABS system will not be able to exchange data with ECU. It is worth mentioning that this situation lasted until 2012, because Santana B2 stopped production in October 2012.
Post Reply