Asher

Asher

0-day streak
I spent a couple hours today trying to get all the components to fit on a 2s battery 40 amp modular PSU pcb I'm currently routing. On my small board, just a USB-C connector takes a HUGE amount of space. Its like half the height of the board! I'll try to make it work, but space is sure at a premium, and I don't want to skimp on copper trace thickness either. This board is part of a larger modular control board project called CACKLE, Card Adaptable Controller Kinetic Link Electronics. github.com/techy-robot/CACKLE
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/a9e3abb0-b784-48e3-922d-2314af8cc1c9-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/93a5b4250ef62165c8b2f0cbb3d8aabd425ef63dcf42dfaaae2b10ff3b45a337/56eb7573-0024-493c-894f-165c9b222339.png
Today I experimented with a feature that I haven't used before in KiCAD: Net class Directives. This helps you section off nets that you are routing and to have pre-defined settings that are different for each group. It should speed up routing with automatic trace widths. I'm currently routing a PCB for my USB-C and 2s battery 40 amp modular PSU. This board is part of a larger modular control board project called CACKLE, Card Adaptable Controller Kinetic Link Electronics. github.com/techy-robot/CACKLE
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/50a5d89d-270b-4ba4-acf2-debc120ca602-image.pnghttps://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/95e734b2-de8a-4543-a04d-37710b139d5c-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/93a5b4250ef62165c8b2f0cbb3d8aabd425ef63dcf42dfaaae2b10ff3b45a337/88cf0667-4b4d-4056-a715-be75281318b5.png
Today I started some layout and routing in Kicad for my USB-C and battery 40 amp modular PSU pcb. This board is part of a larger control board project called CACKLE, Card Adaptable Controller Kinetic Link Electronics. github.com/techy-robot/CACKLE
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/0a3fbe2b-bd27-4789-bfbb-db5633254e74-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/93a5b4250ef62165c8b2f0cbb3d8aabd425ef63dcf42dfaaae2b10ff3b45a337/d8f786ef-06c3-4d06-8272-1f74dc8f6883.png
Today I did some cleanup of my Kicad schematic and I added some circuitry for the USB-C connector for my modular PSU pcb. Almost ready for layout. This board is part of a larger project called CACKLE, Card Adaptable Controller Kinetic Link Electronics. github.com/techy-robot/CACKLE
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/2c9800a0-1cdc-4072-9672-35f428bdcbf8-image.pnghttps://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/0dbcab94-4123-4ffa-ac52-46ddeb048c45-image.pnghttps://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/06b9e525-3013-44fb-8c77-d4b8be45e113-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/93a5b4250ef62165c8b2f0cbb3d8aabd425ef63dcf42dfaaae2b10ff3b45a337/e0f8a7e8-79ca-40ce-a190-45474db8b4f0.png
Today I reworked my schematic for a modular 40 amp PSU to use a CH32 microcontroller (CH32X035) instead of an STM32. My goal is to save costs and add USB-C Power delivery capability for charging a battery. This board is part of a larger project called CACKLE, Card Adaptable Controller Kinetic Link Electronics. github.com/techy-robot/CACKLE
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/a6937388-70ea-4228-8aa7-3bfcd561dbea-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/3ed883e97f1f7a46c221e5fc1c4d69c654ae96a69b1eb8e0756f01a3e880ff6a/8e604e61-2faa-4377-85fb-bdc51b9dd2f5.png
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/501daf9e-7ed9-40d7-a911-cb7be19d67dd-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/5b5b2340c4b21c086c38bce1290a444fa9461fa76ba3ba8371d94d568f967b5c/5cd8b868-82a7-4f44-ac9a-391b4b35e65c.png
I created another very interesting gearbox design for my micro motor project, a split ring compound planetary gearbox. This has two stages of planetary gears, with the planets merged together (they have to be co-axail). The output ratio is close to the first stage output as well as the difference remainder of teeth between the two rings. The more teeth you have or the lower the difference between the two teeth are, the higher the ratio is. The math is a little bit tricky to work out though. You can get a 3000:1 ratio in a really small form factor! My current gearbox is a ~75:1 . Github for my motors project: github.com/techy-robot/Mighty-Micro-Motors. Onshape link to this version: cad.onshape.com/documents/c861ec30af8169cf9c14bd7f/w/e538486c85e6a5fe77cd1d33/m/06649b39967f5e540a56afb8/e/c076bfebf996b33c466ae250
https://scrapbook-into-the-redwoods.s3.amazonaws.com/9603d770-db0a-4a40-bde3-4511dbec4bfd-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/4c9f2709-6499-4728-be6a-d8523de00010-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/0fa68d294bff134773e85a83fcfb3667fa98c43acf687d4765d3ccf11c602843/3083c3dc-7281-4488-8603-95614efd4709.png
https://scrapbook-into-the-redwoods.s3.amazonaws.com/97ea6a02-cfa1-427d-ad3d-e2f3f0e5e9f0-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/827ce766-3511-404a-b79d-f45e070f2b5b-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/105a2d9c-a53e-469f-bec1-e1d54565bf0e-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/0fa68d294bff134773e85a83fcfb3667fa98c43acf687d4765d3ccf11c602843/4b68bd86-7cec-4019-a9dc-f06a8a4d4242.png
I finished making some quick little fixes to my cycloidal gearbox, to adapt to the new motor pcbs I designed. I have a flex cable magnetic encoder up top, and a 11mm diameter motor driver pcb on the bottom. The gearbox motion system itself has also changed a little bit, going from 3 screws and 3 roller pins, to just 3 screws total (they are acting as the roller pins) The gearbox height has decreased 6mm vertically too (magnet taking up less space)! Github: github.com/techy-robot/Mighty-Micro-Motors. Latest commit: github.com/techy-robot/Mighty-Micro-Motors/commit/ef4e956383e01cbf108f42c05102d1eff5ecf448
https://scrapbook-into-the-redwoods.s3.amazonaws.com/d58b4c49-e3e2-4847-aae7-d2c9f77a38c2-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/34a1bb77-b589-4368-adc9-93ff0a147ee2-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/80acaa4c-3ed9-4277-973f-bd04da79a863-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/a9de137a-bbe1-4f12-9119-63872fb20a2f-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/0fa68d294bff134773e85a83fcfb3667fa98c43acf687d4765d3ccf11c602843/06af4ca0-1272-40b7-8beb-063443cfd035.png
I finished designing a 2 cell battery charge, monitor and protector for my motor control test board. This is very packed, with the PSU size coming in around 15x45mm (tacked onto the existing MCU board). There is not much space to shrink the design more. Github: github.com/techy-robot/Mighty-Micro-Motors/tree/main
https://scrapbook-into-the-redwoods.s3.amazonaws.com/565faf7f-d45e-42a7-a7a3-e4d0c8a9f528-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/0fa68d294bff134773e85a83fcfb3667fa98c43acf687d4765d3ccf11c602843/4a7720b4-a255-4258-b007-a8c45d19a3c4.png
I finished a partial revision of my motor control board. Since the motor driver portion is now on the back of the motor (last scrapbook: hackclub.slack.com/archives/C01504DCLVD/p1724019667262769), I have extra room on the board. I was able to shrink the main design by 10mm on one edge, and I also added pin headers and an FPC connector for the magnetic encoder. The final design will have for motor port connections, but this is still a test board. github.com/techy-robot/Mighty-Micro-Motors/releases/tag/v0.3.0
https://scrapbook-into-the-redwoods.s3.amazonaws.com/1c26e5c7-e77b-4a18-91a0-9b42d1a173b3-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/279be362f26c08d9a5e3adce80a40bbb722ec66f31379087921158820b402d11/09fd2ddd-def4-4647-b47a-dc10f6be4ae8.png
I finished design a 11mm diameter on-motor driver pcb! Its really small, the 0402 components barely fit with standard 4 layer 0.2mm traces, and I have no clue how problematic heat may or may not be, but I'm trying it! This is for my micro motors project. Github: github.com/techy-robot/Mighty-Micro-Motors. If successful the main board can be much smaller.
https://scrapbook-into-the-redwoods.s3.amazonaws.com/061c90f5-f6a6-4af3-b000-d38ed224316e-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/0fa68d294bff134773e85a83fcfb3667fa98c43acf687d4765d3ccf11c602843/df689627-bcf5-48c9-be7c-f29f5cba7bb4.png
Finished a redesign of my little magnetic encoder board! Now its on a flex cable so integrated wiring, making my motor assembly easier. The whole thing is also smaller in diameter. Length is around 75mm. Check out the full motor project here: github.com/techy-robot/Mighty-Micro-Motors
https://scrapbook-into-the-redwoods.s3.amazonaws.com/825df59d-d7aa-408b-9b27-420876020e4d-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/efd4b0de-9ecf-4837-993e-ad4c8f6241b1-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/9ed48b66-dcc4-4503-b59d-2a66b782d89a-image__1_.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/6b4581c3-28c3-4925-9360-af2b241138fc-image__2_.pnghttps://imgutil.s3.us-east-2.amazonaws.com/0fa68d294bff134773e85a83fcfb3667fa98c43acf687d4765d3ccf11c602843/b2c96782-9b71-4d1c-856e-905336ec427d.png
Well I believe I have maxed out my current design iteration of my micro motor gearboxes. Everything is finicky or has already broken, so I am considering this a milestone because from now on I will be redesigning everything. The motor control board no longer is in charge of itself (wires were soldered on to allow an external MCU to control the driver), the magnetic sensor board has been sanded down to be smaller, and just recently pulled a small trace off (Image), and my resin printed gearbox is lackluster, brittle, and super high friction ( Onshape). The only direction from here is up and redesign everything.
https://scrapbook-into-the-redwoods.s3.amazonaws.com/c87b751f-8df1-4f64-a5b9-979b7a88fcc5-img_20240804_110446.jpghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/7c2f467a-22b8-4a29-bf72-126addf7ddcc-img_20240723_142727.jpghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/7ca9cb07-4056-4683-a488-34df839b72ee-img_20240802_181901.jpghttps://imgutil.s3.us-east-2.amazonaws.com/0fa68d294bff134773e85a83fcfb3667fa98c43acf687d4765d3ccf11c602843/a67f0366-ea69-4cf3-899b-474c8b0dc888.png
https://scrapbook-into-the-redwoods.s3.amazonaws.com/ee701bf9-0255-4181-a5d7-4d3d39af3007-cycloidal_gearbox_inside_top.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/d3d0f194-0a61-4ceb-9f32-085507f265a0-cycloidal_gearbox_outside.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/47d3697f-b41c-4be5-8b8a-d64b660d8709-cycloidal_gearbox_inside.png
ultrafastparrot emoji
slack emoji
summer-of-making emoji
I finished designing a cycloidal gearbox in Onshape! This is for my micro motor project, where the goals is to be the size of your thumb. Currently its a bit too big, but I can't shrink the design much further without removing bearings entirely. I have sourced some of the smallest bearings already, so nothing much I can do. The top dome houses a magnetic encoder and magnet, which I can probably shrink. Also, I spent a lot of time on this, probably more than 25 hours so I may have to split up sessions. Github: github.com/techy-robot/Mighty-Micro-Motors. Onshape: cad.onshape.com/documents/c861ec30af8169cf9c14bd7f/w/e538486c85e6a5fe77cd1d33/m/a3c9333dac0244a404873054/e/395711bbc38dcc987be1be1a
https://scrapbook-into-the-redwoods.s3.amazonaws.com/3b7327d7-75e6-4605-adfd-d57b10bcaf9a-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/32297d09-c64b-4e66-81cd-d1b7639e484b-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/b795d6e7-97c4-4298-8da3-a53148f3a2b5-image.pnghttps://imgutil.s3.us-east-2.amazonaws.com/0fa68d294bff134773e85a83fcfb3667fa98c43acf687d4765d3ccf11c602843/7754b0f6-1cb2-491e-9ed0-9c58f78c4e99.png
I finally got my little motor controller and motor working *smoothly*! I had to rewire a little fix on the driver chip so that all three lowside input pins were pulled to 3.3v. Previously it was two out of three, causing one phase to be skipped. I also had to make some small tweaks to my code, because the order of the initialization matters and I was specifying too much current for the init routine (overloading the motor so it wouldn't move). I was able to tune a PID velocity control loop for the motor as well, using a magnetic encoder as feedback. github.com/techy-robot/Mighty-Micro-Motors
https://imgutil.s3.us-east-2.amazonaws.com/28353dfdd879be100c65c912dfd2c1b40f2e2962807b6bf1ae360482d9a17909/01bf09f5-6b1c-4f4f-a440-4c1219e08f2a.png
I just finished creating a magnetic encoder driver for the SimpleFOC motor control library! It is for the MA735 magnetic encoder, which supports variable resolution and speed, something the library didn't support yet. My pull request got merged! I forgot to update the main README file though with my encoder support beforehand, so people landing on the main page won't know about it without exploring 🙁. Github repo I initially developed the code in: github.com/techy-robot/Mighty-Micro-Motors/commits/main/Code/Motor_tests/ma735 My Fork: github.com/techy-robot/Arduino-FOC-drivers Pull request: github.com/simplefoc/Arduino-FOC-drivers/pull/45
https://imgutil.s3.us-east-2.amazonaws.com/9c04f9bbc9018f2f88a2e11f0886f18641f2e56ed102bcf4cb72c0ecf6ded0df/f243601e-c5b0-468e-a294-74bb31a4e026.png
#arcade I finished basic hardware testing of my little motor control PCB! The only thing I haven't tested is the battery charging, since I don't have a suitable battery. Things I have tested: • Can be powered on without exploding • 3.3v regulator on the motor chip works (though with a flaw that requires a kickstart to get it going) • Can be programmed and flash an LED • Can be clocked to a max 64mhz • Power mosfet switching works on the charger • Can communicate over SPI, UART and the debug interface Next phase involves getting a motor to spin, and designing a gearbox. Check out my project here: github.com/techy-robot/Mighty-Micro-Motors
https://scrapbook-into-the-redwoods.s3.amazonaws.com/f2d8708d-ec2f-468f-8dc9-ad32bd6f5be8-20240716_152138.jpghttps://imgutil.s3.us-east-2.amazonaws.com/1358dc0aa48230f8fdde073246dc5e6d5ae1df369307f518bc01bb1c371b6cc8/e474c5de-3981-4e9f-9aa2-d8ff075cc618.png
#arcade I helped out @PonderSlime with a game feature! The walk animation no longer looks like the player is gliding over the surface, now the walk animation and the player movement is synced together so the player looks like it is actually walking with traction! Merged github pull request: github.com/PonderSlime/Planet-Earth-Stranded/pull/2
https://imgutil.s3.us-east-2.amazonaws.com/3e5cb88ea4077882cf5c5b420e067c8667170a8f37f3821402fb88e04046bbb0/e46a3ad7-c040-477a-9ba1-2a981d53e0d3.png
#arcade I designed and assembled a motor control PCB for small brushless motors, with integrated battery charging! I did a power test and nothing blew up, I have yet to program anything. I also have a little magnetic encoder pcb. Checkout the github here: github.com/techy-robot/Mighty-Micro-Motors
https://scrapbook-into-the-redwoods.s3.amazonaws.com/eb0572f4-f72e-4d7d-93f4-eeb64fdb311e-finished_pcb.jpghttps://imgutil.s3.us-east-2.amazonaws.com/78731e69f450cd1061cc2fcc40d582441a63a7cc7e56f83117dd15993a9ac7b3/c581714f-5c16-437c-881f-ac76af5042f0.png