MNIST Clock Uses Famous Training Database

When training neural networks to recognise things, what you need is a big pile of training data. You then need a subsequent pile of testing data to verify that the network is working as you’d expect. In the field of handwriting recognition, the MNIST database is commonly used to train networks on handwritten numerals. After [Evan Pu] mentioned it would be fun to use this data to create a clock, [Dheera Venkatraman] got down to work.

The original sketch which inspired the build.

The MNIST database contains 60,000 training images, and 10,000 test images. [Dheera] selected an ESP32 to run the project, which packs 4MB of flash storage – more than enough to store the testing database at 196 bytes per numeral. This also gives the project network connectivity, allowing the clock to use Network Time Protocol to stay synchronised – thus eliminating the need for an external RTC. Digits are displayed on four separate e-ink displays, which fits well with the hand-drawn aesthetic. It also means the clock doesn’t unduly light up the room at night.

It’s a fun project that will likely draw a knowing chuckle from those working in the field of handwriting recognition. We’d love to have one on our desk, too. If you’re thinking of attempting a build yourself, check out our recent contest for more inspiration!

Everything You Wanted To Know About 3D Printing Support But Were Afraid To Ask

At the dawn of 3D printing, support structures were something to avoid. ABS is a hard substance to clear off, and the slicers did a comparatively poor job of making structures that were easy to remove. Today, supports are not a big deal and most of the slicers and materials allow for high-quality prints with supports. We were printing something with supports the other day and noticed that Cura has a support floor and roof function. Curious, we did a quick search and found this very comprehensive post about the current state of support.

With 25 topics in the table of contents, this isn’t a 3-minute read. Of course, you might wish to skip over some of the first parts if you get why you need support and understand the basic ideas. We became more interested when we reached the geometry section.

Continue reading “Everything You Wanted To Know About 3D Printing Support But Were Afraid To Ask”

Adding A Digital Readout To A Wood Lathe

The benefit of living in the modern era is that there are plenty of affordable machine tools on the market for the budding maker. However, to meet lower price points, products often forgo some of the nice-to-have features that make working easier. Of course, if you’ve got the skills to do it yourself, this needn’t be a problem, as [Zach] demonstrates.

[Zach] enjoyed using his wood lathe, but it didn’t come with a digital readout. Thankfully, retrofitting one was an easy, straightforward project. After a little research, a Hall effect sensor was chosen to detect the rotational speed of the lathe. The spindle was thus fitted with several magnets to trigger the sensor, allowing for higher resolution than just using a single device. An Arduino Nano was then used to monitor the output of the Hall effect sensor, displaying the rotational speed on a set of 7-segment displays. The project was then given its own custom PCB, and a nice 3D printed enclosure to fit it to the body of the lathe.

It’s a project that shows how easy it is to add functionality to basic machine tools using maker components. It also serves to demonstrate the value in giving a project a proper enclosure, to enable it to survive in a workshop environment. We’ve seen other hacky DRO mods before, too. Video after the break.

Continue reading “Adding A Digital Readout To A Wood Lathe”

MQTT And The Internet Of Conference Badges

Today, nearly every modern consumer device wants to connect to the Internet for some reason. From your garage door opener to each individual smart bulb, the Internet of Things has arrived in full force. But the same can’t be said for most of our beloved conference badges. Wanting to explore the concept a bit, [Ayan Pahwa] set out to create his own MQTT-connected badge that he’s calling CloudBadge.

As this was more of a software experiment, all of the hardware is off-the-shelf. The badge itself is an Adafruit PyBadge, which doesn’t normally have any networking capabilities, but does feature a Feather-compatible header on the back. To that [Ayan] added a AirLift FeatherWing which allows him to use the ESP32 as a co-processor. He also added a strip of NeoPixel LEDs to the lanyard, though those could certainly be left off if you’re not looking to call quite so much attention to yourself.

The rest was just a matter of software. [Ayan] came up with some code that uses the combined hardware of the PyPadge and ESP32 to connect to Adafruit.io via MQTT. Once connected, the user is able to change the name that displays on the screen and the colors of the RGB LEDs through the cloud service. If you used something like this for an actual conference badge, the concept could easily be expanded to do things like flashing the badge’s LEDs when a talk the wearer wanted to see is about to start.

The modern conference badge has come a long way from simple blinking LEDs, offering challenges that you’ll likely still be working on long after the event wraps up. Concerns over security and the challenge of maintaining the necessary infrastructure during the event usually means they don’t include networking features, but projects like CloudBadge show the idea certainly has merit.

Continue reading “MQTT And The Internet Of Conference Badges”

Foxie Clock Works In Two Ways

Nixie tubes are a hacker favorite for their warm glow and elegant, mid-century numerals. They’re also a pain to drive, demand high voltages, and aren’t exactly cheap and easy to come by. Never mind, for there are other ways to go – as [Alex Fox] demonstrates with the Foxie Clock.

The Foxie clock gets its name from its creator, in a portmanteau with the famous Nixie tubes. Rather than going with gas-filled extravagances, instead, acrylic pieces are engraved with similar numerals to the old technology. These are edge-lit by what appear to be WS2812 addressable LEDs, or similar. This led [Alex] to realise that the clock could also be configured to display in an alternate mode, instead creating numerals using the individual RGB LEDs as segments behind a frosted acrylic panel.

It’s a versatile project that ended up working as a clock in two unique yet appealing ways. We’re a sucker for a quality retro typeface, so are firmly on Team Edge-Lit, but sound off in the comments which you think is best. Others have attempted similar builds, too. And remember, if you can’t get your hands on one part, it always pays to experiment!

The TMS1000: The First Commercially Available Microcontroller

We use a microcontroller without a second thought, in applications where once we might have resorted to a brace of 74 logic chips. But how many of us have spared a thought for how the microcontroller evolved? It’s time to go back a few decades to look at the first commercially available microcontroller, the Texas Instruments TMS1000.

Imagine A World Without Microcontrollers

The Texas Instruments Speak And Spell from 1978 was a typical use for the TMS1000.
The Texas Instruments Speak & Spell from 1978 was a typical use for the TMS1000. FozzTexx (CC-SA 4.0)

It’s fair to say that without microcontrollers, many of the projects we feature on Hackaday would never be made. Those of us who remember the days before widely available and easy-to-program microcontrollers will tell you that computer control of a small hardware project was certainly possible, but instead of dropping in a single chip it would have involved constructing an entire computer system. I remember Z80 systems on stripboard, with the Z80 itself alongside an EPROM, RAM chips, 74-series decoder logic, and peripheral chips such as the 6402 UART or the 8255 I/O port. Flashing an LED or keeping an eye on a microswitch or two became a major undertaking in both construction and cost, so we’d only go to those lengths if the application really demanded it. This changed for me in the early 1990s when the first affordable microcontrollers with on-board EEPROM came to market, but by then these chips had already been with us for a couple of decades.

It seems strange to modern ears, but for an engineer around 1970 a desktop calculator was a more exciting prospect than a desktop computer. Yet many of the first microcomputers were designed with calculators in mind, as was for example the Intel 4004. Calculator manufacturers each drove advances in processor silicon, and at Texas Instruments this led to the first all-in-one single-chip microcontrollers being developed in 1971 as pre-programmed CPUs designed to provide a calculator on a chip. It would take a few more years until 1974 before they produced the TMS1000, a single-chip microcontroller intended for general purpose use, and the first such part to go on sale. Continue reading “The TMS1000: The First Commercially Available Microcontroller”

Open-Source Neuroscience Hardware Hack Chat

Join us on Wednesday, February 19 at noon Pacific for the Open-Source Neuroscience Hardware Hack Chat with Dr. Alexxai Kravitz and Dr. Mark Laubach!

There was a time when our planet still held mysteries, and pith-helmeted or fur-wrapped explorers could sally forth and boldly explore strange places for what they were convinced was the first time. But with every mountain climbed, every depth plunged, and every desert crossed, fewer and fewer places remained to be explored, until today there’s really nothing left to discover.

Unless, of course, you look inward to the most wonderfully complex structure ever found: the brain. In humans, the 86 billion neurons contained within our skulls make trillions of connections with each other, weaving the unfathomably intricate pattern of electrochemical circuits that make you, you. Wonders abound there, and anyone seeing something new in the space between our ears really is laying eyes on it for the first time.

But the brain is a difficult place to explore, and specialized tools are needed to learn its secrets. Lex Kravitz, from Washington University, and Mark Laubach, from American University, are neuroscientists who’ve learned that sometimes you have to invent the tools of the trade on the fly. While exploring topics as wide-ranging as obesity, addiction, executive control, and decision making, they’ve come up with everything from simple jigs for brain sectioning to full feeding systems for rodent cages. They incorporate microcontrollers, IoT, and tons of 3D-printing to build what they need to get the job done, and they share these designs on OpenBehavior, a collaborative space for the open-source neuroscience community.

Join us for the Open-Source Neuroscience Hardware Hack Chat this week where we’ll discuss the exploration of the real final frontier, and find out what it takes to invent the tools before you get to use them.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, February 19 at 12:00 PM Pacific time. If time zones have got you down, we have a handy time zone converter.

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 Wednesday; join whenever you want and you can see what the community is talking about. Continue reading “Open-Source Neuroscience Hardware Hack Chat”