Tag Archives: software

Using a Trinket to control a stepper motor with acceleration – Dorm automation

After almost four years living in university dorms, I am left aching to hack a place of my own. As expected, I eventually decided to automate my dorm room window blinds.

What came of it was a fanciful bit of ultra-lightweight Arduino code.
Be sure to visit the full write-up page for more details.

At the heart of this CommandStrip-stuck gadget is one original Adafruit Trinket microcontroller sporting a feeble ATTiny85. It sits next to a generic A3988 stepper motor driver.

Continue reading Using a Trinket to control a stepper motor with acceleration – Dorm automation

Hard Drive Solenoid Engine With Trinket

DSC_0202

Solenoid engines are nothing new, though they still seem to be a fairly common project among the curious. Using a hard drive makes such a project much more simple and straight forward, that is if you want to keep it that way.

This solenoid engine uses a software control loop (code below) running on a 16MHz Adafruit Trinket to adjust its speed. The program specifically alternates between a modest 180RPM to a smashing 3000RPM every five or ten seconds! Watch the video below!

Continue reading Hard Drive Solenoid Engine With Trinket