I will try to follow this asap. Tomorrow at the latest. JLCPCB is making me redo the order. Also I need to make sure the encoder boards have the standard mouting and chip position. It is a 24 mm square, with the chip exactly in the middle of the square.
All went ok! Looking forward to testing :). I noticed the actual source code isn’t really the gerber or bom or centroid files, it is inside eda. I don’t know how one would get it out. Modifying the design for the encoders would not have really been possible if I had not been able to simply load up a copy of the file from the cloud.
To be fair, the schematic could be recreated in EAGLE or some other editor which is more independent, I guess. Perhaps I could import the schematic or something some other time. At least it is up on github.
I ordered 20 encoders but only 10 leptons, because seems like significant chance I will have to change at least one minor thing, and if not I can order more without too much difficulty. Always a bit of a gamble, tempting to order more hoping to save money later but in my experience that rarely works out. I may try to change the connectors to 2.54 mm pitch screw terminal connectors, I don’t like having to source connectors to access things. I would have tried this time around but it’s not a simple substitution as they are twice the size and I don’t want to mess with something I don’t understand before at least testing. My priority is to get out of the woods and know which way to even go.
Yeah, to get a 6 pin 1.25 mm pitch picoblade connector with 600 mm leads is $8.8. They want $5.6 each for the 4 pin ones, similar for smaller prices. I’m definitely going to have to switch things over to 2.54 mm pitch, either dupont or screw terminals can then be used. In the meantime I will buy some 6 pin connectors and the cheapest 4 pin, just a couple for prototyping. Shit. Whatever, all part of the process I guess. Amazon has some little adapter kits, I will probably get one of those, they should be useful in the future anyway.
Why is it that components are easier to get on amazon than digikey… both the 1.25mm connectors and the 5 mm screw terminals are a fraction the price on amazon, and there is way more variety… The idea of a supplier that effectively supplies a respectable selection of electronics parts seems to have eluded these people. Same story with voltage regulators, servos, motor driver boards…
Search “4-pin 1.25mm jst” on ebay and you’ll get a bunch to pick from. None with 600mm leads though. You’ll have to solder extension wires yourself. 100 of them for about $15 here, and even includes the male connectors to solder to the boards (if you exclude them on the JLC order to save the hand soldering fee) 100Pcs Micro JST 4Pin Spacing 1.25mm Single End 15cm Wire To Board Connector | eBay
There are some with 30cm leads, so if you don’t have suitable wire on hand, you could buy those, cut the wires off one, and use them to extend another. Leave a couple cm of wire on the donor cable so you can still solder to it in the future rather than throwing it away.
And if you need different pin counts, you can save a bit of money by buying one type of cable with wires from ebay, and empty connector housings from LCSC such as HC-1.25-4Y HCTL | Connectors - LCSC Electronics
Then harvest wires from the ebay cables and stick them in those housings. I wish I had been smart enough to do that instead of buying 9-pin with wires when I already had a pile of 6-pin
60cm SPI sensor wire requires twisted pairs and shielding. SPI doesn’t work reliably over such a long distance unless precautions are made, especially with higher data rates. He will need probably a cat-8 cable or a USB cable which already have TP shielded wires for that, and the eyes and patience of a neurosurgeon to solder them on the connectors.