Automated Pocky Dispenser

Sometimes, along comes a build project that is not so much a fail, as how not to do it. First off, some of us here had to look up what a Pocky is, never having heard, seen or tasted one – seriously. Once satisfied, we turned our attention to [Michael]’s Automated Pocky Dispenser. Took a while for us to figure out if it’s useful or not. But it’s a fun, quick project that [Michael] put together in around an hour using parts lying around in his office.

For those of you who’d like to know, a Pocky is a chocolate-coated biscuit stick, although you can also buy it in other flavors. You can grab one from a box, but maybe it tastes better when you dispense it by banging a big red button. [Michael] says he used  incredibly advanced construction techniques, but we leave it to our readers to decide on that. The key element of the build is the special “flexible coupling” that he built to transfer the rotation of the stepper motor to the dispensing mechanism. The rest of the build consists of an Arduino, stepper motor, driver, and giant red button. Special motor driving code ensures that the dispenser wiggles back and forth every time, preventing any stuck Pocky’s. And the Electronics are, well, hanging out for all to see. Happy with the success of his build, [Michael] is planning an upgraded version – to connect the Pocky Dispenser to the cloud for statistical gathering of office Pocky habits. He claims even Google does not have that data. To see the dispenser in action, check out the video below.

Continue reading “Automated Pocky Dispenser”

Retro Edition: VCF East, April 17 – 19

Around this time last year we were planning our trip to the Vintage Computer Festival East in Wall, NJ. This year we’re doing it all over again, and according to the announcements coming out of the planning committee, it’s going to be a very, very cool event.

This year marks fifty years since the release of the PDP-8, regarded as the first commercially successful computer ever. The historic Straight-8 from the infamous RESISTORS has been restored over the past few months, and it’s going to be turned on again for the festival. There will also be a half a dozen other PDP-8s at the event, but these are 8/M, 8/E, and 8/L models and not constructed completely out of discrete diode transistor logic.

Keynote speakers include [Wesley Clark], designer of the LINC computer and [Bob Frankston], co-creator of Visicalc. There will, of course, be a ton of educational and historical sessions on Friday. Our own [Bil Herd] will be there talking about vintage microcomputer architectures along with a dozen other fascinating people talking about really interesting stuff

As far as exhibits go, there’s literally everything you could imagine when it comes to retro computers. There will of course be a fully restored and functional PDP Straight 8, along with PDP-11s, Apple Newtons, Ataris, Network gaming on C64s. Hollerith cards, VisiCalc, mainframes, teletypes, video toasters, an RTTY amateur radio station (KC1CKV), a flea market/consignment thing, and all sorts of retro goodies. Oh, a Fairlight CMI will also be there. I don’t know how they got that one.

More info for VCF East at the official site, Facebook, and Twitter. If you’re in the area and want to exhibit something really, really cool, there’s still room for more. If you want a better feel for what will be going down at VCF East, check out our megapost wrapup from last year.

Of course if New Jersey isn’t your thing and you live a few blocks down from Peachtree Avenue, Lane, or Street, VCF Southeast 3.0 will be held in Roswell, Georgia the first weekend in May.

Reverse Engineering Wireless Temperature Probes

[bhunting] lives right up against the Rockies, and for a while he’s wanted to measure the temperature variations against the inside of his house against the temperature swings outside. The sensible way to do this would be to put a few wireless temperature-logging probes around the house, and log all that data with a computer. A temperature sensor, microcontroller, wireless module, battery, case, and miscellaneous parts meant each node in the sensor grid would cost about $10. The other day, [bhunting] came across the exact same thing in the clearance bin of Walmart – $10 for a wireless temperature sensor, and the only thing he would have to do is reverse engineer the protocol.

These wireless temperature sensors are exactly what you would expect for a cheap piece of Chinese electronics found in the clearance bin at Walmart. There’s a small radio operating at 433MHz, a temperature sensor, and a microcontroller under a blob of epoxy. The microcontroller and transmitter board in the temperature sensor were only attached by a ribbon cable, and each of the lines were labeled. After finding power and ground, [bhunting] took a scope to the wires that provided the data to the radio and took a look at it with a logic analyzer.

After a bit of work, [bhunting] was able to figure out how the temperature sensor sent data back to the base station, and with a bit of surgery to one of these base stations, he had a way to read the temperature data with an Arduino. From there, it’s just a data logging problem that’s easily solved with Excel, and [bhunting] has exactly what he originally wanted, thanks to a find in the Walmart clearance bin.

Cardboard CNC Machine Boxes Up Both A Tool And A Framework

Want to build up a desktop CNC machine without breaking your pocketbook? [James Coleman], [Nadya Peek], and [Ilan Moyer] of MIT Media Labs have cooked up a modular cardboard CNC that gives you the backbone from which you can design your own machine.

The CNC build comprises of design instructions for a single axis linear stage and single axis rotary stage with several ideas on how to combine multiple of these axes together to construct a particular machine. Whether your milling wood, laser-engraving your desk, or pipetting your bacteria samples, the designs [Dropbox] and physical components can be adopted for your end-application.

Perhaps the most interesting aspect of this project is that, at the high level, it is not just a cnc, but a framework known as Gestalt. This architecture enables users to develop their own machine configuration consisting of multiple software nodes linked together with high-level Python Code. Most of the high level computation is organized by a Python library that calls compiled C-code. This high-level framework processes instructions through the desired machine’s kinematics to output commands to the motor controllers. Finally, the top-level interface does away with the archaic GCode with two alternatives: a Python interface consisting of function calls to procedures and a remote interface to make procedure calls through http requests. While the downside of a motion control language is that commands have no standardization; they are, however, far more human-readable, a benefit that plays into the Gestalt Framework’s aim “to be accessible to individuals for personal use.”

gestaltFramework

In the paper [PDF], [Ilan] expresses the notion of a tool as an impedance-matching device, an instrument that extends the reach of our creativity to bend and morph a broader range of shapes into forms from our imagination. Where our hands fail in their imprecision and weakness, tools bridge this gap. Gestalt and the Cardboard CNC are first steps to creating a framework so that anyone can design and realize their own impedance-matching device, whether they’re weaving steel cables or carving wood.

The folks at MIT Media Labs a familiar heavy-hitters in this field of low-cost machinery, especially the kind that fit in a suitcase. We’re thrilled to see a build that reaches out directly to the community.

via [CreativeApplications.net]

Putting Oculus Rift On A Robot

Many of the early applications for the much anticipated Oculus Rift VR rig have been in gaming. But it’s interesting to see some more useful applications besides gaming, before it’s commercial release sometime this year. [JoLau] at the Institute i4Ds of FHNW School of Engineering wanted to go a step beyond rendering virtual worlds. So he built the Intuitive Rift Explorer a.k.a IRE. The IRE is a moving reality system consisting of a gimbaled stereo-vision camera rig transmitting video to the Rift, and matching head movements received from the Oculus Rift. The vision platform is mounted on a Remote-controlled robot which is completely wireless.

One of the big challenges with using VR headsets is lag, causing motion sickness in some cases. He had to tackle the problem of latency – reducing the time from moving the head to getting a matching image on the headset – Oculus Rift team specified it should be less than 20ms. The other important requirement is a high frame rate, in this case 60 frames per second. [JoLau] succeeded in overcoming most of the problems, although in conclusion he does mention a couple of enhancements that he would like to add, given more time.

[JoLau] provides a detailed description of the various sub-systems that make up IRE – the Stereo camera,  audio and video transmission, media processing, servo driven gimbal for the stereo camera,  and control system code. [JoLau]’s reasoning on some of the interesting hardware choices for several components used in the project makes for interesting reading. Watch a video of the IRE in action below.

Continue reading “Putting Oculus Rift On A Robot”

Screensaver Hack

Bypassing The Windows Lock Screen

Most of us know that we should lock our computers when we step away from them. This will prevent any unauthorized users from gaining access to our files. Most companies have some sort of policy in regards to this, and many even automatically lock the screen after a set amount of time with no activity. In some cases, the computers are configured to lock and display a screen saver. In these cases, it may be possible for a local attacker to bypass the lock screen.

[Adrian] explains that the screen saver is configured via a registry key. The key contains the path to a .scr file, which will be played by the Adobe Flash Player when the screen saver is activated. When the victim locks their screen and steps away from the computer, an attacker can swoop in and defeat the lock screen with a few mouse clicks.

First the attacker will right-click anywhere on the screen. This opens a small menu. The attacker can then choose the “Global settings” menu option. From there, the attacker will click on “Advanced – Trusted Location Settings – Add – Add File”. This opens up the standard windows “Open” dialog that allows you to choose a file. All that is required at this point is to right-click on any folder and choose “Open in a new window”. This causes the folder to be opened in a normal Windows Explorer window, and from there it’s game over. This window can be used to open files and execute programs, all while the screen is still locked.

[Adrian] explains that the only remediation method he knows of is to modify the code in the .swf file to disable the right-click menu. The only other option is to completely disable the flash screen saver. This may be the safest option since the screen saver is most likely unnecessary.

Update: Thanks [Ryan] for pointing out some mistakes in our post. This exploit specifically targets screensavers that are flash-based, compiled into a .exe file, and then renamed with the .scr extension. The OP mentions these are most often used in corporate environments. The exploit doesn’t exist in the stock screensaver.

DIY Speaker Build

There is something refreshing about a neat, portable audio hack – especially one than involves making a DIY Speaker Box from scratch. [Dave] had some time to spare and his ShapeOko was lying idle and hankering for some attention. He needed a small speaker that he could place outside when entertaining guests. After some quick homework, he zeroed in on the speakers he would use.

Using some online resources , he did some basic math to figure out the box size and shape, but then eventually threw caution to the wind and went ahead with the design he had in mind. Most speaker box builds use some form of wood or MDF. [Dave] had 9mm thick ABS sheets lying around and decided to use them instead. He used an interesting technique for putting the box together. The front and rear panels had slots milled in to them to follow the shape of the side panels. The two side panels had strategically cut slots half way through the thickness of the ABS to make it easier to heat bend them. He then used a heat gun to bend the side panels to fit them to the slots on the front and back panels. In the end, we’re guessing he used just four pieces of ABS to build a complex shape. Since the HiVi B3N speakers are full range, he also built a 1st order crossover to make sure the highs were diverted to the tweeters. All in all, a neat, clean build.