Category Archives: Idea

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

Taking the DIY E-Bike Off-Road (and into the water)

There have been a few questions about this ~300w ebike and the places it can go.  I try to address some of those through experimentation in this video.

Among the tests done, I go over a few speed bumps, jump the curb, zip through some uneven grass, displace some sand, and hit the waves. All on two wheels.

Continue reading Taking the DIY E-Bike Off-Road (and into the water)

Fixing the Symptom, Not the Cause – The Smallest Trinket Project

DSC_0579wp

My (not so) fancy-like PC has recently developed this issue where it, regardless what the power settings are set to, will always go to sleep within one or two minutes of inactivity. I found this to be an incredibly large nuisance when it came to watching videos, 3D printing something over USB , or just brainstorming in front of the keyboard basking in the warm glow of the monitor; the PC will never fail to go to sleep after a mere matter of seconds.
After much wasted time in the many Power Options windows, and after hunting through old, seemingly irrelevant forums, I have decided to bring yet another Adafruit Trinket to the rescue.

In less than a dozen lines of code, I got the Trinket to “poke” the mouse once every 59 seconds. The net movement is 0 pixels over time, and the “poke” occurs in a matter of a few clock cycles.
Check out the code below:

Continue reading Fixing the Symptom, Not the Cause – The Smallest Trinket Project

Using the Arduino AJAX Webcam to Monitor and Control Your 3D Printer

DSC_0266wp

It’s a simple idea. Just modify the source code from our Arduino IP Webcam project page and add an additional set of AJAX response lines that toggle a couple IO pins on the Arduino. You can have these pins go directly to some headers on your 3D printer and/or to an inline power-switch tail that you can toggle in the event of a problem. All the while monitoring your 3D printer visually with a live image feed from anywhere on the World Wide Web.

Heck, while you’re at it, you might as well add some remote controlled lighting, and a relay shield. Your only limit is your imagination RAM. Check out this simple user interface:

Continue reading Using the Arduino AJAX Webcam to Monitor and Control Your 3D Printer