Be Vewy Vewy Quiet, We’re Hunting Baofengs

In the world of ham radio, a “Fox Hunt” is a game where participants are tasked with finding a hidden transmitter through direction finding. Naturally, the game is more challenging when you’re on the hunt for something small and obscure, so the ideal candidate is a small automated beacon that can be tucked away someplace inconspicuous. Of course, cheap is also preferable so you don’t go broke trying to put a game together.

As you might expect, there’s no shortage of kits and turn-key transmitters that you can buy, but [WhiskeyTangoHotel] wanted to come up with something that could be put together cheaply and easily from hardware the average ham or hacker might already have laying around. The end result is a very capable “fox” that can be built in just a few minutes at a surprisingly low cost. He cautions that you’ll need a ham license to legally use this gadget, but we imagine most people familiar with this particular pastime will already have the necessary credentials.

The heart of this build is one of the fairly capable, but perhaps more importantly, incredibly cheap Baofeng handheld radios. These little gadgets are likely familiar to the average Hackaday reader, as we discussed their dubious legal status not so long ago. At the moment they are still readily available though, so if you need a second (or third…), you might want to pull the trigger sooner rather than later.

Continue reading “Be Vewy Vewy Quiet, We’re Hunting Baofengs”

Hack My House: Garage Door Cryptography Meets Raspberry Pi

Today’s story is one of victory and defeat, of mystery and adventure… It’s time to automate the garage door. Connecting the garage door to the internet was a must on my list of smart home features. Our opener has internet connection capabilities built-in. As you might guess, I’m very skeptical of connecting a device to the internet when I have no control over the software running on it.

The garage door is controlled by a button hung on the garage wall. There is only a pair of wires, so a simple relay should be all that is needed to simulate the button press from a Raspberry Pi. I wired a relay module to a GPIO on the Pi mounted in the garage ceiling, and wrote a quick and dirty test program in Python. Sure enough, the little relay was clicking happily– but the garage door wasn’t budging. Time to troubleshoot. Does the push button still work? *raises the garage door* yep. How about the relay now? *click…click* nope.

You may have figured out by now, but this garage door opener isn’t just a simple momentary contact push button. Yes, that’s a microcontroller, in a garage door button. This sort of scenario calls for forensic equipment more capable than a simple multimeter, and so I turned to Amazon for a USB oscilloscope that could do some limited signal analysis. A device with Linux support was a must, and Pico Technology fit the bill nicely.

Searching for a Secret We Don’t Actually Need

My 2 channel Picotech oscilloscope, the 2204A, finally arrived, and it was time to see what sort of alien technology was in this garage door opener. There are two leads to the button, a ground and a five volt line. When the button is pressed, the microcontroller sends data back over that line by pulling the 5 V line to ground. If this isn’t an implementation of Dallas 1-wire, it’s a very similar concept.

Continue reading “Hack My House: Garage Door Cryptography Meets Raspberry Pi”

The Embroidered Computer

By now we’ve all seen ways to manufacture your own PCBs. There are board shops who will do small orders for one-off projects, or you can try something like the toner transfer method if you want to get really adventurous. One thing we haven’t seen is a circuit board that’s stitched together, but that’s exactly what a group of people at a Vienna arts exhibition have done.

The circuit is stitched together on a sheet of fabric using traditional gold embroidery methods for the threads, which function as the circuit’s wires. The relays are made out of magnetic beads, and the entire circuit functions as a fully programmable, although relatively rudimentary, computer. Logic operations are possible, and a functional schematic of the circuit is also provided. Visitors to the expo can program the circuit and see it in operation in real-time.

While this circuit gives new meaning to the term “wearables”, it wasn’t intended to be worn although we can’t see why something like this couldn’t be made into a functional piece of clothing. The main goal was to explore some historic techniques of this type of embroidery, and explore the relationship we have with the technology that’s all around us. To that end, there have been plenty of other pieces of functional technology used as art recently as well, but of course this isn’t the first textile computing element to grace these pages.

Thanks to [Thinkerer] for the tip!

 

The Complete Beginner’s Guide To Building A CNC Machine

Despite appearances, [This Old Tony]’s latest series has little to do with CNC-ifying an Etch A Sketch. Although he certainly achieves that, more or less, automating the classic toy is just the hook for a thorough lesson in CNC machine building starting with the basics.

Fair warning: we said basics, and we mean it. [Old Tony]’s intended audience is those who haven’t made the leap into a CNC build yet and need the big picture. Part one concentrates on the hardware involved – the steppers, drivers, and controller. He starts with one of those all-in-one eBay packages, although he did upgrade the motion controller to a Mach4 compatible board; still, the lessons should apply to most hardware.

By the end of part one, the Etch A Sketch is connected to two of the steppers and everything is wired up and ready to go for part two, the first part of which is all about inputs and outputs. Again, this is basic stuff, like how relays work and why you might need to use them. But that’s the kind of stuff that can baffle beginners and turn them off to the hobby, so kudos to [Old Tony] for the overview. The bulk of the second part is about configuring Mach4 Hobby, with a ton of detail and some great tips and tricks for getting a machine ready to break some end mills.

For someone looking to get into a CNC build, [Old Tony]’s hard-won CNC experience really fills in the gaps left by other tutorials. And it looks like a third part, dealing with making all this into something more than an automated Etch A Sketch, is in the works. We’re looking forward to that.

Continue reading “The Complete Beginner’s Guide To Building A CNC Machine”

Amplifier Controlled Motorized Display

It’s easy to get jaded by gadgets like the Chromecast or Sonos, which let the user control AV equipment remotely from a mobile device or computer. You can pick something to play from your phone and send it off to your speakers via the magic of Wi-Fi. But it’s still nice to have a display to look at for music visualizations and that sort of thing, at least occasionally.

To address this only occasional desire to have a display on your media setup, you could follow in the footsteps of [Steven Elliott] and create a DIY motorized display which only pops up when needed. Inspired by seeing videos of TVs rising out of cabinets and other such trickery, he decided to create his own version using an old computer monitor he had lying around.

The monitor is lifted with a beefy linear actuator, which has been placed inside of a square metal fence post to keep from rotating. It already had a power supply and control board with relays for extending and retracting, so [Steven] just needed to find a convenient way of firing them off.

The answer came from a somewhat unconventional source: his amplifier. [Steven] explains that many amplifiers feature a “Trigger Output”, which uses a standard stereo 3.5mm connector and sends a 12V pulse to connected device. This is generally used to turn on downstream devices when the amplifier switches to the respective input. It’s too short and not nearly powerful enough to close the actuators relays, but it’s easy enough to detect.

[Steven] uses a LeoStick microcontroller to wait for the pulse from the amplifier, and then use that to raise or lower the display depending on the selected input. There’s also a SPST momentary switch which can be used to trigger the actuator manually. Beyond the fact the linear actuator is a bit loud, he says the setup works very well and prevents him from having to start up his projector if he just wants to take a quick glance at what’s playing or program his DVR.

We don’t see many motorized display lifts like this anymore, not since wall mounted LCDs became popular anyway. But it’s still a cool effect, and today made quite a bit easier thanks to the fact that TVs and monitors no longer weigh as much as a small car.

[Thanks to Baldpower for the tip.]

Adding 3D Printer Power And Light Control To OctoPrint

OctoPrint is a great way to monitor your printer, especially with the addition of a webcam. Using a tablet or mobile phone, you can keep an eye on what the printer is doing from anywhere in the house (or world, if you take the proper precautions), saving you from having to sit with the printer as if it’s an infant. But simply watching your printer do its thing is only a small slice of the functionality offered by OctoPrint’s vast plugin community.

As [Jeremy S Cook] demonstrates, it’s fairly easy to add power control for the printer and auxiliary lighting to your OctoPrint setup. Being able to flick the lights on over the print bed is obviously a big help when monitoring it via webcam, and the ability to turn the printer off can provide some peace of mind after the print has completed. If you’re particularly brave it also means you could power on the printer and start a print completely remotely, but good luck if that first layer doesn’t go down perfectly.

In terms of hardware, you only need some 3.3V relays for the Raspberry Pi running OctoPrint to trigger, and an enclosure to put the wiring in. [Jeremy] uses only one relay in this setup to power the printer and lights at once, but with some adjustment to the software, you could get independent control if that’s something you’re after.

On the software side [Jeremy] is using an OctoPrint plugin called “PSU Control”, which is actually intended for controlling an ATX PSU from the Pi’s GPIO pins, but the principle is close enough to throw a relay. Other plugins exist which allow for controlling a wider away of devices and GPIO pins if you want to make a fully remote controlled enclosure. Plus you can always whip up your own OctoPrint plugin if you don’t find anything that quite meets your switching needs.

[Jeremy] previously documented his unique mount to keep his Raspberry Pi and camera pointed at his printer, which is naturally important if you want to create some cool videos with Octolapse.

Continue reading “Adding 3D Printer Power And Light Control To OctoPrint”

Electromagnetic Field: TIM, A Relay Computer

We are probably all familiar with computing history to the extent that we know the earliest computers were surprisingly simple devices. While early electronic machines such as Colossus or ENIAC were hugely complex racks of tubes, once expressed as a schematic or as a network of logic gates they would be relatively straightforward for today’s electronic engineer to understand their operation. Those who have made an in-depth study of computing history may have heard of the work of Konrad Zuse in the mid-20th century, his relay-based machines predate their fully electronic cousins by several years.

A relay-based computer can be simple enough to be built by a home constructor, and at the recent Electromagnetic |Field hacker camp [Rory Mangles] outlined his TIM relay computer built while he was at school. It’s an engaging story starting from first principles and describing a series of TIM devices from a simple binary adder to the final fully Turing-complete computer. He describes the design process for his ALU, eventually going with a 1-bit serial design to economise on relays.

The machine has a Harvard architecture, with the program pathway consisting of a paper tape from which the code is run directly. The instruction set is called BLT, which of course means Basic Language of Tim, and there is a T++ assembly language. Loops and if statements are handled in a nod to the classical Turing machine by looping the paper tape. The original TIM is a few years old, but he reveals that he’s recently brought it out of storage and added a parallel port. Thus the finale of the talk is a demonstration, printing a “Hello World”.

We’ve placed the full video below the break, meanwhile we were lucky enough that [Rory] brought TIM along to the EMF Hackaday Readers village for our bring-a-hack, so the header image is from when we had a chance to examine it. If you’re curious to know more, he has a web site with some more TIM details.

Continue reading “Electromagnetic Field: TIM, A Relay Computer”