Racing The Beam On An ATtiny

For the last thirty or so years, the demoscene community has been stretching what is possible on computer systems with carefully crafted assembly and weird graphical tricks. What’s more impressive is hand-crafted assembly code pushing the boundaries of what is possible using a microcontroller. Especially small microcontrollers. In what is probably the most impressive demo we’ve seen use this particular chip, [AtomicZombie] is bouncing boing balls on an ATtiny85. It’s an impressive bit of assembly work, and the video is some of the most impressive stuff we’ve ever seen on a microcontroller this small.

First, the hardware. This is just about the simplest circuit you can build with an ATtiny85. There’s an ISP header, a VGA port with a few resistors, a 1/8″ audio jack driven by a transistor, and most importantly, a 40MHz crystal. Yes, this ATtiny is running far faster than the official spec allows, but it works.

The firmware for this build is entirely assembly, but surprisingly not that much assembly. It’s even less if you exclude the hundred or so lines of definitions for the Boing balls.

The resulting code spits out VGA at 204×240 resolution and sixty frames per second. These are eight color sprites, with Alpha, and there’s four-channel sound. This is, as far as we’re aware, the limit of what an ATtiny can do, and an excellent example of what you can do if you buckle down and write some really tight assembly.

Continue reading “Racing The Beam On An ATtiny”

Autodesk Introduces Parametric Part Generation

The hardest part of any PCB design is adding parts and components. You shouldn’t use random part libraries, and creating your own part libraries is just a pain. Why have we endured this pain for so long, especially considering that most components follow a standard? Add in the fact that 3D modeling and rendering a board in a mechanical CAD tool is now a thing, making creating your own part libraries even more involved.

To solve this problem, Autodesk has introduced library.io, a tool to parametrically generate component footprints for Eagle and 3D models for Fusion360. Given that most parts follow a standard — QFP, TO-, DFN, or SOT23 — this is now the easiest way to create a new part in Eagle with its own 3D model that allows you to bring it into mechanical CAD tools.

An overview parametric parts generation is written up on the Autodesk forums, and covers what is possible with this new tool. There are actually two distinct versions, one is a web-based app that allows you to create packages and footprints parametrically in your browser and export them as a library. The other version of the tool is integrated with Eagle and allows you to create a new component parametrically from within Eagle.

This is a far cry from the standard method of creating new footprints. Instead of toiling over a datasheet and dropping correctly sized pads onto a grid, creating a new parametric footprint is as easy as copying a few numbers. In addition to the new parametric design feature, there’s a new tool in Eagle that does away with placing and naming pins for symbols. Now you can simply cut and paste a list of pins from the datasheet.

It should be noted that everything created with the library.io tool can be downloaded and used offline. Combine that with the recent news that KiCad can now ingest Eagle board and schematic files, and you have a way to create parametric footprints in everyone’s favorite Open Source PCB tool as well.

Friday Hack Chat: Everything About The ESP

When the ESP-8266 first arrived, it was a marvel. For two dollars, you could buy a simple module that could serve as a bridge between WiFi networks and microcontroller projects. It understood the Hayes command set, it didn’t use much power, and, as noted before, it only cost two dollars. The idea of cheap and accessible Internet of Things things was right there for the taking.

Then hackers figured out what was actually going on inside the ESP-8266. It was a full-blown microcontroller. There was Lua stuff you could put on it. You could program it with the Arduino IDE. It had WiFi. This was the greatest microcontroller release in the last decade, and it came from a company no one had ever heard of.

Since then, the ESP ecosystem has bloomed, and there’s a new ESP on the block. The ESP-32 is an even more powerful WiFi and Bluetooth-enabled chip that’s just as easy to program, and it costs three dollars. Microcontrollers have never been cooler.

For this week’s Hack Chat, we’re going to be talking all about the ESP. Our guest for this Hack Chat should need no introduction, but if you’re unfamiliar, [Sprite_tm] plays video games on his keyboard and has installed Linux on a hard drive. He also works at Espressif, the company behind the ESP-8266 and ESP-32, where he’s applied his skills towards tiny Game Boys and miniature Macs.

During this week’s Hack Chat, we’re going to be covering everything about the ESP, including peripherals, ultra-low power consumption, SIP packages, and what’s coming up for the ESP family. You are, as always, welcome to submit your questions for [Sprite]; just add those as a comment on the Hack Chat page.

join-hack-chat

Our Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. [Sprite]’s in China, so we’re not doing this one at the usual time: This week, the Hack Chat will happen at 7:00 am, Pacific, Friday, March 9th. Want to know what time this is happening in your neck of the woods? Have a countdown timer!

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io.

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

Detoured: Inside MachineHistories

When designers and architects need a fancy centerpiece, a design element, or even some wall sconces, they don’t head over to the machine shop by themselves. They get someone else, who owns some fancy machines, knows how to use those fancy machines, and can create anything out of wood, foam, or metal to do the fabrication for them. Think of these companies as artisan contractors, capable of turning whatever an architect thinks of into a real, tangible object.

One of these such companies is MachineHistories, a joint venture between [Steven Joyner] and [Jason Pilarsky], who work in the medium of computer code and CNC programming. As part of the SupplyFrame Design Lab’s Detoured series, lead Staff Designer [Majenta Strongheart] takes us along for a tour of MachineHistories to figure out how this collaboration actually works.

This collaboration began at the ArtCenter College of Design where [Steven] and [Jason] spent most of their time working in the shop. Eventually, they realized they didn’t actually need the ArtCenter and decided to sign a lease and strike out on their own. The first tools in their new shop were just a 3-axis CNC and a laser cutter, but MachineHistories gradually expanded to enormous five-axis machines and other incredible tools. These machines are put to work creating works of art for architectural and design installations, ranging from futuristic chairs, fine furniture, to sculptures and even new designs for simple home items.

The skill and craftsmanship that goes into these works of art are beyond compare, but this is a great insight into how all those manufactured panels, design elements, and artistic accents are created, and one that shows you can do anything, provided you have the right tools.

Continue reading “Detoured: Inside MachineHistories”

Badgelife: From 1 To 100

Blame it on the falling costs of printed circuit boards, the increased accessibility of hardware design tools, the fact that GCC works on microcontrollers now, whatever the ‘maker movement’ is, or any one of a number of other factors. There’s a hardware demoscene now. Instead of poking bits, writing code, and dividing by zero to create impressive multimedia demonstrations on a computer, there is a small contingent of very creative people who are building their own physical hardware, just for the hell of it. They’re pushing boundaries of what can be done with hardware design, demonstrating manufacturing know-how, and turning a (small) profit while doing it. This is badgelife, the tiny subculture dedicated to creating custom electronic conference badges.

At Hackaday, we’ve been doing a deep dive into the rigors of this demoscene of hardware, and last week we had the pleasure of hosting a meetup with some of the big players of the badgelife community as guests of honor. There were, of course, talks discussing the trials and tribulations of designing, manufacturing, and shipping hundreds of pieces of hardware on a limited budget with not enough time. If you want to know how hard electronic design and manufacturing can be, you want to check out these talks below. Continue reading “Badgelife: From 1 To 100”

Hackaday Links Column Banner

Hackaday Links: March 4, 2018

Guess what’s happening next weekend? The SoCal Linux Expo. SCALE is in its 16th year, and is the second greatest convention happening this year at the Pasadena Convention Center. The first, of course, is AlienCon this summer, with a special guest appearance by the guy with the hair on Ancient Aliens. What’s cool at SCALE? Tons of stuff! Tindie and Hackaday will have a booth, you’ll be able to check out the new stuff from System 76, and this is where I first picked up my most cherished possession, a Microsoft (heart) Linux sticker. NEED A TICKET? Cool, use the code ‘HACK’ to get 50% off!

[Muth] over on hackaday.io has been working on a very, very, very cool high voltage display. It’s a ИГГ1-64x64M, or a Gazotron, or something. What is it? It’s a two-color (green and red) 64×64 pixel VFD bitmap display. You want the king of all vacuum-based displays? Here you go. Progress on driving this display is slow, but it’s happening, and it will result in the coolest clock ever created.

Need a pick and place machine? Don’t want to shell out thousands for a Neoden? Here’s an Indiegogo campaign for the Open Placer, a machine that works with OpenPNP software. It’s got vision and a 295x195mm working area.

A few months ago, news came from Havana that the US embassy was under attack. Staffers at the US embassy in Cuba were feeling sick and apparently suffered neurological damage. Explanations ranged from poisoning to some sort of non-lethal weapon. Now, there might be a banal explanation. Researchers at the University of Michigan think it could simply be two ultrasonic sensors placed just the right distance apart. Acoustic interference happens, and that inaudible 35kHz signal becomes a maddening audible signal.

Last week, we had a great talk with OSH Park about PCBs. These Hack Chats are getting out of control, but at least we have a transcript. The biggest takeaway? They’re out of jellybeans, but OSH Park is working on new stickers.

Open Hardware Summit is the greatest con for all things Open Hardware. This year, it’s going to be in Boston. The Summit will be held on September 27th, 2018 at MIT Stratton Student Center. If you’d like to get there a week and a half early, the MIT ham flea market is the third Sunday of the month.

Microchip Acquires Microsemi For $8.35B

Microchip has acquired Microsemi for $8.35 Billion dollars. Rumors of this acquisition were floating around earlier this week, but now the deal is done.

This acquisition is the latest in a years-long process of consolidation in the silicon industry. Previously, Broadcom attempted a hostile takeover of Qualcomm for One… Hundred… Billion dollarsLattice would have been bought if the deal wasn’t shut down for national security concerns. Of course, Microchip bought Atmel in a deal likened to the fall of Constantinople, NXP and Freescale merged, Intel bought Altera, Linear and Analog are one, and On Semiconductor acquired Fairchild.

With the acquisition of Microsemi, Microchip will be looking to add a few interesting components and capabilities to their portfolio. In contrast to Microchip’s portfolio, you won’t find many Microsemi parts on a hacker’s workbench; they’re dealing with stuff like optical networking and avionics. Closer to home, they have a large line of FPGAs and some nice frequency synthesizers.

Of course, there are slightly cooler components in Microsemi’s portfolio. If you’ve ever wanted a rad-tolerant telemetry controller for reaction wheels and thruster assemblies, they’ve got your back. Just connect that to Microchip’s rad-hard Arduino and you have a complete satellite built from Microchip parts.