Displays We Love Hacking: The HD44780 Family

There are too many different kinds of displays – some of them, you already know. I’d like to help you navigate the hobbyist-accessible display world – let’s take a journey together, technology by technology, get a high-level overview of everything you could want to know about it, and learn all the details you never knew you needed to know. In the end, I’d like you to be able to find the best displays for any project you might have in mind, whatever it could be.

There’s a HD44780 clone IC under this epoxy blob! CC0 1.0

Today, let’s take a look at a well-known LCD technology – the HD44780 displays, a type of display that we hobbyists have been working with since the 1980s. Its name comes from the HD44780 driver chip – a character display driver IC that connects to a raw display panel and provides an easy interface.

HD44780 displays are not known for power efficiency, cutting-edge technology, ultimate flexibility, or small size, for that matter. However, they’re tried and true, easy to drive, require little to no computing power on your MCU, and you will be able to buy them for the foreseeable future. They’re not about to get taken off the market, and they deserve a certain kind of place in our parts boxes, too.

If you work with HD44780 displays for a project or two, you might acquire a new useless superpower – noticing just how many HD44780 displays are still in use in all sorts of user-facing devices, public or private. Going out and about in your day-to-day life, you can encounter a familiar 16 x 2 grid of characters in cash registers, public transport ticket machines, home security panels, industrial and factory equipment, public coffee machines, and other microcontroller-assisted places of all kinds! Continue reading “Displays We Love Hacking: The HD44780 Family”

Modeling Space Hack Chat

Join us on Wednesday, October 4 at noon Pacific for the Modeling Space Hack Chat with Bryan Murphy and Sam Treadgold!

We’re going to go out on a limb here and guess that a fair number of Hackaday readers went through a phase of model building growing up. To further push out that branch, we’ll further guess that some of those models included spacecraft, both real and imaginary. And with good reason — you don’t get to space without some interesting engineering, a lot of which is reflected in the design of the vehicles intended to get there. Rockets are cool, satellites are cooler still, and if you can’t actually go to space yourself, or at least be the person building the actual hardware, at least you can build a model and dare to dream.

But while a model on a stand or hanging from the ceiling on fishing line can certainly stimulate the imagination, wouldn’t it be better if a model did something? Bryan Murphy and Sam Treadgold think so, which is why they’ve been working on the “ISS Mimic,” which we recently featured. The 3D-printed 1:100 scale model of the International Space Station is equipped with servos that move the station’s solar panels in real-time based on publically available telemetry. It’s way more engaging than a static model, especially for kids just getting into STEM and related fields.

join-hack-chatBryan and Sam will stop by the Hack Chat to talk not just about the ISS Mimic, but about everything that has to do with modeling space. Who wouldn’t love a desktop version of a Martian or lunar rover keeping pace with its full-scale counterpart? And wouldn’t it be great to be able to visualize just how far away Voyager is right now? If it’s out there, we should be able to bring it home, at least in model form.

Our Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, October 4 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

Hackaday Links Column Banner

Hackaday Links: October 1, 2023

We’ve devoted a fair amount of virtual ink here to casting shade at self-driving vehicles, especially lately with all the robo-taxi fiascos that seem to keep cropping up in cities serving as testbeds. It’s hard not to, especially when an entire fleet of taxis seems to spontaneously congregate at a single point, or all it takes to create gridlock is a couple of traffic cones. We know that these are essentially beta tests whose whole point is to find and fix points of failure before widespread deployment, and that any failure is likely to be very public and very costly. But there’s someone else in the self-driving vehicle business with way, WAY more to lose if something goes wrong but still seems to be nailing it every day. Of course, we’re talking about NASA and the Perseverance rover, which just completed a record drive across Jezero crater on autopilot. The 759-meter jaunt was completely planned by the onboard AutoNav system, which used the rover’s cameras and sensors to pick its way through a boulder-strewn field. Of course, the trip took six sols to complete, which probably would result in negative reviews for a robo-taxi on Earth, and then there’s the whole thing about NASA having a much bigger pot of money to draw from than any start-up could ever dream of. Still, it’d be nice to see some of the tech on Perseverance filtering down to Earth.

Continue reading “Hackaday Links: October 1, 2023”

Horrendous Mess Of Wires

When do you post your projects? When they’re done? When they’re to the basic prototype stage? Or all along the way, from their very conception? All of these have their merits, and their champions.

In the post-all-along-the-way corner, we have Hackaday’s own [Arya Voronova], who outlines the many ways that you can start documenting your project before it’s even a fully fledged project. She calls these tidbits “breadcrumbs”, and it strikes me as being a lot like keeping a logbook, but doing it in public. The advantages? Instead of just you, everyone on the Internet can see what you’re up to. This means they can offer help, give you parts recommendations, and find that incorrect pinout that one pair of eyes would have missed. It takes a lot of courage to post your unfinished business for all to see, but ironically, that’s the stage of the project where you stand to gain the most from the exposure.

On the opposite end of the spectrum are the folks who document their projects at the very end. We see a ton of these on Hackaday.io and in people’s personal blogs. It’s a great service to the community, frankly, because at that point, you’re already done with the project. This is the point where the reward, for you, is at its minimum, but it’s also the point where you feel least inhibited about sharing if you’re one of those people who are afraid of showing your work off half-done. The risk here, if you’re like me, is that you’re already on to the next project when one is “done”, and going back over it to make notes seems superfluous. Those of you who do it regardless, we salute you!

And then there’s the middle ground. When you’re about one third of the way done, you realize that you might have something half workable, and you start taking a photo or two, or maybe even typing words into a computer. Your git logs start to contain more than just “fixed more stuff” for each check-in, because what if someone else actually reads this? Maybe you’re to the point where you’ve just made the nice box to put it in, and you’re not sure if you’ll ever go back and untangle that rat’s nest, so you take a couple of pictures of the innards before you hot glue it down.

I’m a little ashamed I’m probably on the “post only when it’s done” end of things than is healthy, mostly because I don’t have the aforementioned strength of will to go back. What about you?

Retrotechtacular: How Communism Made Televisions

For those of us who lived through the Cold War, there’s still an air of mystery as to what it was like on the Communist side. As Uncle Sam’s F-111s cruised slowly in to land above our heads in our sleepy Oxfordshire village it was at the same time very real and immediate, yet also distant. Other than being told how fortunate we were to be capitalists while those on the communist side lived lives of mindless drudgery under their authoritarian boot heel, we knew nothing of the people on the other side of the Wall, and God knows what they were told about us. It’s thus interesting on more than one level to find a promotional film from the mid 1970s showcasing VEB Fernsehgerätewerk Stassfurt (German, Anglophones will need to enable subtitle translation), the factory which produced televisions for East Germans. It provides a pretty comprehensive look at how a 1970s TV set was made, gives us a gateway into the East German consumer electronics business as a whole, and a chance to see how the East Germany preferred to see itself.

Black and white photograph of a display of televisions displaying a DDR Deutsche Frensehfunk logo, with an attendant adjusting one of the sets.
The RFT range of televisions in the Städtisches Kaufhaus exhibition center for the 1968 Leipzig Spring Fair. Bundesarchiv, CC-BY-SA 3.0

The sets in question are not too dissimilar to those you would have found from comparable west European manufacturers in the same period, though maybe a few things such as the use of a tube output stage and the lack of integrated circuits hints at their being a few years behind the latest from the likes of Philips or ITT by 1975. The circuit boards are assembled onto a metal chassis which would have probably been “live” as the set would have derived its power supply by rectifying the mains directly, and we follow the production chain as they are thoroughly checked, aligned, and tested. This plant produces both colour and back-and-white receivers, and since most of what we see appears to be from the black-and-white production we’re guessing that here’s the main difference between East and West’s TV consumers in the mid ’70s.

The film is at pains to talk about the factory as a part of the idealised community of a socialist state, and we’re given a tour of the workers’ facilities to a backdrop of some choice pieces of music. References to the collective and some of the Communist apparatus abound, and finally we’re shown the factory’s Order of Karl Marx. As far as it goes then we Westerners finally get to see the lives of each genosse, but only through an authorised lens. Continue reading “Retrotechtacular: How Communism Made Televisions”

Hackaday Podcast 238: Vibrating Bowl Feeders, Open Sourcery, Learning To Love Layer Lines

Elliot Williams and Tom Nardi start this week’s episode off with some deep space news, as NASA’s OSIRIS-REx returns home with a sample it snapped up from asteroid Bennu back in 2020. From there, discussion moves on to magical part sorting, open source (eventually…) plastic recycling, and the preposterously complex method newer Apple laptops use to determine if their lid is closed. They’ll also talk about the changing perceptions of 3D printed parts, a new battery tech that probably won’t change the world, and a clock that can make it seem like your nights are getting longer and longer. Stick around until the end to hear about the glory days of children’s architecture books, and the origins of the humble microwave oven.

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Go ahead and download it!

Continue reading “Hackaday Podcast 238: Vibrating Bowl Feeders, Open Sourcery, Learning To Love Layer Lines”

This Week In Security: Magic Packets, GPU.zip, And Enter The Sandman

Leading out the news this week is a report of “BlackTech”, an Advanced Persistent Threat (APT) group that appears to be based out of China, that has been installing malicious firmware on routers around the world. This firmware has been found primarily on Cisco devices, and Cisco has released a statement clarifying their complete innocence and lack of liability in the matter.

It seems that this attack only works on older Cisco routers, and the pattern is to log in with stolen or guessed credentials, revert the firmware to a yet older version, and then replace it with a malicious boot image. But the real fun here is the “magic packets”, a TCP or UDP packet filled with random data that triggers an action, like enabling that SSH backdoor service. That idea sounds remarkable similar to Fwknop, a project I worked on many years ago. It would be sort of surreal to find some of my code show up in an APT.

Don’t Look Now, But Is Your GPU Leaking Pixels

There’s a bit debate on who’s fault this one is, as well as how practical of an attack it is, but the idea is certainly interesting. Compression has some interesting system side effects, and it’s possible for a program with access to some system analytics to work out the state of that compression. The first quirk being leveraged here is that GPU accelerated applications like a web browser use compression to stream the screen view from the CPU to the GPU. But normally, that’s way too many pixels and colors to try to sort out just by watching the CPU and ram power usage.

And that brings us to the second quirk, that in Chrome, one web page can load a second in an iframe, and then render CSS filters on top of the iframe. This filter ability is then used to convert the page to black and white tiles, and then transform the white tiles into a hard-to-compress pattern, while leaving the black ones alone. With that in place, it’s possible for the outer web page to slowly recreate the graphical view of the iframe, leaking information that is displayed on the page.

And this explains why this isn’t the most practical of attacks, as it not only requires opening a malicious page to host the attack, it also makes some very obvious graphical changes to the screen. Not to mention taking at least 30 minutes of data leaking to recreate a username displayed on the Wikipedia page. What it lacks in practicality, this approach makes up for in cleverness and creativity, though. The attack goes by the GPU.zip moniker, and the full PDF is available. Continue reading “This Week In Security: Magic Packets, GPU.zip, And Enter The Sandman”