Tesla LDU Pick & Place File Fix?  [SOLVED]

Topics concerning the Tesla front and rear drive unit drop-in board
Post Reply
User avatar
nubster
Posts: 78
Joined: Sat Oct 29, 2022 7:20 pm
Location: Los Angeles
Has thanked: 37 times
Been thanked: 6 times

Tesla LDU Pick & Place File Fix?

Post by nubster »

Hey everybody,

Trying to build my first LDU board here and ran into a couple of issues. Hoping someone can point me in the right direction.

I cloned johannes's repo and tried using the V6 files to order from JLCPCB. Due to a recent change on their side, the BOM file needed the Package column renamed to Footprint, which I easily addressed.

However, the pick & place file (CPL) does not render correctly in the preview. All the components seem to be off by a little bit, and some rotations are incorrect. I'm unsure if this is just a rendering issue or if the CPL actually needs to be updated. I tried editing the CPL file manually to see, and I was able to correct a few components, according to the preview, at least.

I am happy to contribute a PR to fix these minor issues, but I am unsure of the best way to fix the entire CPL. I tried opening the SCH file with KiCad, but I got an error saying it does not appear to be an Eeschema file, so is there another software I need to use? Should I write a Python script to fix it, as it's just a CSV file? What's the best approach? I am still relatively new to all this, so any help pointing me in the right direction is much appreciated. Thanks!
royhen99
Posts: 211
Joined: Sun Feb 20, 2022 4:23 am
Location: N. Wiltshire. UK
Has thanked: 16 times
Been thanked: 101 times

Re: Tesla LDU Pick & Place File Fix?  [SOLVED]

Post by royhen99 »

The PCB layout tool is DesignSpark. Its placement file is not very compatible with JLCPCB. I have manunally adjusted the location and rotation in attached file. Check carefully as there could still be some mistakes. While doing that I noticed that the clearance between USART_RX and GND pin on STM32 was less than 0.1mm. I have corrected that and attached gerber files.
Attachments
Tesla_V6_Gerber2.zip
(83.93 KiB) Downloaded 33 times
Tesla_V6_CPL_JLC.csv
(4.26 KiB) Downloaded 37 times
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1025 times
Contact:

Re: Tesla LDU Pick & Place File Fix?

Post by johu »

The files are the result of my manual adjustment but I was less eager than royhen ;)
Jlcpcb adjusts the placement, most of all they need to know polarity/pin1 of all components.

Anyway, thanks for posting the updates, will put them in the repo
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
catphish
Posts: 955
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 94 times
Been thanked: 179 times

Re: Tesla LDU Pick & Place File Fix?

Post by catphish »

It really bothers me that DesignSpark can't produce valid JLCPCB placement files, and I would be kinda embarrassed sending sending JLC a mess and expecting them to guess where everything should go. Also a big risk of orientations ending up incorrect.

Thanks royhen99 for posting corrected files.

This reply is more of a rant. I hope future designs can be done in Kicad which has a nice tool that spits out almost perfect JLC placement files (though be sure to fix the IC orientation with their GUI before finalizing.

I don't blame Damien for any of this of course, it's just bad luck that DesignSpark doesn't produce the right output. I've already pestered him enough to start using Kicad :)
User avatar
nubster
Posts: 78
Joined: Sat Oct 29, 2022 7:20 pm
Location: Los Angeles
Has thanked: 37 times
Been thanked: 6 times

Re: Tesla LDU Pick & Place File Fix?

Post by nubster »

You guys are the best, thank you! :pray:
Post Reply