Yes, dogfighting with RC planes is cool. You know what’s even cooler? RC jousting. Considering these eight foot long planes are probably made of foam board or Depron, they’ll probably hold up for a fairly long time. The perfect application of RC FPV.
Home automation is the next big thing, apparently, but it’s been around for much longer than iPhones and Bluetooth controllable outlets and smart thermostats. Here’s a home automation system from 1985. Monochrome CRT display panel (with an awesome infrared touch screen setup), a rat’s nest of wiring, and a floor plan drawn in ASCII characters. It’s also Y2K compliant.
Here’s an idea for mobile component storage: bags. Instead of tackle and tool boxes for moving resistors and other components around, [Darcy] is using custom bags made from polyethylene sheets, folded and sealed with an impulse sealer. It’s not ESD safe, but accidentally zapping a LED with an ESD would be impressive.
Need a stepper motor test circuit? Easy, just grab one of those Polulu motor drivers, an ATtiny85, wire it up, and you’re done. Of course then you’re troubled with people on the Internet saying you could have done it with a 555 timer. This one is for them. It’s a 555, some wire, and some solder. Could have done it with discrete transistors, though.
Someone figured out Lego Minifigs can hold iDevice charge cables. +1 for the 1980s spaceman.
Remember that “electronic, color sensing, multicolor pen” idea that went around the Internet a year or so ago? It’s soon to be a Kickstarter, and man, is this thing full of fail. They’re putting an ARM 9 CPU in a pen. A pen with a diameter of 15mm. Does anyone know if an ARM 9 is made in that small of a package? We’ll have a full, “this is a totally unrealistic Kickstarter and you’re all sheep for backing it” post when it finally launches. Also, this.
[Andreas] has created this tutorial on real-time (RT) tasks in Linux. At first blush that sounds like a rather dry topic, but [Andreas] makes things interesting by giving us some real-world demos using a Raspberry Pi and a stepper motor. Driving a stepper motor requires relatively accurate timing. Attempting to use a desktop operating system for a task like this is generally ill-advised. Accurate timing is best left to a separate microcontroller. This is why we often see the Raspi paired with an Arduino here on Hackaday. The rationale behind this is not often explained.
[Andreas] connects a common low-cost 28BYJ-48 geared stepper motor with a ULN2003 driver board to a Raspberry Pi’s GPIO pins. These motors originally saw use moving the louvers of air conditioners. In general, they get the job done, but aren’t exactly high quality. [Andreas] uses a simple program to pulse the pins in the correct order to spin the motor. Using an oscilloscope, a split screen display, and a camera on the stepper motor, [Andreas] walks us through several common timing hazards, and how to avoid them.
The most telling hazard is shown last. While running his stepper program, [Andreas] runs a second program which allocates lots of memory. Eventually, Linux swaps out the stepper program’s memory, causing the stepper motor to stop spinning for a couple of seconds. All is not lost though, as the swapping can be prevented with an mlockall() call.
The take away from this is that Linux is not a hard real-time operating system. With a few tricks and extensions, it can do some soft real-time tasks. The best solution is to either use an operating system designed for real-time operation, or offload real-time operations to a separate controller.
Continue reading “A Tutorial on Using Linux for Real-Time Tasks”
The Stepstick and Pololu motor drivers are the heart of just about every Reprap electronics board, but they can go bad. The usual way of testing these things is to rig up a microcontroller on a breadboard, grab some cables, and wire something up. [Ken]’s Easy Stepper Motor Controller is a much simpler solution to the problem of testing these drivers and could, with a bit of practice, be constructed on a single-sided homebrew PCB.
The Easy Stepper Motor Controller is a very simple board with connections to a motor, a power supply, and headers for a single Pololu or Stepstick motor driver. Two buttons and a pot control the rotation of the motor with the help of an ATtiny10, and jumpers for up to 16x microstepping are right there on the board.
There’s a video after the break showing what this stepper motor driver driver can do. It’s not much, but if you’re just testing a driver, it’s all you need.
Continue reading “The Stepper Driver Driver”
Playing music on floppy drives is something that has been done to death. [kiu]’s RumbleRail is something else entirely. Yes, it’s still a collection of floppy drives playing MIDI files, but the engineering and build quality that went into this build puts it in a class by itself.
Instead of the usual assemblage of wires, power cords, and circuits that accompany most musical floppy drive builds, [kiu]’s is an exercise in precision and modularity. Each of the eight floppy drives are connected to its own driver with an ATMega16 microcontroller on board. The microcontrollers in these driver boards receive orders from the command board over an I2C bus. Since everything on the RumbleRail is modular, and the fact [kiu] is using DIP switches to set the I2C address of each board, this build could theoretically be expanded to 127 voices, or 127 individual floppy drives each playing their part of a MIDI file.
The RumbleRail can also operate in a standalone mode without the need for a separate computer feeding it data. MIDI files can be loaded off an SD card by the main controller board, and decode them for the floppy drivers.
If you’d like to build your own RumbleRail, all the board files, schematics, and firmware are up on [kiu]’s git. There are, of course, a few videos below of the floppy jukebox in action.
Continue reading “The Most Beautiful Floppy Disk Jukebox Ever”
Looking for a clever way to build a Phenakistoscope? Maybe you’re more familiar with its other names; Fantoscope, Phantasmascope, or perhaps its close cousin the Zoetrope?
If you’re still scratching your head, that’s okay — they have really weird names. What we’re referring to here is a type of optical illusion that mimics movement by showing a series of still images at an offset interval — this can be achieved by looking through slots, strobing a light (like in this case) or even by the use of mirrors.
This particular Phenakistoscope is a very simple but clever design that makes use of a recycled stepper motor from a printer, a CD as the animation disk, a strip of LED lighting, a few potentiometers and an Arduino to control the strobe. It works by synchronizing the strobe frequency with the motor rotation, resulting in the image in motion effect.
Stick around after the break for a full gallery of the build and a demonstration video.
Continue reading “Electronic Phenakistoscope!”
[David] has created a four cable drawing machine for the Telus Spark Science Centre in Canada. Hackaday has featured [David’s] unconventional drawing contraptions before, specifically his center pivot pen plotter. The drawing machine is a new take on a drawbot, and could be considered to be close cousins with [Dan’s] SkyCam. The premise is simple: A stepper motor with a reel of string is placed at each corner of a square. The strings for all four motors come together at a center weight. When all four strings are taut, the weight is lifted off the drawing surface. When a bit of slack is added into the strings, gravity pulls the weight down to touch the sand.
It’s at this point that a simple premise becomes a complex implementation. Moving the weight in one direction is a matter of reeling out string on one motor, and reeling in string on the other. But what about the two “un driven” strings? They have to be slack enough to allow movement in the driven direction, but not so slack that the weight can dig in and tumble on the sand, causing a tangle. To handle some of these questions, [David] called on [Kevin] to write some software. [Kevin] created a custom kinematics module for LinuxCNC to control the drawing machine. The drawing machine runs on Gerber Code, similar to a CNC. Simply feed the machine Cartesian coordinates, and [Kevin’s] module converts to steps.
Continue reading “Four Cable Drawing Machine Pulls Our Strings”
[Chris’s] bedroom has a unique setup with an air conditioning unit perched on the wall next to the top of the blinds that cover his window. Normally, to open the blinds he had to tug on a cord and operating the AC meant fiddling with a remote control. Not anymore. Now [Chris] has an all-in-one Raspberry Pi-based solution to drive both.
The build uses a stepper motor salvaged from a printer to directly drive the blinds, with a familiar-looking Easy Driver connecting it to the Pi. The motor spins the blinds’ mechanism either open or closed, though at a modest pace that’s slow enough to provide the needed torque. [Chris] added an IR diode plugged into the Pi that imitates the air conditioning unit’s remote control, and simply pointed it directly at the unit’s receiver. An inexpensive WiFi dongle gets the Pi onto the network, allowing [Chris] to interact via a custom web interface. The interface itself not only provides a couple of clickable buttons, but a cleverly-designed status image indicating the position of the blinds.
Make sure you see the video below for a demonstration and for more details on the build. This is one of the better examples of home automation devices we’ve seen recently, especially considering it actually fits the “autonomous” implications discussed in our Ask Hackaday post from a few months back—although a relatively simple automation, [Chris’s] interface does allow for operating both the blinds and the AC on a preselected schedule.
Continue reading “Raspi AC and Blinds Controller”