Electric Sheep

Project - PWM Motor (Part 3)

Last Modfified: 2021-04-18

Following up from last week, there have been a few more updates! Progress on the low-cost motor controller are going well.

The software control has essentially gone as far as it can without real hardware to test with. We have basic functionality for PING, READ and WRITE of motor values. We are able to read the motor position, but are not able to control the motor due to the legacy MOSFET circuitry. Some new, more powerful MOSFETs have been ordered and are on their way.

The bugs with the software control have been hunted down - in the end it turned out that 0x00 and 0x0A bytes break the serial USB protocol for a yet to be determined reason. This is not a problem for the real serial interface we will use, as this has no such software limitations.

Kicad PCB layout

As you can see, progress has been made on the PCB for the new motor controller, with the basic circuitry now planned. We have been using skidl for programmatically generating and validating circuits - and then using Kicad to place the components. After this we then use freerouting to automate the routing process between the components.

3D render of top

Packing all the components onto a single 2-layer PCB has been quite tough, with both sides being jam packed to fit within the profile of the existing motor chassis. It’s only just about even possible! There are still some challenges to be solved before the PCB can be sent off to a manufacturer, but it’s expected this could happen as early as next week.

As you can see, very important sheep art was also added to the PCB!

3D render of back

We look forward to providing more updates in the near future!