We’re Using The Word Firmware Wrong

I had an interesting discussion the other day about code written for an embedded system. I was speaking with Voja Antonic about ‘firmware’. The conversation continued forward but I noticed that he was calling it ‘software’. We later discussed it and Voja told me he thought only the parts of the code directly interacting with the microcontroller were firmware; the rest falls under the more generic term of software. It really had me wondering where firmware stops being firmware and is merely software?

The topic has remained on my mind and I finally got around to doing some dictionary searches. I’m surprised that I’ve been using the word differently and I think most of the people I’ve heard use it are doing the same — at least as far as dictionary definitions are concerned. My go to sources are generally Merriam-Webster and Oxford English dictionaries and both indicate that firmware is a type of software that is indelible:

Permanent software programmed into a read-only memory.

computer programs contained permanently in a hardware device (such as a read-only memory)

According to this definition, I have never written a single bit of firmware. Everything I have written has been embedded software. But surely this is a term that must change with the times as technology progress so I kept digging.

Continue reading “We’re Using The Word Firmware Wrong”

The Engineering That Survives Hurricanes

Florida is a great place to live, especially around January when it’s sunny and 24 degrees outside (76F) while all of your friends from back home are dealing with scraping ice off of their windshields every morning. In the late summer, though, this pleasant tropical paradise can sometimes take a turn for the worse, because Florida is one of the handful of places that frequently see some of the worst storms on the planet: hurricanes. As a Floridian myself, perhaps I can shed some light on some of the ways that the various local governments and their residents have taken to mitigate the destruction that usually accompanies these intense tropical storms when it seems that, to outsiders, it might be considered unwise to live in such a place.

Continue reading “The Engineering That Survives Hurricanes”

Return To The Asus Tinker Board: Have Six Months Changed Anything?

The Asus Tinker Board, in all its glory
The Asus Tinker Board, in all its glory

Back in February this year, we ordered a new single board computer, and reviewed it. The board in question was the Asus Tinker Board, a Raspberry Pi 3 competitor from the electronics giant in a very well-executed clone of the Raspberry Pi form factor.

Our review found its hardware to be one of the best of that crop of boards we had yet seen, but found serious fault with the poor state of its software support at the time. There was no website, the distro had to be downloaded from an obscure Asus download site, and there was no user community or support channel to speak of. We were then contacted by some of the folks from Asus who explained that the board had not yet been officially launched, and that the unit we’d secured had escaped the fold a little early. Continue reading “Return To The Asus Tinker Board: Have Six Months Changed Anything?”

An Introduction To Solid State Relays

When we think of relays, we tend to think of those big mechanical things that make a satisfying ‘click’ when activated. As nice as they are for relay-based computers, there are times when you don’t want to deal with noise or the unreliability of moving parts. This is where solid-state relays (SSRs) are worth considering. They switch faster, silently, without bouncing or arcing, last longer, and don’t contain a big inductor.

Source Fotek SSR Specifications Sheet

An SSR consists of two or three standard components packed into a module (you can even build one yourself). The first component is an optocoupler which isolates your control circuit from the mains power that you are controlling. Second, a triac, silicon controlled rectifier, or MOSFET that switches the mains power using the output from the optocoupler. Finally, there is usually (but not always) a ‘zero-crossing detection circuit’. This causes the relay to wait until the current it is controlling reaches zero before shutting off. Most SSRs will similarly wait until the mains voltage crosses zero volts before switching on.

If a mechanical relay turns on or off near the peak voltage when supplying AC, there is a sudden drop or rise in current. If you have an inductive load such as an electric motor, this can cause a large transient voltage spike when you turn off the relay, as the magnetic field surrounding the inductive load collapses. Switching a relay during a peak in the mains voltage also causes an electric arc between the relay terminals, wearing them down and contributing to the mechanical failure of the relay.

Continue reading “An Introduction To Solid State Relays”

Cuban Embassy Attacks And The Microwave Auditory Effect

If you’ve been paying attention to the news, you may have seen a series of articles coming out about US staffers in Cuba. It seems that 21 staffers have suffered a bizarre array of injuries ranging from hearing loss to dizziness to concussion-like traumatic brain injuries. Some staffers have reported hearing incapacitating sounds in the embassy and in their hotel rooms. The reports range from clicking to grinding, humming, or even blaring sounds. One staffer described being awoken to a horrifically loud sound, only to have it disappear as soon as he moved away from his bed. When he got back into bed, the mysterious sound came back.

Cuba has denied any wrongdoing. However, the US has already started to take action – expelling two Cuban diplomats from the US in May. The question though is what exactly could have caused these injuries. The press has gone wild with theories of sonic weaponry, hidden bugs, and electronic devices, poisons, you name it. Even Julian Assange has weighed in, stating “The diversity of symptoms suggests that this is a pathogen combined with paranoia in an isolated diplomatic corps.”

So what’s going on? Bizarre accidents? Cloak and dagger gone awry? Mass hysteria among the US state department, or something else entirely? Continue reading “Cuban Embassy Attacks And The Microwave Auditory Effect”

The Electronics Markets Of Ho Chi Minh City, Vietnam

When we think about world-famous electronics markets in Asia, usually Shenzhen, Tokyo’s Akihabara, or Shanghai’s Beijing Road come to mind.

There’s another market that I’ve had my eye on for a few years: Nhật Tảo market in Ho Chi Minh City, Vietnam. It might not be as large or accessible as the more well-known markets, but it’s very much worth a visit if you’re in the area. I decided it was time to hop on my red motorbike (red things go faster) and give you a short tour of the central market, as well as some more hobbyist-friendly options.

Continue reading “The Electronics Markets Of Ho Chi Minh City, Vietnam”

Game Boy Advance SP in ECG device

Game Boy Advance Hiding In A Medical Device

It turns out that medical manufacturers also do hacking once in a while. [Jana Marie Hemsing] recently tweeted a photo of an ECG-Trigger-Unit that she’d opened up. Inside she found that the LCD screen was that of a Game Boy Advance (GBA) and the reason she could tell was that the screen’s original case was still there, complete with GAME BOY ADVANCE SP written on it.

In the manufacturer’s defense, this device was likely made around the year 2000 when gaming products were some of the best sources for high speed, high quality, small LCDs displays.  This design document for a portable ECG measurement instrument from as recently as 2013 cites reasons for using a GBA as:

  • impressive plotting results,
  • no serious transmission delays, and
  • fine graphics processing capability.

The Verge had even turned up this US patent from 1997 that has the diagnostic medical device be a cartridge for plugging into a Game Boy. At the time, PCs were frequently used for medical displays but this patent cites issues such as the higher cost of PCs, software installation issues, and crashing. However, they talk about the crashing being due to running word processing and spreadsheet software on the same PC, something not likely to happen if the PC is dedicated to bedside monitoring.

But despite all those pros, wouldn’t you feel surprise and alarm when you first glimpse the Game Boy inside the device that’s monitoring your heart? We also have to wonder what licensing these products went through in the countries in which they were used. This particular device was made by German company Medical Imaging Electronics.

Game Boy hacks aren’t limited to the medical industry though. Here on Hackaday, we’ve seen them turned into remote controls for flying drones and we’ve seen Game Boy cartridge emulators that use STM32. Finally, if you’re wondering where you saw [Jana Marie]’s name before, she was one of the two hackers driving the motorized armchair in a photo in our [Jenny List]’s SHACamp 2017 write-up.

Our thanks to [geonomad] for the tip!