How Small Can The ESP32 Get?

At its core, the ESP32 chip is not much more than an integrated circuit, a huge mass of transistors sealed inside an epoxy resin package with some leads. Of course, most of us won’t buy discrete ESP32 chips with no support circuitry since it’s typically easier and often not that much more expensive to get them paired with development boards of some type for easy access to things like USB and GPIO. But these tiny chips need little in the way of support to get up and running as [Paul] demonstrates with this tiny ESP32 board.

The project started as a challenge for [Paul] to build the smallest ESP32 that would still function. That means carving away nearly everything normally found accompanying one of these chips. There is no charging circuitry, only one of the GPIO pins is accessible, and it even foregoes the WiFi antennas which eliminates the major reason most people would reach for this chip in the first place. But at this form factor even without wireless capabilities it still blows other chips of this stature, like the ATtiny series, out of the water.

Even though [Paul] built it as a challenge, it goes a long way to demonstrate what’s really needed to get one of these chips up and running properly. And plenty of projects don’t need a ton of I/O or Wi-Fi either, so presuming these individual chips can be found cheaply and boards produced for various projects its an excellent way to minimize size and perhaps even power requirements. You can make these boards even smaller than a USB-A connector if you want to take this process even further, too.

Continue reading “How Small Can The ESP32 Get?”

Programming A Poker Game With GPT Help

Although ChatGPT generated a huge amount of hype around replacing white collar workers completely when it was first released to the public, the general consensus now is that it won’t outright replace anyone yet, but rather people who know how to use it as a tool will replace those who don’t. Getting started with it is not too hard, either, but you’ll of course need a project to work on to familiarize yourself with the tool. [Volos Projects] gave himself the challenge of writing a poker game using ChatGPT not as the opposing player, but as a co-designer in order to learn more about it as an assistant.

The poker game is being built on an ESP32 board with a built-in AMOLED screen. Five buttons are wired to the microcontroller to allow the player to select which cards to discard and which to keep. The bet for each hand can be raised or lowered much like the tabletop poker games often seen in bars and restaurants. To program it, though, ChatGPT was used to help design the code at each step of the way, first describing the overall goal and then building each function one-by-one like shuffling the deck, dealing the hand, and then replacing and dealing new cards.

For anyone who hasn’t yet explored using ChatGPT to help design their programming projects, this effort goes a long way to showing just how useful a tool it can be. For more complex tasks, though, it does take a little bit of knowledge on the part of the user because ChatGPT can often turn out nonsense or factually inaccurate information, but at least in a programming environment you’ll generally find out quickly when that happens. It’s not just a useful tool for writing programs, either. It can accomplish a lot of ancillary tasks related to programming as well, even if it’s not writing the code directly.

Thanks to [Peter] for the tip!

Continue reading “Programming A Poker Game With GPT Help”

2023 Cyberdeck Challenge: The Best Decks On The Net

It was an easy decision to run a Cyberdeck Challenge in 2023 — after all, it was far and away one of our most popular contests from last year. But what was much harder was sorting out the incredible array of bespoke computers that readers have been sending in for the last few months.

Our judges have painstakingly whittled down the list of entries to get our top three winners, each of which will be awarded $150 in credit from the good folks over at DigiKey. But there were simply too many fantastic custom computers in the running to let everyone else go home empty-handed, so we’ve decided to also break out some $50 Tindie gift cards for the decks that best exemplified this year’s special categories.

Without further ado, let’s take a tour through the judge’s top picks for this year’s Cyberdeck Challenge!

Continue reading “2023 Cyberdeck Challenge: The Best Decks On The Net”

Transistor Radio Repair, More Complex Than It Seems

The humble transistor radio is one of those consumer devices that stubbornly refuses to go away, but it’s fair to say that it’s not the mover and shaker in the world of electronics it might once have been. Thus it’s also not a staple of the repair bench anymore, where fixing a pocket radio might have been all in a day’s work decades ago now they’re a rare sight. [David Tipton] has a Philips radio from we’re guessing the later half of the 1960s which didn’t work, and we’re along for the ride as he takes us through its repair.

It’s an extremely conventional design of the era, with a self-oscillating mixer, 455 kHz IF amplifier, and class AB audio amplifier. The devices are a little archaic by today’s standards, with comically low-gain germanium transistors and passives from the Ark. Injecting a signal reveals that the various stages all work, but that mixer isn’t oscillating. A lot of fault-finding ensues, and perhaps with a little bit of embarrassment, he eventually discovers a blob of solder shorting a collector resistor to ground. All isn’t over though, for the volume pot is also kaput. Who knew that the track from a modern component could be transplanted into one from the 1960s?

Continue reading “Transistor Radio Repair, More Complex Than It Seems”

Where Did Electronic Music Start?

A culture in which it’s fair to say the community which Hackaday serves is steeped in, is electronic music. Within these pages you’ll find plenty of synthesisers, chiptune players, and other projects devoted to synthetic sound. Not everyone here is a musician of obsessive listener, but if Hackaday had a soundtrack album we’re guessing it would be electronic. Along the way, many of us have picked up an appreciation for the history of electronic music, whether it’s EDM from the 1990s, 8-bit SID chiptunes, or further back to figures such as Wendy Carlos, Gershon Kingsley, or Delia Derbyshire. But for all that, the origin of electronic music is frustratingly difficult to pin down. Is it characterised by the instruments alone, or does it have something more specific in the music itself? Here follows the result of a few months’ idle self-enlightenment as we try to get tot he bottom of it all.

Will The Real Electronic Music Please Stand Up?

Page from the Telharmonium patent, showing the tone wheels
If you own a synthesiser, the Telharmonium is its daddy.

Anyone reading around the subject soon discovers that there are several different facets to synthesised music which are collectively brought together under the same banner and which at times are all claimed individually to be the purest form of the art. Further to that it rapidly becomes obvious when studying the origins of the technology, that purely electronic and electromechanical music are also two sides of the same coin. Is music electronic when it uses an electronic instrument, when electronics are used to modify the sound of an acoustic instrument, when it is sequenced electronically often in a manner unplayable by a human, or when it uses sampled sounds? Is an electric guitar making electronic music when played through an effects pedal?

The history of electronic music as far as it seems from here, starts around the turn of the twentieth century, and though the work of many different engineers and musicians could be cited at its source there are three inventions which stand out. Thaddeus Cahill’s tone-wheel-based Telharmonium US patent was granted in 1897, the same year as that for Edwin S. Votey’s Pianola player piano, while the Russian Lev Termen’s Theremin was invented in 1919. In those three inventions we find the progenital ancestors of all synthesisers, sequencers, and purely electronic instruments. If it appears we’ve made a glaring omission by not mentioning inventions such as the phonograph, it’s because they were invented not to make music but to record it. Continue reading “Where Did Electronic Music Start?”

Building Up Unicode Characters One Bit At A Time

The range of characters that can be represented by Unicode is truly bewildering. If there’s a symbol that was ever used to represent a sound or a concept anywhere in the world, chances are pretty good that you can find it somewhere in Unicode. But can many of us recall the proper keyboard calisthenics needed to call forth a particular character at will? Probably not, which is where this Unicode binary input terminal may offer some relief.

“Surely they can’t be suggesting that entering Unicode characters as a sequence of bytes using toggle switches is somehow easier than looking up the numpad shortcut?” we hear you cry. No, but we suspect that’s hardly [Stephen Holdaway]’s intention with this build. Rather, it seems geared specifically at making the process of keying in Unicode harder, but cooler; after all, it was originally his intention to enter this in last year’s Odd Inputs and Peculiar Peripherals contest. [Stephen] didn’t feel it was quite ready at the time, but now we’ve got a chance to give this project a once-over.

The idea is simple: a bank of eight toggle switches (with LEDs, of course) is used to compose the desired UTF-8 character, which is made up of one to four bytes. Each byte is added to a buffer with a separate “shift/clear” momentary toggle, and eventually sent out over USB with a flick of the “send” toggle. [Stephen] thoughtfully included a tiny LCD screen to keep track of the character being composed, so you know what you’re sending down the line. Behind the handsome brushed aluminum panel, a Pi Pico runs the show, drawing glyphs from an SD card containing 200 MB of True Type Font files.

At the end of the day, it’s tempting to look at this as an attractive but essentially useless project. We beg to differ, though — there’s a lot to learn about Unicode, and [Stephen] certainly knocked that off his bucket list with this build. There’s also something wonderfully tactile about this interface, and we’d imagine that composing each codepoint is pretty illustrative of how UTF-8 is organized. Sounds like an all-around win to us.

Intel’s Chips Light The Way To Faster Processor Arrays

It’s very likely indeed that whatever you are reading this on will have a multi-core processor. They’re now the norm, but the path to they octa-or-more-core chip in your phone has gone from individual processors with PCB interconnects through many generations of ever faster on-chip ones.

But what if your power needs are so high-end that you need more cores that can be fitted on one chip, but without the slow PCB interconnect to another? If you’re Intel, you develop a multi-core processor with an on-chip photonic interconnect. It talks to the neighboring ones in its cluster at full speed, via light.

The chip in question isn’t one you’ll see in a machine near you, instead it’s inspired by the extremely demanding requirements for DARPA’s HIVE graph analytics program. So this is a machine for supercomputers in huge data centers rather than desktop computers, it will be assembled into multi-die packages with that chip-to-chip optical networking built in. But your computer today is the equal of a supercomputer from not that many years ago, so never say you won’t one day be using its descendant technologies.