Motor controller also does nyan cat

As a freshman at UC Berkeley, [Keegan] has been helping out with his school’s Pioneers in Engineering program that gives high school students some hands on experience with engineering principles, usually by building robots. This year, [Keegan]’s project is a motor controller that just so happens to play the nyan cat song over the motor PWM output.

The motor controller is meant to replace the Pololu simple motor controller the PiE team is currently using. Onboard is an H-bridge chip and an ATmega328 that takes commands from an I2C bus. The ‘328 is loaded up with the Arduino bootloader making the firmware very accessible – a good thing for the high school students that will be building and programming these robots.

[Keegan] put up the Eagle files for the board up on the PiE Wiki. For now, just enjoy the dulcet tones of the pop tart cat theme song after the break.

[Read more…]

Repair a misbehaving motor controller board

It can be a real drag to fix a circuit board which has stopped working as intended, especially if you don’t have any reference material for the product. That’s the position that [Todd Harrison] found himself in when the controller for his mini-lathe gave up the ghost. He undertook and hefty repair process and eventually mapped out and repaired the driver board.

First off, we’re happy to report his success at the end of a year-long troubleshooting process; the entirety of which occupies six different posts. The link at the top is the conclusion, and you’ll find his final test video after the break. But as you can see from the image above, he was met with a lot of problems along the way. The first two segments show him reverse engineering the PCB, with a giant schematic coming out of the process. In part 3 he then started probing the board while it was live, with the smell of hot electronics causing him to disconnect the power every thirty seconds. One time he took too long and blew a resistor with the pictured results.

In the end it was a shorted PWM chip to blame. He tested a couple of different replacement options, dropped in the new part, and is now back in business. [Read more…]