Ground Planes, Grand Plans and Fingers Crossed

Lime green robot with two circular sensors follows winding green lines across an electronic schematic illuminated by warm golden sunlight.

I’ve been quite a busy bee over the last few weeks since the last update. While all the PCBs were working and got me through the school pilot and the Life In AI workshop, there were a few issues that needed fixing. Cue several evenings spent poring over schematics and getting the PCB designs finalised.

One of the main issues was the motor driver, which had a tendency to fail when the motors stalled. I put a temporary software fix in place, using the shaft encoders to detect when the motors stopped rotating. When they stalled, the robot would stop and display an error. More of a sticking plaster than a proper fix, but it got me through!

I’ve now redesigned this part of the circuit to include current protection and a driver that shuts down if it gets too hot. The driver chip also has a fault output, which is now connected to the processor so it can trigger an interrupt to help prevent damage and alert the user. Much better than letting the magic smoke out.

The 3.3V regulator was also getting hot because it was running quite close to its limit. I’ve replaced it with a buck converter, which I hope will be more efficient, and allowed plenty of headroom for future expansion boards—things like vision or sound processing. Because obviously the robot will need more things to think about eventually.

I’ve also added the ability to detect when USB-C is connected and to switch the line-sensing LEDs on and off. That functionality was there originally, but I removed it due to time constraints. It’s now making its triumphant return.

Another issue with the line sensors was that their range wasn’t quite as good as I’d like, mainly because of the distance between the sensors and the surface beneath the robot. I didn’t want to change the bottom assembly, as I felt that would increase manufacturing costs.

Instead, I’ve switched from a single opto-device to separate components. The hope is that the larger IR LED will sit closer to the surface and improve the sensing range. I’m not sure how well this will work yet, so I’ve only changed the outer two of the seven sensors. If they perform better, I’ll switch the others over later. A little experiment before committing all seven to the cause.

I also took the opportunity to add an expansion connector so new functionality can be added later. Resisting the urge to immediately prototype something to attach to it was tricky!

Focus, Terri! Focus…

Hopefully, the boards are now pretty much complete, which is exciting. The next big milestone is getting the robots EMC tested and working towards CE mark compliance. I’ve tried to make them as electromagnetically quiet as possible with ground planes, shielding and short cables… but we’ll see how that pans out!

I now also have a good idea of how much each robot costs at the moment which is a number I’ve been trying to pin down for quite a while.

In a few weeks, I should be able to get five “pilot-ready” robots built, ready to be battle-tested in schools and clubs.

Every now and then, everything feels like it lurches forward!