“DB” = Abbreviated Microcontroller Debugging

We’ve all been there. When debugging a microcontroller project, we just want to put in a print statement to figure out what’s going on with the microcontroller in real time. However, advanced embedded programmers know that printf statements are verboten: they’re just too SLOW. While not fixing this plight entirely, [Atakan Sarioglu] has come up with a clever way to create readable debug messages with minimal runtime overhead.

[Atakan Sarioglu]’s innovation, called BigBug (Github), is a dynamically-generated codebook. The codebook translates abbreviated messages sent over serial (UART here) to longer-form human-readable messages. To generate the codebook, BigBug automatically parses your …read more

Continue reading “DB” = Abbreviated Microcontroller Debugging

Silicon Nanowires Create Flexible Photodetectors

Modern display and solar cell technologies are built with a material called Indium Tin Oxide (ITO). ITO has excellent optical transparency and electrical conductivity, and the material properties needed for integration in large-scale manufacturing. However, we’re not content with just merely “good enough” nowadays, and need better materials to build ever better devices. Graphene and carbon nanotubes have been considered as suitable replacements, but new research has identified a different possibility: nanowires.

Researchers from the Indian Association for the Cultivation of Science (IACS) and the Centre for Research on Adaptive Nanostructures and Nanodevices (CRANN) in Ireland have demonstrated a seamless …read more

Continue reading Silicon Nanowires Create Flexible Photodetectors

Neural Networks Using Doom Level Creator Like It’s 1993

Readers of a certain vintage will remember the glee of building your own levels for DOOM. There was something magical about carefully crafting a level and then dialing up your friends for a death match session on the new map. Now computers scientists are getting in on that fun in a new way. Researchers from Politecnico di Milano are using artificial intelligence to create new levels for the classic DOOM shooter (PDF whitepaper).

While procedural level generation has been around for decades, recent advances in machine learning to generate game content (usually levels) are different because they don’t use a …read more

Continue reading Neural Networks Using Doom Level Creator Like It’s 1993

Checking The Weather Without A Window

Making a weather display is great because it’s a simple project that shows off some skills and has an obvious daily use. So [ACROBOTIC Industries] decided to make an easy kit for the Hackaday Prize to make weather displays even more accessible.

Calling it the ESPecter, [ACROBOTIC Industries] wanted to make this a simple project for anyone, regardless of skill with a soldering iron or Arduino toolkit. So they decided to base the guts on common components that can be put together easily, specifically a Wemos Mini D1 with an OLED shield as a bright display. They also designed a …read more

Continue reading Checking The Weather Without A Window

Google Lowers The Artificial Intelligence Bar With Complete DIY Kits

Last year, Google released an artificial intelligence kit aimed at makers, with two different flavors: Vision to recognize people and objections, and Voice to create a smart speaker. Now, Google is back with a new version to make it even easier to get started.

The main difference in this year’s (v1.1) kits is that they include some basic hardware, such as a Raspberry Pi and an SD card. While this might not be very useful to most Hackaday readers, who probably have a spare Pi (or 5) lying around, this is invaluable for novice makers or the educational market. These …read more

Continue reading Google Lowers The Artificial Intelligence Bar With Complete DIY Kits

Microsoft Secures IoT from the Microcontroller Up

Frustrated by the glut of unsecured IoT devices? So are Microsoft. And they’re using custom Linux and hardware to do something about it.

Microsoft have announced a new ecosystem for secure IoT devices called “Azure Sphere.” This system is threefold: Hardware, Software, and Cloud. The hardware component is a Microsoft-certified microcontroller which contains Microsoft Pluton, a hardware security subsystem. The first Microsoft-certified Azure Sphere chip will be the MediaTek MT3620, launching this year. The software layer is a custom Linux-based Operating System (OS) that is more capable than the average Real-Time OS (RTOS) common to low-powered IoT devices. Yes, that’s …read more

Continue reading Microsoft Secures IoT from the Microcontroller Up

Assemble Your Own Modular Li-Ion Batteries

Low-voltage DC power electronics are an exciting field right now. Easy access to 18650 battery cells and an abundance of used Li-Ion cells from laptops, phones, etc. has opened the door for hackers building their own battery packs from these cheap cells. A big issue has been the actual construction of a pack that can handle your individual power needs. If you’re just assembling a pack to drive a small LED, you can probably get by with spring contacts. When you need to power an e-bike or other high power application, you need a different solution. A spot welder that …read more

Continue reading Assemble Your Own Modular Li-Ion Batteries

Bent PETG Fills A Nixie Gap

Have you ever thought that Nixie tubes are cool but too hard to control with modern electronics? And that they’re just too expensive? [david.reid] apparently thought so and decided to create his own version of a Nixie tube, and it doesn’t get much cheaper than this.

While working on a 3D printed locomotive with his son, [david.reid] used clear PETG (Polyethylene Terephthalate Glycol) 3D printer filament to move light from LEDs to various parts of the locomotive. He found this was a success, but roughed up the outside of the filament to see what would happen. Lo and behold, a …read more

Continue reading Bent PETG Fills A Nixie Gap

Unlock & Talk: Open Source Bootloader & Modem

During the early years of cell phones, lifespan was mainly limited by hardware (buttons wearing out, dropping phones, or water damage), software is a primary reason that phones are replaced today. Upgrades are often prompted by dissatisfaction with a slow phone, or manufacturers simply stopping updates to phone software after a few years at best. [Oliver Smith] and the postmarketOS project are working to fix the update problem, and have begun making progress on loading custom software onto cellphone processors and controlling their cellular modems.

Since [Tom Nardi] introduced Hackaday readers to postmarketOS, the team has made progress on compiling …read more

Continue reading Unlock & Talk: Open Source Bootloader & Modem