Speeding Up BeagleBone Black GPIO A Thousand Times

For both the Raspberry Pi and BeagleBone Black, there’s a lot of GPIO access that happens the way normal Unix systems do – by moving files around. Yes, for most applications you really don’t need incredibly fast GPIO, but for the one time in a thousand you do, poking around /sysfs just won’t do.

[Chirag] was playing around with a BeagleBone and a quadrature encoder and found the usual methods of poking and prodding pins just wasn’t working. By connecting his scope to a pin that was toggled on and off with /sysfs he found – to his horror – the maximum speed of the BBB’s GPIO was around three and a half kilohertz. Something had to be done.

After finding an old Stack Overflow question, [Chirag] hit upon the solution of using /dev/mem to toggle his pins. A quick check with the scope revealed he was now toggling pins at 2.8 Megahertz, or just about a thousand times faster than before.

Using XBox One And PS4 Controllers With Everything

The controllers from the last generation of consoles served their purpose well. They were there for us when we wanted to experiment with an I2C bus, and they stood by when we wanted to build a quadcopter out of parts just lying around. A new generation of consoles is now upon us, and with them come new controllers. Controllers for which Arduino libraries haven’t been written yet. The horror.

Until those libraries are developed, there’s ChronusMAX, a USB dongle that allows you to use XBox One controllers on a PS4, PS4 controllers on the XBox, mice and keyboards on both systems, and both types of controllers on your PC.

The folks behind ChronusMAX put up a video demoing the XBox One controller working on the 360, PS3, and PC, with another video showing the same for the PS4 controller. As far as what we can see from the PC demos, everything on these controllers can be read, right down to the accelerometer data on the DualShock 4.

Although this is a commercial product, we’re surprised we haven’t seen a more open version by now. From the looks of it, it’s a very small device with two USB ports and a firmware upload utility. Microcontrollers with two native USB ports are usually encased in large packages, so there might be some very clever engineering in this device. Let us know when someone does a teardown of one of these.

Thanks [Josh] for sending this one in.

A Rostock Welding 3D Printer?

Tired of printing in boring old plastic? Why not try metal? Researchers at Michigan Tech have come up with an open source reprap style design of a 3D printer that can print metal for only $1200.

The paper was published in IEEE Access a few weeks ago that it outlines the design and testing of this printer, which is basically an upside down Rostock with a MIG welder used as the extruder. As you can imagine, the quality and resolution of the parts isn’t that amazing (hang around after the break to see an example), but this is an exciting step forward for 3D printing. Equipped with this and a mill and the possibilities are quite endless!

Did we mention how cheap welding wire is? A cost that could add up is the shielding gas though, but as a user on Reddit points out, an upgrade for this machine could be an enclosed build chamber which could then just be flooded with the gas. Alternatively, would flux-core welding wire work?

Continue reading “A Rostock Welding 3D Printer?”

Raspi AC And Blinds Controller

raspiBlindsACController

[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”

Bally’s Bomber – A 1/3rd Replica Of A B-17G

bally bomber

One of our tipsters just sent us this fascinating story about The Bally Bomber, a single man’s huge undertaking that started back in 1999. It’s a 1/3rd scale version of the B-17G Bomber — and no, it’s not remote controlled, there will be a pilot.

Not familiar with the B-17G? What about its trade name? It’s called the Boeing B-17 Flying Fortress. This massive bomber was developed back in the 1930’s for the United States Army Air Corps as a combination between the Boeing 247 transport plane and the experimental Boeing XB-15 Bomber.

8680 of the B-17G model were built, but as of September 2011, only 13 of the entire B-17 family remain airworthy. The Bally Bomber is the only known scale replica, and looking through the progress photos it is an absolutely jaw-dropping project. It hasn’t been test flown yet, but they are getting painfully close to its maiden flight.

For more information, you can also check out their Facebook page which seems to be updated on a regular basis.

[Thanks Ryan!]

DCF77 Powered Clock Is A Work of Art

[Brett] just completed his DCF77 Master Bracket Clock, intended to be a backup to an old logic controlled clock he made. For our readers that don’t know, DCF77 is a German longwave time signal whose transmitter is located near Frankfurt (Germany). Every minute, the current date and time are sent on the 77.5kHz carrier signal.

The result, which you can see above, is made using an Ikea lantern, a skeleton clock, an ATmega328 (for Arduino compatibility), a voice recording playback IC (ISD1730), a cheap 20×4 LCD display, a DCF77 receiver module, and many LEDs. We’re pretty sure that it must have taken [Brett] quite a while to get such a nice looking clock. In case the clock loses power from the power supply, 3 AA cells provide battery backup. On the firmware side, making the platform Arduino-compatible allowed [Brett] to use its libraries so the coding was quickly done. Embedded after a break is a video of the final result.

Continue reading “DCF77 Powered Clock Is A Work of Art”

3D Printer Exhaust

[Malcolm] finally got fed up with the fumes produced by his 3D printer, so he decided to setup this rather extensive fume exhausting system.

He already has a pretty awesome setup with his Type A 3D printer inside of a filing cabinet, with a plastic tote above it to keep his filament from absorbing too much water. But as you know, the fumes released while printing ABS are actually pretty bad for you. With this in mind he 3D printed adapter rings and fitted a fan salvaged from a space heater to the outside of his filing cabinet. A dimmer switch provides variable fan speeds and some dryer vent tubing reroutes the fumes to central vac piping which then goes directly outside. When the system is not in use the piping can be plugged to prevent cold air from entering the house. It’s a fairly clean build but [Malcolm] wants to make a nicer enclosure for the fan and speed control circuit.

The major problem we see with doing something like this is removing too much heat from the build chamber which can always affect print quality. Do you vent your 3D printer?

Continue reading “3D Printer Exhaust”