L6234 Breakout Board

Hello, I am getting into motor control systems and would like to dip my toes into FOC. I plan on making a motor control board with the SAMD21 and some discrete FETS, but before that, I would like to do a simple, low-risk test with the L6234. I hoped to buy the breakout board listed on the SimpleFOC docs, but it is not available for me, perhaps because I am in the US. So I would like to make the PCB myself, but the datasheet and what I can see from pictures of the L6234 breakout board seem to differ. Does anyone have a schematic for the L6234 breakout board, or any tips on how to set up the L6234 for SimpleFOC?

Thanks!

1 Like

Hi @AdinAck, and welcome!

Are you trying to order the Shield here: https://simplefoc.com/order?v=2 ?

For me it shows as “In Stock” and seems orderable to the US (EUR10 shipping).
Is it failing on the PayPal step? Please use the shop contact form if there are troubles ordering, but you would like to order.

If you’d like to make your own, then the Gerber files and Design files are here:


https://docs.simplefoc.com/arduino_simplefoc_shield_fabrication

If you’d be interested in a SAMD21-compatible shield, I have made one that I am still in the process of testing, based on the new DRV8316 driver chip, KiCad files and gerbers are here:
https://github.com/runger1101001/roboesc_v3_MKR

It fits on top of / underneath an Arduino MKR type board like the MKR WiFi 1010 or MKR1000. The MKRs use SAMD21 MCUs.

MKR_shield

If you want to help test it out, I’d be more than happy to send you one.

Richard

Wow, that’s a lot of caps! :slight_smile:

Did you miss the solder paste on the ground pad?
I guess they would have added this.

You’re not the first one to note that. :smile: Capacitance is a great mystery to me, the DRV8316 eval board from TI has even more, in the form of an electrolytic cap… I kind of modelled my choice on that, but since those are too big for my purposes I went with a bunch of ceramics. I think it is more than needed. You get a nice “afterglow” on the LEDs when you switch the power off :rofl:

Yup, good find! Fixed it. That’s the dangers of creating your own footprints.

I was trying to order the tiny little breakout board from here: https://docs.simplefoc.com/arduino_l6234
The Drotek L6234. But I realized I could just look at the SimpleFOCShield to see how the L6234 is hooked up :man_facepalming:

Oh that’s awesome! I saw the DRV8316 used in that other guy’s super cool board. Cutting edge stuff!

Wow. I would be honored to help in any way I can! I have a Feather m0 Basic, so I would have to use a breadboard. But yeah I would love to help test it!

I see that your board has pads instead of pin headers for the motor, so the DRV8316 is for high-performance motors? If so, that would work well for me, as the only motor I have right now is a 2207 1700kv drone motor.

Thank you for the help!

By the way, I have some experience embedding the ATSAMD21G18A onto PCBs, and my end goal was to make an embedded SimpleFOC ESC with the SAMD21, so if that is something you guys want, I would gladly help with that. Maybe a SAMD21 + DRV8316 board?

It’s more of a lower end driver in terms of the power output, but its certainly high performance in terms of the features. It can do 3A continuous (with appropriate cooling) and 8A peaks. That is good for an integrated FET driver, but not much compared to what you can achieve with external FETs.

I guess it is designed to achieve higher integration for things that only need smallish motors. It’s cool because it completely integrates the current sensing without any external components. It’s certainly enough for a small drone, or RC-toy, camera gimbal or thing like that. It’s not enough for a race-drone, hoverboard or anything big.

Do you also like the SAME51? It has a bit more “oomph” for running the FOC algorithms, more TCC units and CAN-bus support…

Ah ok, that makes sense.

I haven’t used the SAMD51 on any PCBs yet, but I can’t imagine it would be that different. I would definitely be up for using one of those.

I am very interested in learning about motor control, so I definitely would like to help test the board you mentioned earlier.

Thanks!

I sent you a direct message on this forum… you can access those via the user menu on the top right…