VCF East: A Retro Hackathon

We got a banner.
We got a banner.

This weekend is the Vintage Computer Festival East in Wall, New Jersey. Every year is different, but there’s a general plan for each day. On Saturday and Sunday, the exhibits rule the con, the consignment shop is busy, and the keynotes bring down the house. Friday is a little different. This is the day for ‘in the trenches’ talks from the commodore crew, classes on recapping 30-year-old computers, and this year – for the first time – a retro hackathon. It’s basically the same format as any other hackathon, but instead of bringing MacBooks and building something cool, Apple IIs and Commodore 64s were provided. This is the report on the first retro hackathon we’ve ever been to.

The Apple II one-liner SIN graph
The Apple II one-liner SIN graph

First off, no one remembers how to program in BASIC. If you’re looking for a population that should remember the vagaries of the different dialects of BASIC, you would think it would be the people who came out to the middle of Jersey on Friday to talk about old CPUs. Apparently, this is not the case and several people were confused about single and double quotes in PRINT statements. Luckily, a few programming manuals for the C64 and Apple II were available, so everyone could still have fun with PEEKs and POKEs.

If you want to get people programming on some old machines, you need to give them some inspiration. The first half hour of the retro hackathon didn’t see any teams programming. Given this demographics proclivity to say, ‘I can do that better’, I typed a few BASIC one-liners in the C64 (random Truchet tiles in PETSCII) and Apple II (a SIN graph), and the people started pouring in. Yes, they could program something better than a single line of BASIC.

What came of an impromptu retro hackathon? Hangman, in BASIC. No, it didn’t quite work, and there were only three or four possible words hardcoded into the program. Still, text mode graphics are a lost art. The Apple IIc was programmed to make fart noises. The original plan for this project was to program music. What would  have been the winning entry was a line-drawing program on the C64 that looked like the enemy in Qix. That guy wasn’t there during judging. The winner of a $50 credit to the consignment shop was a kid who programmed zero-player Pong on Apple II basic. He bought a Mac Portable (non-backlit) with that prize.

We’ve gone to hackathons, we’ve waded through the sea of MacBooks, and had a Red Bull drip installed. This retro hackathon was completely different, but somehow familiar. No, no one is going to create something new – everything that can be done on these machines in a few hours of BASIC programming has already been done. That’s not the point, though. It’s a geek pride of proving your mettle, putting your money where your mouth is, and doing it in a casual environment where everyone is friendly. This is the first retro hackathon we’ve gone to, and it won’t be the last. We’re going to do this again, once we get an Apple IIc+, a few Commodores, a Speccy, and a few good monitors. We already have the banner, anyway.

Hacklet 104 – Test Equipment Projects

Hardware hackers love their test equipment. There are entire forums dedicated to talking about multimeters, oscilloscopes, signal generators, and other common bench tools. At times it seems we spend more time talking about our tools than actually using them. For some, off the shelf equipment is never quite good enough. These hackers, makers and engineers design and build their own test equipment. This week’s Hacklet is dedicated to some of the best test equipment projects on Hackaday.io!

test-tool-1We start with [Roman] and Handheld Electronic Test And Measurement Lab. [Roman] travels a lot, and often needs to bring a lab’s worth of tools with him. After suffering through several ‘random’ searches, he decided to design a simple tool that would cut down his packing, and not get him strip searched. The handheld lab packs a multimeter, low-frequency oscilloscope, data logger, waveform generator, and several other tools into a small package. The tool can be connected to a PC to display data and update settings. The on-board PIC24 handles all the hard work of taking measurements. Some careful analog design gives this tool 10 megohm of input impedance.

test-2Next up is [Jaromir Sukuba] with 10$ curve tracer. The only way to find out of that a transistor or diode really works as well as the data sheet suggests is to pull out your semiconductor curve tracer. Curve tracers are also perfect for matching transistors for projects like analog synthesizers. [Jaromir] built this quick and dirty tracer over the course of just two evenings. A dsPIC microcontroller runs the show, generating an IV curve by sending pulses through the device under test. Once the curve has been traced, the PIC displays the results on a TFT LCD module. The tracer is a bit limited with a max of 35V at 0.5 amps. Knowing [Jaromir] though, extending the range would only take another evening or two of work.

vlabtoolNext we have [Jithin] with A Versatile Labtool. This tool can do just about everything you could want – all in one box. From oscilloscope to frequency counter to multimeter to current source, and much more. Much like [Roman] up above, [Jithin] chose a Microchip PIC24 MCU as processing heart of his design. The Versatile Labtool connects to a PC via USB. If you’re not close to your PC, an ESP8266 module allows the unit to connect over WiFi. A PC isn’t required though. The on-board OLED is always available for quick measurements.

emtFinally we have [ZaidPirwani] with Engineer’s Multi Tool, his entry in the 2015 Hackaday Prize. [Zaid] started with the popular transistor tester codebase. He ported the code to his own hardware, an Arduino Nano and Nokia LCD. Making the port function required quite a bit more work than [Zaid] expected. He ended up going with a fresh repository and adding a bit of code at a time. Once everything was working, [Zaid] verified that his hardware design operated as expected with a good old-fashioned multimeter. Now that everything is working, [Zaid] is just about out of space on the little ATmega328. Next stop is a Teensy 3.2!

 

A special thank you goes out to [Jaromir Sukuba] for suggesting test equipment as the theme for this week’s Hacklet. You can find his projects and more on the new test equipment project list! If I missed your project, or if you have a suggestion for a future Hacklet theme, don’t be shy! Drop me a message on Hackaday.io. That’s it for this week’s Hacklet. As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Milk-Based 3D Scanner

3D scanners don’t have to be expensive or high-tech because all of the magic goes on in software. The hardware setup just needs to gather a bunch of cross-sections. In perhaps the lowest-tech of scanners that we’ve seen, [yenfre]’s GotMesh scanner uses milk.

Specifically, the apparatus is a pair of boxes, one with a hole drilled in it. You put the object in the top box and fill it with milk to cover the object. A camera takes pictures of the outline of the object in the milk as it drains out the hole, these get stitched together, and voilà.

There are limitations to this method. The object gets soaked in milk, so it won’t work for scanning sand-castles. (It’s optimally suited for chocolate-chip cookies, in our opinion.) If the camera is located directly above, the objects have to get wider as the milk drains out. You can do multiple takes with the object rotated at different angles or use multiple cameras to solve this problem. The edge-detection software will have issues with white objects in milk, so maybe you’ll want to scan that porcelain figurine in coffee, but you get the idea. More seriously, the rate of milk drain will slow down a bit as the amount of milk in the upper box decreases. This could also be handled in software.

In all, we’re not surprised that we don’t see commercial versions of this device, but we love the idea. It’s based on this experiment where they dip a guy in a tank of ink! If you just drank all your milk, but still have a line-laser lying around, maybe this build is more your speed. What’s your cheapest 3D scanner solution?

ESP8266 Based Irrigation Controller

If you just want to prevent your garden from slowly turning into a desert, have a look at the available off-the-shelf home automation solutions, pick one, lean back and let moisture monitoring and automated irrigation take over. If you want to get into electronics, learn PCB design and experience the personal victory that comes with all that, do what [Patrick] did, and build your own ESP8266 based irrigation controller. It’s also a lot of fun!

[Patrick] already had a strong software background and maintains his own open source home automation system, so building his own physical hardware to extend its functionality was a logical step. In particular, [Patrick] wanted to add four wirelessly controlled valves to the system.

Continue reading “ESP8266 Based Irrigation Controller”

One SMT Breakout To Rule Them All

You need to use surface-mount technology (SMT) parts in your design. But you also need to prototype. How to fit those little buggers into your breadboard?

[Simon] came up with a general-purpose SMT-to-breadboard solution. Now, there are already myriad adapter boards for the many-pin devices: SSOP-to-DIP adapters and so on. But what do you do when you just need to work that tiny SOT223 voltage regulator into a breadboarded circuit?

[Simon]’s solution fills that gap with one breadboardable design to handle all of your small-pin-count part needs. It accommodates SOT223, SOT323, and SOT23 three-pin parts like transistors or voltage regulators, and also has pads for all of the common two-terminal parts like resistors and capacitors from 0402 on up to 1206. You could build up a full voltage regulator circuit on one of these things. He’s even included some whitespace on the back for your notes.

SMT parts aren’t even the future any more. And with the right procedure, they’re not hard to hand-assemble. So the next time you have some extra space in a PCB order, toss in a couple of [Simon]’s breakouts and you’ll be ready for your next breadboarding session.

Automatic Book Scanner To Bring Knowledge To Ethiopian Students

In 2013 the dean of an Ethiopian university addressed Maker Faire Hannover and outlined one of his concerns; that the high price of developed-world textbooks was holding back the cause of education for universities such as his own in developing countries. He was there to ask for help from the maker community to solve his problem, and a group of his audience took up the challenge to create an affordable and accessible automatic book scanner.

Their scanner builds on the work of Google engineer [Dany Qumsiyeh], whose open source linear book scanner turns pages by traversing the opened book over a triangular prismic former such that pages are turned by vacuum as they pass over carefully designed slots in its surface. Their modification replaces the vacuum with the Coandă effect, to more gently tease open each page and it is hoped reduce the chance of damaging the volumes being scanned.

The whole machine is controlled by a Raspberry Pi, and the scanning is performed by linear scanning optics, sensors, and electronics taken from flatbed scanners.

An important design goal of the project was to ensure that the scanner could be built without special tools or expertise that might be difficult to find in a developing country, as well as that it should be as inexpensive as possible. The frame of the machine is off-the-shelf extruded aluminium, and the body is acrylic sheet which can be cut to shape with a hand saw if necessary. It is estimated that the device will cost in the region of 500 Euros (about $568) to build.

More information can be found at the project’s web site (German language, Google translate link), including a selection of videos such as the one below the break showing the device in operation.

Writing from the perspective of having been peripherally involved in a professional book scanning operation at a large publisher the benefits of this machine are immediately apparent. Removing the binding and automatically scanning each page as an individual sheet produces a very fast and high quality result, but by its very nature damages the volume being scanned. This machine promises to deliver a solution to the problem of book scanning that is considerably less intrusive.

It is also worth noting that the project does not address any copyright issues that might arise from scanning commercially published textbooks, though this is more of a concern for the end user in terms of what they scan with it than it is for the maker.

Continue reading “Automatic Book Scanner To Bring Knowledge To Ethiopian Students”

Home Automation And Monitoring With Edison

[Tyler S.] has built a home automation and monitoring system dubbed ED-E, or Eddie. The name is an amalgam of its two main components, the Edison board from Intel, and some ESP8266 modules.

ED-E’s first job is to monitor the house for extraordinary situations. It does this with a small suite of sensors. It can detect flame, sound, gas, air quality, temperature, and humidity. With this array, it’s probably possible to capture every critical failure a house could experience, from burglars to water pipe leaks. It uploads all this data to Intel’s Analytics Cloud where we assume something magical happens to it.

ED-E can also sense the state of other things in the house, such as doors, with remote sensors. The door monitors, for example, are an ESP8266 and a momentary switch in a plastic case with a lithium ion battery. We’re not sure how long they’ll run, but presumably the Analytic Cloud will let us know if the battery is low via the aforementioned magic.

8728871444406519500_smallLastly, ED-E, can turn things in the house on and off. This is accomplished in 100% Hackaday-approved (if not UL-approved) style with a device that appears to be a lamp cable fed into a spray painted Altoids tin.

ED-E wins some style points for its casing. It’s a very well executed hack, and we’d not previously considered just how many awful situations can be detected with off the shelf sensors.