Tag Archives: arduino

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

The electromechanical relay clock project is complete!

DSC_0643

CLICK HERE TO VIEW THE PROJECT WRITEUP!

After years of waiting to find the right hardware, I have finally found the time and the opportunity to build my own digital mechanical clock that uses absolutely no transistors or ICs. Its technology is reminiscent of the early relay computers from many decades ago. It uses 67 relays arranged in such a way to create 21 identical flip-flop logic circuits.

Continue reading The electromechanical relay clock project is complete!

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

Introducing the Trinket Auto Greeter

What's cracking?
What’s cracking?  (an actual response from TAG)

After winning the Adafruit/Hack a Day Trinket contest I had to decide what to do with my new Trinket microcontroller. A few weeks went by before I came across this universal foot switch. With plenty of space inside it was just begging to be part of a new Trinket project. One thing led to another and then I realized that I am terrible when it comes to over-thinking the headings and greetings to my emails and other messages .

Thus came the Trinket Auto Greeter, or TAG for short; it types out a random greeting from a list at the push of a button. The code has been made available on the project page for anyone to use or edit.

Pen-plotting for the Hack a Day/Adafruit Trinket Contest

DSC_0110c

On October 21 the Hack a Day blog announced a contest where readers can slap the blog’s logo on something and win Trinkets that were supplied by Adafruit Industries. There were twenty 41 Trinkets to give away in this contest and preference was given to both the smallest and largest of the entries. The deadline was November 1st and being the busy college student that I was with not much time on my hands, I decided to just sit back and watch the entries roll in.

At around 9pm on October 31, with only three hours left in this contest, I suddenly got the urge to enter. Not a minute later I came up with a very simplistic idea for a universal pen plotter based off my 3D printer and the software I normally use with it.

Continue reading Pen-plotting for the Hack a Day/Adafruit Trinket Contest