Hackaday guide to Lathes

Preparing For A Lathe: How To Move 3000 Pounds Of Iron

You say to yourself, “Self, I want, nay, need a lathe”. Being a good little trooper, you then did all your research, having chosen Import or American, Imperial or Metric, and all your feed options and such. You then pulled the trigger and the machine is en route to your shop. Now what?

Continue reading “Preparing For A Lathe: How To Move 3000 Pounds Of Iron”

Power Harvesting Challenge: Scavenge Some Power, Win Prizes

It’s a brand new day as the Power Harvesting Challenge begins. This is the newest part of the 2018 Hackaday Prize and we’re looking for 20 entries who will each receive $1,000 and move onto the finals to compete for the top five spots, scoring cash prizes of $50k, $25k, $15k, $10k, and $5k.

Put simply, Power Harvesting is anything you can do that will pull some of the energy you need from a source other than wall-power or traditional battery tech. The most obvious power harvesting technologies are solar and wind. Ditch the battery in your doorbell for a solar panel, or turn your time-lapse camera rig into one that tops its battery with a tiny wind turbine. On the other end of the spectrum you could go nuts with chemistry and develop your own take on harvesting power from saltwater, or sip off the ambient RF waves all around us.

Every Idea Matters

We live in an amazing time as chip manufacturers have squeezed every low power trick out of their silicon dies that they possibly can. The Power Harvesting Challenge is the complement to those achievements: can we now squeeze as much energy out of non-traditional sources as possible to further reduce our energy footprints?

Continue reading “Power Harvesting Challenge: Scavenge Some Power, Win Prizes”

A 100th Birthday Celebration For The Flip Flop

It’s easy to get caught up in the excitement of creation as we’re building our latest widget. By the same token, it’s sometimes difficult to fully appreciate just how old some of the circuits we use are. Even the simplest of projects might make use of elements that were once a mess on some physicist’s or engineer’s lab bench, with components screwed to literal breadboards and power supplied by banks of wet-cell batteries.

One such circuit turns 100 years old in June, which is surprising because it literally is the building block of every computer. It’s the flip-flop, and while its inventors likely couldn’t have imagined what they were starting, their innovation became the basic storage system for the ones and zeros of the digital age.

Continue reading “A 100th Birthday Celebration For The Flip Flop”

It’s UNIX. On A Microcontroller.

It’s difficult to convey in an era when a UNIX-like operating system sits in your pocket, how there was once a time when the mere word was enough to convey an aura of immense computing power. If you ran UNIX, your computer probably filled a room, and you used it for Serious Stuff rather than just checking your Twitter feed. UNIX machines may still perform high-end tasks, but Moore’s Law has in the intervening years delivered upon its promise, and your phone with its UNIX-like OS is far more powerful than that room-sized minicomputer of the 1970s. A single chip for a few cents can do that job, which begs the question: just how little do we need to run UNIX today? It’s something [Joerg Wolfram] could advise you upon, because he’s got a functional UNIX running on a microcontroller.

Of course, the UNIX in question is not exactly the same as the one you’d find on a supercomputer, either in the 1970s or now. Mini UNIX is a minimalist version of the operating system developed by [Heinz Lycklama] at Bell Labs four decades ago. It gives you a complete UNIX V6 system for the DEC PDP-11, but which needs only 56K of RAM, and no MMU. Emulating a PDP-11 on an STM32 microcontroller allows it to run happily, and while it’s not the most minimalist of microcontrollers it’s still a pretty cheap part upon which to run UNIX.

It’s doubtful whether a 1970s version of an operating system on a commodity microcontroller will take the world by storm, but that’s hardly the point of such a neat hack. It’s certainly not the first time we’ve seen similar work, though this PIC32 offering has a little more in the way of resources to offer.

Header image: Golonlutoj [CC BY-SA 3.0].

A Wild Hackaday Belgrade Confirms Status As One Of World’s Greatest Hardware Cons

Hackers, Designers, and Engineers flooded into Dom Omladine on Saturday for what can only be described as an epic celebration of hardware culture. This is the second time Hackaday has organized a huge conference in Belgrade, and lightning really did strike twice.

A Gathering of New Friends and Old

We got things started off with a meetup the night before the conference. The first Hackaday Belgrade was held in 2016 and we didn’t reserve a bar on Friday night — we ended up taking over one just through sheer numbers. This year we called ahead for a large outdoor space, then made good use of it.

Everyone was giddy with anticipation of the next day to come. There is always a sizzling energy of meeting up in real life. Most of this group hangs out on Hackaday.io, but only some of them have met in person. Add to that the reunions of those who became friends at the previous Hackaday Belgrade and at other cons around Europe and you have the feeling of coming home. These really are your people.

Yes, a Conference. But the Cool Kind

Hackaday conferences are more than just parties… they’re conferences. If you approach it the right way you can get your employer on board with you attending because you’re going to meet incredible people, learn lots of stuff, and come back excited to take on the Universe. Actually, bring your boss along for the ride too!

This year we had thirteen incredible talks. As is our practice, we started off with a super-technical talk as Rachel Wong (aka @konichiwakitty) discussed her Ph.D research which involves growing eye tissue in the lab. But like all incredibly brilliant minds, she has a creative outlet which she also covered as part of her Keynote address. Rachel has a passion for building wearables that are reaching for the future by embracing things we really do need in our garments and gear.

From drone monitoring networks to robot soldering machines, and concepts for designing meaningful hardware to using code to automate tedious PCB layout, there was plenty in these talks for everyone.

I really enjoyed Elliot Williams’ talk on Logic Noise for his live demos using simple logic chips to build up complex music. Marcel van Kervinck took us on a journey of TTL computer design. And Sophi Kravitz’s talk on building non-rigid airships had at least two people at the con get inspired and spin their own blimp design during the conference! There was a live-feed of the talks so keep your eye on Hackaday as we pull those out to be featured individually.

Some of the demo hardware: Acoustic levitation for lab work

The workshops were standing room only as people who weren’t able to grab a ticket audited the course. We had three hands-on session that built wearable circuitry, brough art to PCB design, and dove into the world of FPGAs.

Welcome, Here’s Your Neck-Mounted Retro Computer

Everyone through the door received a custom electronic badge to hack on during Hackaday Belgrade. Voja Antonic designed the hardware and oversaw the manufacture. We had excellent yield which is great because we had nearly (if not more than) 100% attendance at the conference. We ended the day with just 5 badges to spare!

Hackaday Belgrade badge and user guide put to use

These handheld computers are truly hot! The badges each have 55 really clicky keys. With at least 350 people in the room, that’s approaching 20k momentary push switches and at one point, a brief “silence” fell and all that could be heard were clicking buttons. That and we asked everyone to play the Mario Overworld tune at the same time as hundreds of badges rose in a glorious chorus. There’s also a 16-page user manual to go along with them which included sample code to get started.

Hacking went on throughout the day but as the talk session wrapped up we transformed the hall into a Hacker Village. Tables were brought in and immediately filled. Live music filled the room as Bogdan Rosu and Richard Hogben each played IDM sets. If you’ve been watching Hackaday videos you’ve heard their work and their performances this night were epic.

There was food, there was beer, and there were the tools of our lifestyle; laptops, programmers, jumper wires, blinky add-ons, and the excitement that goes along with all of them. The badge hacking presentations began at midnight and the place was still alive with excitement. It is truly great to see how supportive our community is of exploring hardware and trying things out. Publish your badge hacks and stories from the conference on Hackaday.io as we’ll be featuring those in the coming days and want to make sure we have all the juicy details.

Why Belgrade?

Keep your eye on Hackaday as there is much more coverage to come on this wonderful event. Many have asked: “Why Belgrade?”. It’s a fantastic city and the engineering community in the area is passionate about getting together to learn and share ideas. This includes the Supplyframe engineers who live in Belgrade and did the heavy lifting to organize and staff Hackaday Belgrade. You all did an amazing job and everyone at the con owes you a debt of gratitude, thank you so much! We also want to thank Supplyframe and SevenBridges, our sponsors for the event.

To all who attended, it wouldn’t have happened without you! I can speak for everyone on the Hackaday crew in saying the culture we share is energizing, encouraging, and humbling. It’s exactly the kind of recharge everyone looks for to keep life interesting! We’ll see you at the next one. Now over the next five months we have our sights set on the Hackaday Superconference. See you there!

Modular Robotics Made Easier With ROS

A robot is made up of many hardware components each of which requires its own software. Even a small robot arm with a handful of servo motors uses a servo motor library.

Add that arm to a wheeled vehicle and you have more motors. Then attach some ultrasonic sensors for collision avoidance or a camera for vision. By that point, you’ve probably split the software into multiple processes: one for the arm, another for the mobility, one for vision, and one to act as the brains interfacing somehow with all the rest. The vision may be doing object recognition, something which is computationally demanding and so you now have multiple computers.

Break all this complexity into modules and you have a use case for ROS, the Robot Operating System. As this article shows, ROS can help with designing, building, managing, and even evolving your robot.

Continue reading “Modular Robotics Made Easier With ROS”

Reverse-Emulating NES: Nintendception!

This is a stellar hack, folks. [Tom7] pulled off both full-motion video and running a Super Nintendo game on a regular old Nintendo with one very cute trick. And he gives his presentation of how he did it on the Nintendo itself — Nintendo Power(point)! The “whats” and the “hows” are explained over the course of two videos, also embedded below.

In the first, he shows it all off and gives you the overview. It’s as simple as this: Nintendo systems store 8×8 pixel blocks of graphics for games on their ROM cartridges, and the running program pulls these up and displays them. If you’re not constrained to have these blocks stored in ROM, say if you replaced the cartridge with a Raspberry Pi, you could send your own graphics to be displayed.

He demos a video of a familiar red-haired English soul-pop singer by doing just that — every time through the display loop, the “constant” image block is recalculated by the Raspberry Pi to make a video. And then he ups the ante, emulating an SNES on the Pi, playing a game that could never have been played on an NES in emulation, and sending the graphics block by block back to the Nintendo. Sweet!

The second video talks about how he pulled this off in detail. We especially liked his approach to an epic hack: spend at least a day trying to prove that it’s impossible, and when you’ve eliminated all of the serious show-stoppers, you know that there’s a good chance that it’ll work. Then, get to work. We also learned that there were capacitors that looked identical to resistors used in mid-80s Japan.

These are long videos, and the first one ends with some wild speculation about how a similar human-brain augmentation could take a similar approach, replacing our “memories” with computed data on the fly. (Wait, what?!? But a cool idea, nonetheless.) There’s also another theme running through the first video about humor, but frankly we didn’t get the joke. Or maybe we just don’t know what’s funny. Comments?

None of that matters. A SNES game was played in an NES by pushing modified graphics from a “ROM” cartridge in real-time. And that’s awesome!

If you want more Nintendo-in-Nintendo goodness, check out this NES ROM that’s also a zip file that contains its own source code. If you compile the source, you get the zip file, which if you unzip gives you the source to compile. Right?

Continue reading “Reverse-Emulating NES: Nintendception!”