DIY – xESC Adapter [Ver2.0 w/ATtiny45]

IMG_20140620_162901

Back in October 2013, I made an Arduino based adapter that allows unidirectional aeroplane ESCs to work with surface/pistol radios for RC cars and boats. I used a ATmega8 microcontroller in that adapter and honestly, that by itself was the size of an average ESC, I couldn’t really put it anywhere conveniently on my car due to space constraints and weight concerns (If I can cut down on 5g, believe me, I will).

Even back then, I was trying to make the code work on an ATtiny45 and I wasn’t sure what was going wrong until, Justblair pointed out in the comments that the Tiny45  doesn’t have 16-bit timers, only 8-bit ones and my code was based on the Arduino servo library which utilized 16-bit timers. He also suggested a solution to get my code working on a Tiny45 and that fix is the Servo8Bit library.

Continue reading “DIY – xESC Adapter [Ver2.0 w/ATtiny45]”

Advertisements