Friday Hack Chat: Crypto Challenge

It’s the middle of August, and that means all the hackers are back from DEF CON, safe in their hoodies, with memories of smoke-filled casinos, interesting talks, and, most importantly, crypto challenges.

This year was an ‘off’ year for DEF CON. There was an official badge, but it wasn’t electronic (which no one expected), and there was no crypto challenge (which no one saw coming). Nevertheless, there was already a vibrant community of badge builders, and the crypto nerds of DEF CON were satisfied by PCB locks from the Crypto and Privacy village, Benders, and Darknet phone dials this year.

How were these crypto challenges constructed? That’s the subject of this week’s Hack Chat. This Friday, we’re going to be sitting down with a member of DEF CON’s Crypto and Privacy village on how these curious codes are constructed, how a winner is determined, and the techniques used to solve these challenges.

This week, we’ll be talking about how crypto challenges actually work, how to put crypto in firmware, on laser-engraved acrylic plates, and in silkscreen on a PCB. We’ll be talking about how crypto challenges are created, and how you solve them. Special attention will be paid to testing a crypto challenge; that is, how do you make sure it’s solvable when you already know how to solve it?

Although this Hack Chat is only going to last an hour, there’s no possible way we could cover all the tips, tricks, and techniques of creating a crypto challenge in that time. If you’d like some further reading, [L0sT] showed up at our 10th anniversary party to tell us he created the puzzles for DEF CON over the last few years.

Here’s How To Take Part:

join-hack-chatOur Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This Hack Chat will take place at noon Pacific time on Friday, August 11th. Don’t know when the Earth’s sun will be directly overhead? Here’s a time and date converter!

Log into Hackaday.io, visit that page, and look for the ‘Join this Project’ Button. Once you’re part of the project, the button will change to ‘Team Messaging’, which takes you directly to the Hack Chat.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about.

Retrotechtacular: The Bell Laboratory Science Series

For those of a certain vintage, no better day at school could be had than the days when the teacher decided to take it easy and put on a film. The familiar green-blue Bell+Howell 16mm projector in the center of the classroom, the dimmed lights, the chance to spend an hour doing something other than the normal drudgery — it all contributed to a palpable excitement, no matter what the content on that reel of film.

But the best days of all (at least for me) were when one of the Bell Laboratory Science Series films was queued up. The films may look a bit schlocky to the 21st-century eye, but they were groundbreaking at the time. Produced as TV specials to be aired during the “family hour,” each film is a combination of live-action for the grown-ups and animation for the kiddies that covers a specific scientific topic ranging from solar physics with the series premiere Our Mr. Sun to human psychology in Gateways to the Mind. The series even took a stab at explaining genetics with Thread of Life in 1960, an ambitious effort given that Watson and Crick had only published their model of DNA in 1953 and were still two years shy of their Nobel Prize.

Produced between 1956 and 1964, the series enlisted some really big Hollywood names. Frank Capra, director of Christmas staple It’s a Wonderful Life, helmed the first four films. The series featured exposition by “Dr. Research,” played by Dr. Frank Baxter, an English professor. His sidekick was usually referred to as “Mr. Fiction Writer” and first played by Eddie Albert of Green Acres fame. A list of voice actors and animators for the series reads like a who’s who of the golden age of animation: Daws Butler, Hans Conried, Sterling Halloway, Chuck Jones, Maurice Noble, Bob McKimson, Friz Freleng, and queen and king themselves, June Foray and Mel Blanc. Later films were produced by Warner Brothers and Walt Disney Studios, with Disney starring in the final film. The combined star power really helped propel the films and help Bell Labs deliver their message.

Continue reading “Retrotechtacular: The Bell Laboratory Science Series”

New Release Makes EAGLE And Fusion 360 Besties

The latest release of EAGLE builds a bridge between mechanical design and electronic design. Version 8.3 rolls in the ability to synchronize between EAGLE and Fusion 360. You can now jump between mechanical design and PCB layout without the need for extra steps in between. This is the first release of EAGLE that highlights what the Autodesk purchase actually means.

Just over a year ago, Autodesk bought EagleCAD which is one of the more popular PCB design suites for students, electronic hobbyists, and Open Hardware engineers. While there were some questions about the new license structure of EAGLE under the Autodesk banner, there was a promise of a faster development schedule and the possibility for integration of EAGLE with Autodesk’s CAD programs. Now it’s finally time for EAGLE and Fusion 360 to become besties.

The EAGLE and Fusion 360 integration update includes an online library editor with managed libraries. These online libraries are the ‘cloud’ solution to a folder full of custom EAGLE libraries filled with parts. These libraries package 3D models with the EAGLE libraries, simplifying mechanical design. You can place components on your PCB, then pull that layout into Fusion 360 to see how the board will work with your enclosure. Component placements that collide with the enclosure can be adjusted in Fusion before jumping back to EAGLE to fix the routing.

Embedded passive designs. The resistors *are* the PCB.

There are a few other interesting items in the release notes for EAGLE 8.3. At the top of the list is a new ‘board shape’ object. This is more than just a milling layer for a board outline — the board shape object can now be checked with DRC to ensure components aren’t too close to an edge. This also allows for new features like customizable cutouts and embedded passive designs, or putting resistors and caps in the layers of a PCB instead of placing them as discrete components.

With this release, there is a new Single Layer Mode. This mode only highlights the active layer of the PCB, leaving all other layers grayed out. To be honest, this feature should have been in EAGLE ten years ago, but late is better than never.

For the last year, those of us not complaining about the new EAGLE licensing situation have been watching the updates to EAGLE creep out of Autodesk. There has been a lot of speculation on what Autodesk would bring to the table when it comes to electronic design. This is it. It looks like Autodesk is fulfilling their promise to integrate electronic and mechanical design. The latest EAGLE release looks great, especially with the addition of walk-around routing and something resembling push and shove traces added earlier this year, combined with this update for the mechanical side of design projects.

You can check out a promo video from Autodesk of the new EAGLE release below.

Continue reading “New Release Makes EAGLE And Fusion 360 Besties”

Get Inside A TCXO Clock Chip

[Pete] wondered how real-time clock modules could be selling on eBay for $1.50 when the main component, the Maxim DS3231 RTC/TCXO chip, cost him more like $4 apiece. Could the cheap modules contain counterfeit chips?

Well, sure they could. But in this case, they didn’t, and [Pete] has the die shots to prove it. He started off by clipping the SOIC leads rather than desoldering — he’s not going to be reusing this chip after he’s cut it in half. Next was a stage of embrittling the case by heating it up with a lighter and dunking it in water. Then he went at it with sandpaper.

It’s cool. You can see the watch crystal inside, and all of the circuitry. The DS3231 includes a TCXO — temperature-corrected crystal oscillator — and it seems to have a bank of capacitors that it connects and disconnects depending on the chip’s temperature to keep the oscillator running at the right speed. [Pete] used one in an offline situation, and it only lost sixteen seconds over a year, so we’d say that they work fine.

If you’d like to know more about how crystals are used to keep time, check out [Jenny]’s excellent article. And if sixteen second per year is way too much for you, tune up your rubidium standard and welcome to the world of the time nuts.

The Sensors Automating Your Commute

In a bout of frustration I recently realized that the roads have all updated — most people have no idea how — and this sometimes hurts the flow of traffic. This realization happened when an unfortunate person stopped in a left turn lane well before the stop line. The vehicle didn’t trigger the sensor, so cycle after cycle went by and the traffic system never gave the left turn lane a green light, thinking the lane was unoccupied. Had the driver known about this the world would have been a better place. The first step in intelligent automation is sensing, and there are a variety of methods used to sense traffic’s flow.

Continue reading “The Sensors Automating Your Commute”

Simple hydraulics using syringes

Super Simple Hydraulics Using Syringes

When making a toy excavator arm, or any robotic arm, the typical approach is to put motors at the joints, or if there isn’t room, to put the motors somewhere else and transfer the force using fishing line and pulleys. [Navin Khambhala] chose instead to do it more like the real excavators, with hydraulics using syringes. And we have to admit, the result it pretty elegant in its simplicity.

The syringes do the job of single-acting hydraulic actuators, one at the motor and the other where the force is needed. In between them, what appears to be clear vinyl tubes carry the fluid between syringes. 12 volt DC motors with bolts on them move nuts attached to the syringe pistons to push and pull the pistons. It is so simple that no further explanation is needed, though like most apparently simple things, we’re sure a lot of effort went into making it that way. The video below shows the finished product, as well as walks through the making of it.

Continue reading “Super Simple Hydraulics Using Syringes”

Laser Cut Enclosures From Eagle Files

Once a project is finished, it might still need a decent enclosure. While it’s possible to throw a freshly soldered PCB in a standard enclosure, or piece of Tupperware, or cardboard box, these options don’t have the fit and finish of something custom-made. If you have a laser cutter sitting around, it’s a simple matter to cut your own enclosure, but now that process is much easier thanks to [Ray]’s latest project.

Since [Ray] was already using Eagle to design his PCBs, it seemed like a short step to using the Eagle files to design the enclosure as well. The script runs from those files and creates everything necessary to send to the laser cutter for manufacturing. Right now, [Ray] points out that the assembly time for each enclosure can be high, and this method might not be suited for large numbers of enclosures. Additionally, some of the calculations still need to be done by hand, but there are plans to automate everything in the future.

For single projects, though, this script could cut a lot of time off of designing an enclosure and building it from scratch, and could also help improve aesthetics over other options like 3D printed enclosures. Of course, if you have a quality 3D printer around but no laser cutter, there are options for custom enclosures as well.