An Introduction To Stepper Motors

If you’ve been reading Hack a Day for long enough, you know about our infatuation with stepper motors. These precious little devices put the oomph into our CNC routers, 3D printers, robots, and other miscellaneous projects. Steppers aren’t your run-of-the-mill motors, though. [Steaky] posted a great introduction to stepper motors that lets you hit the ground running building any moving project you could imagine.

Apart from identifying a stepper and figuring out if it works, [Steaky] goes over how to make these motors turn. The theory behind an H-bridge is easy enough, but theory isn’t something often presented in schematics or stepper driver datasheets.

We’ve pulled more than our fair share of steppers from flatbed scanners and old printers. There’s nothing wrong with scavenging old parts, and whether you’re making a robot band to play your kid’s birthday party, robochess, or one of the many 3D printers or CNC machines, there’s going to be a stepper motor in your future.

Making Sweet Floppy Drive Music With A Calculator

floppy-music-ti83-style

[Chris] says that he’s been pretty busy lately, leaving little opportunity for hacking. However he did manage to find a little time to put together a small project that has occupied his to-do list for a while – a floppy drive music controller.

We have seen hacks that use microcontrollers to actuate floppy drive motors before, but we can’t remember anything that used a calculator to do the job instead. While a microcontroller gives you plenty of I/O pins to play with, [Chris’] Ti-83+ only has two.

Even with the calculator’s I/O limitations, he didn’t find the task too overly difficult as he merely needed to hold a pair of the drive’s pins low, while pulsing two others. He modified a media player written for Ti calculators to output the necessary control signals, then he cranked out some tunes.

As you can see in the video below, his simple setup works quite well – not bad for just a few hours’ work.

Continue reading “Making Sweet Floppy Drive Music With A Calculator”

From The Readers: Low Battery Cutoff Solutions

We got a lot of really great feedback about low battery cutoff options in the comments section of Monday’s replacement battery post. To refresh your memory, some power tool batteries were replaced by Lithium Polymer units which can be damaged if drained too low before recharging. We had thought that many Lithium cells had cutoff circuitry these days. The consensus is that these batteries didn’t because they’re for RC applications where weight is an issue. But we did get a ton of people sending in commercially available drop-in solutions, mostly from RC hobby outlets, so search around for those if you’re interested.

[Christopher] sent us a link to the cutoff circuit he built for his bike light. You can see the schematic for it above (direct link). He sourced an ATtiny45 to drive a MOSFET which disconnects the battery when it gets too low. This would be easy to adapt to other uses, but note that there’s a voltage regulator involved as well as a few other passives… not a difficult solution but also not all that simple.

This same concept can be adapted. A few commentors mentioned using a transistor (or MOSFET) with the base driven by a voltage divider including a zener diode. This way the voltage rating of the diode would effectively shut off the gate when that threshold was reached.

We also enjoyed reading about [Bill’s] human-controlled cutoff circuit. It also uses a zener diode, but this time in series with a resistor and and LED patched into the trigger of the tool. The LED will shine brightly when the battery is in good shape. It will dim near the end, and fail to light when the critical limit has been reached. Just make sure you’re paying attention and you’re in good shape.

HDCP Falls To FPGA-based Man-in-the-middle Attack

fpga-hdcp-maninthemiddle-attack

It’s been a little while since we talked about HDCP around here, but recent developments in the area of digital content protection are proving very interesting.

You might remember that the Master Key for HDCP encryption was leaked last year, just a short while after Intel said that the protection had been cracked. While Intel admitted that HDCP had been broken, they shrugged off any suggestions that the information could be used to intercept HDCP data streams since they claimed a purpose-built processor would be required to do so. Citing that the process of creating such a component would be extremely cost-prohibitive, Intel hoped to quash interest in the subject, but things didn’t work out quite how they planned.

It seems that researchers in Germany have devised a way to build such a processor on an extremely reasonable budget. To achieve HDCP decryption on the fly, the researchers used a standard off the shelf Digilent Atlys Spartan-6 FPGA development board, which comes complete with HDMI input/output ports for easy access to the video stream in question. While not as cheap as this HDCP workaround we covered a few years ago, their solution should prove to be far more flexible than hard wiring an HDMI cable to your television’s mainboard.

The team claims that while their man-in-the-middle attack is effective and undetectable, it will be of little practical use to pirates. While we are aware that HDMI data streams generate a ton of data, this sort of talking in absolutes makes us laugh, as it often seems to backfire in the long run.

[via Tom’s Hardware]

Custom Massive LED Panel Lights Up The Party

giant-led-sign

The guys at BuildLounge wrote us to share a giant LED sign they came across in the submission pile for their “Win a Laser Cutter” contest that’s currently under way. [Stephen Shaffer] helps run a huge party called Fantastic Planet, for which the group typically outsources the lighting arrangements. They got tired of hiring light guys several times a year and built their own mega display for the festivities instead.

The LED sign consists of 1,474 LEDs that output well over 10,000 lumens. The sign was produced for just about $800, which is very reasonable for a display of its size. The whole thing is controlled by a pair of Arduinos paired with 34 MIC5891 shift registers, all mounted on custom designed PCBs that the group produced in-house.

The display looks great, but don’t take our word for it – check out the video below to see it in action.

If you are interested in taking a closer look at how it was built, swing by the build thread to see more details.

Continue reading “Custom Massive LED Panel Lights Up The Party”

Building A Computer Around A 6502 Processor

When it came time to try out some old-school computing [Quinn Dunki] grabbed a 6502 processor and got to work. For those that are unfamiliar, this is the first chip that was both powerful, affordable, and available to the hobby computing market back in the 1970’s. They were used in Apple computers, Commodore 64, and a slew of other hardware.

The first order of business in making something with the chip is to establish a clock signal. She sourced a crystal oscillator which runs at 1 MHz, but also wanted the option to single step through code. Her solution was to build two clock signals in one. A toggle switch allows her to choose the crystal, or a 555 timer circuit which uses a push button to fire each clock pulse.

Check out the video after the break to see some single stepping action. There’s no memory on board just yet. But the input pins have been hard-wired to voltage or ground to simulate data input. We wondered what she was up to with that HEX Out project which stiffs the logic on the data bus. Looks like it’s extremely useful in this project!

Continue reading “Building A Computer Around A 6502 Processor”

Siri As A Lippy And Sometimes Profane Television Remote

If the addition of Siri to your iPhone has given you a somewhat-real life companion (and hope that you might not be forever alone) this hack is right up your alley. [Todd Treece] built a hardware fixiture for the living room which bridges the gap between Apple’s new digital assitant and your television.

The box itself is an Arduino with a WiFly shield and the hardware necessary to make it a universal infrared remote control. He mounted it on the underside of his end table, with the IR LED in line-of-sight for the television. Using SiriProxy he’s added functionality that lets you request a channel change either by the name of the network, or the channel number.

As you can see in the video after the break, Siri has some strong opinions on the quality of programming for certain channels. That and contempt for your inability to just change the channel yourself. But this setup does augment your remote control experience by giving you a synopsis of what’s playing right now for the channel you’ve requested.

Continue reading “Siri As A Lippy And Sometimes Profane Television Remote”