Chip Shortage Engineering: Misusing DIP Packages

After years of seeing people showing off and trading their badge Simple Add-Ons (SAOs) at Supercon, this year I finally decided to make one myself. Now for a first attempt, it would have been enough to come up with some cool PCB art and stick a few LEDs on it. But naturally I started with a concept that was far more ambitious than necessary, and before long, had convinced myself that the only way to do the thing justice was to have an onboard microcontroller.

My first thought was to go with the venerable ATtiny85, and since I already had a considerable stock of the classic eight-pin DIP MCUs on hand, that’s what I started prototyping with. After I had something working on the breadboard, the plan was to switch over to the SOIC-8 version of the chip which would be far more appropriate for something as small as an SAO.

Unfortunately, that’s where things got tricky. I quickly found that none of the major players actually had the SMD version of the chip in stock. Both DigiKey and Mouser said they didn’t expect to get more in until early 2024, and while Arrow briefly showed around 3,000 on hand, they were all gone by the time I checked back. But that was only half the problem — even if they had them, $1.50 a piece seems a hell of a lot of money for an 8-bit MCU with 8K of flash in 2023.

The whole thing was made all the more frustrating by the pile of DIP8 ATtiny85s sitting on the bench, mocking me. Under normal circumstances, using them in an SAO wouldn’t really be a problem, but eight hand-soldered leads popping through the front artwork would screw up the look I had in mind.

While brooding over the situation my eyes happened to fall on one of the chips I had been fiddling with, it’s legs badly bent from repeated trips through the programmer. Suddenly it occurred to me that maybe there was a way to use the parts I already had…

Continue reading “Chip Shortage Engineering: Misusing DIP Packages”

At Last! Faster OpenSCAD Rendering Is On The Horizon

Known as “The Programmers Solid 3D CAD Modeller”, OpenSCAD is used by many people for whom writing code comes more naturally than learning a fiddly user interface. It’s a very capable piece of software, but regular users will tell you that it can be rather slow when it comes to rendering your work. We’re very pleased to see that a fix for this has been produced courtesy of [@ochafik], can now be found as an experimental feature in nightly builds, and will in due course no doubt find its way to official releases.

Despite a modern computer invariably having a multi-core architecture, it might surprise you to find that OpenSCAD wasn’t able to take advantage of this previously. The above-linked thread spans over a decade of experimenting and contains some fascinating discussions if you’re prepared to wade through it, and culminates a few weeks ago in the announcement of the new feature giving access to multiple CPUs. We don’t have it yet, but it’s great to know it’s in the works and we’re looking forward to render time involving considerably less of a wait.

So many OpenSCAD projects have passed through these pages over the years, it’s safe to say that it has a significant user base among Hackaday readers. It’s still something an AI hasn’t mastered yet though.

Thanks [pca006132] for the tip.

Femtosecond Laser Clones Itself In Glass

When researchers at the Galatea laboratory in Switzerland set out to create a femtosecond laser in glass they weren’t certain it was going to work. To be precise, their goal was to create a femtosecond laser cavity using carefully aligned optics. Rather than using the traditional, discrete method, they used a commercial femtosecond laser to carve out the elements of the optical cavity in glass. The choice for glass came down to the low thermal expansion of this material, and it being transparent for the optical frequencies being targeted.

Generic concept of an “all-glass” optical device, with the various stages of fabrication. (Credit: Antoine Delgoffe et al., 2023)
Generic concept of an “all-glass” optical device, with the various stages of fabrication. (Credit: Antoine Delgoffe et al., 2023)

Even after using the existing laser to create the rough laser cavity, the resulting optical mirrors were not aligned properly, but this was all part of the plan.

By also adding slots that created a flexure mechanism, brief laser pulses could be used to gradually adjust the mirrors to create the perfect alignment. During subsequent testing of the newly created laser cavity it was found to be operating as expected. The original femtosecond laser had successfully created a new femtosecond laser.

Perhaps the most tantalizing aspect of this research is that this could enable much faster and ultimately cheaper production of such laser systems, especially once the tedious and currently completely manual mirror alignment procedure is automated. In addition, it raises the prospect of producing other types of optics including splitters and guides in a similar manner.

Computer Space Replica Is Up And Running

You never forget your first time — watching someone pour several quid’s worth of 10p pieces into a Space Invader machine in 1978, upsetting for a youngster who wanted to have a turn. We’re still waiting, but [Alston] has found an interesting way to get around those arcade video game hoggers by building a replica of Computer Space, the first commercial arcade video game.

Released in 1971, the groundbreaking game was designed by gaming legends [Nolan Bushnell] and [Ted Dabney], and came in a striking curvy fiberglass case that was molded by a manufacturer of swimming pools. [Alston] hasn’t built the case yet, but he does have the electronics up and running.

The electronics of Computer Space are interesting, because there is no microprocessor in there. Instead, it is built from discrete components. [Nolan] had originally planned to use a mini computer called the Data General Nova 800. However, he realized that he could make it cheaper by building it out of discrete components. As [Nolan] described it in an oral history at the Smithsonian [PDF link], the idea came to him after a post-Thanksgiving dinner nap:

“Screw the minicomputer. Get rid of it. Do it all in hardware. Make the game out of this collection, just make it a simple state machine. And the minute that happened, it was like knife through butter. Not only did I get the cost down, but what was budgeted for $1,500 worth of minicomputer, the whole damn computer cost me less than $300 in glue parts. So, I knew that I had something.”

That decision makes it an interesting project to build a replica. Although you can emulate it on a modern computer easily (there is even a version that runs in CSS in the browser). [Alston] is going the hard route, building replica PCBs and using the same components where possible, helped by people who have documented it. So far, the boards are and running and displaying a grainy, pixelated image on a portable TV.

The next step is to take the replica electronics box he has built and make a cabinet to put it into. That’s a big project, and [Alston] is looking for someone with an original cabinet that he can examine and document.

The Path To Profiling Extraterrestrial Atmospheres With Astrophotonics

A major part of finding extraterrestrial life is to be able to profile the atmosphere of any planets outside of our solar system. This is not an easy task, as these planets are usually found through the slight darkening of their star as they pass in front of it (transition). Although spectroscopy is the ideal way to profile the chemical composure of such a planet, having a massive, extremely bright star right next to the planet is more than enough to completely overpower the faint light reflecting off the planet’s surface and through its atmosphere. This is a major issue that the upcoming Habitable Exoplanet Imaging Mission (HabEx, also called the Habitable Worlds Observatory, or HWO) hopes to address using a range of technologies, including a coronagraph that should block out most of the stellar glare.

While this solves much of the issue, there are still a range of issues which the new field of astrophotonics seeks to address, as detailed in a recent paper by Nemanja Jovanovic and colleagues. This involves not only profiling chemical compositions, but also increasing the precision when monitoring for planet transit events using e.g. semiconductors-based laser frequency combs. These are generally combined with a spectral flattener, which in experimental on-chip form are significantly less bulky than previous setups, to the point where they don’t necessarily have to be Earth-based.

Continue reading “The Path To Profiling Extraterrestrial Atmospheres With Astrophotonics”

2023 Halloween Hackfest: Ouija Robot Is Even Creepier Than The Real Thing

When you’re a kid, nothing says spooky like turning off the lights and bringing out the Ouija board. For decades, this mystifying oracle has purported to channel the dead by spelling out messages using a board with numbers, letters, yes/no, and a heart-shaped windowed bit of plastic called a planchette.

While the action of a standard Ouija board owes itself to something called the ideomotor phenomenon, this motorized Ouija robot by [Ronald McCollum] is powered by tweets.

That’s right, the mannequin hand uses the planchette to spell out the tweets with a rather crisp snap of the wrist. [Ronald] impressively coded all the positions by hand, with each letter being comprised of both a hand position and planchette position.

This project utilizes both an Adafruit Crickit board and a Raspberry Pi, mostly because [Ronald] wanted to use the Crickit for something, and added the Pi to spell out the tweets on the display in real time. Check it out in action after the break, and stick around for a bonus video of the numbers being laser-cut.

Speaking of creepy motion, here’s a refrigerator clock that uses those colorful alphanumeric magnets.

Continue reading “2023 Halloween Hackfest: Ouija Robot Is Even Creepier Than The Real Thing”

Two hands hold an electric motor rotor and a 3D printed coil structure next to each other. A multimeter in the background displays 297.0 mV.

ModuCoil – A Modular Coil For Motor And Generator Projects

While renewable energy offers many opportunities for decentralizing energy production, it can sometimes feel that doing so on a truly local level remains unachievable with increasingly large utility-scale deployments re-centralizing the technology. [AdamEnt] hopes to help others seize the means of energy production with the development of the ModuCoil.

This modular coil is intended to be used in motor and generator applications, and features a 3D printed structure to wind your copper about as well as a series of ferromagnetic machine screws and nuts meant to boost the field strength. This project really emphasizes the rapid part of rapid prototyping with this version 2 of the coil following only a week after the first.

[AdamEnt] only reached a peak of ~600 mV in the short test of a single coil, but is optimistic the current design could hit 1V/coil given a fully wound coil actually affixed to something instead of just held in his hand. It’s definitely early stages, but we think this could be the start of an interesting ecosystem of motor and generator designs.

If you want to learn more about how those big wind turbines work, look here, or you could check out a 3D printed brushless motor, or where all that copper comes from anyway.

Continue reading “ModuCoil – A Modular Coil For Motor And Generator Projects”