Component Shelf Life: How To Use All That Old Junk

There are two types of Hackaday readers: those that have a huge stock of parts they’ve collected over the years (in other words, an enormous pile of junk) and those that will have one a couple of decades from now. It’s easy to end up with a lot of stuff, especially items that you’re likely to use in more than one design; the price breakpoints at quantities of 10 or 100 of something can be pretty tempting, and having a personal stock definitely speeds the hacking process now that local parts shops have gone the way of the dinosaur. This isn’t a perfect solution, though, because some components do have shelf-lives, and will degrade in some way or another over time.

If your stash includes older electronic components, you may find that they haven’t aged well, but sometimes this can be fixed. Let’s have a look at shelf life of common parts, how it can be extended, and what you can do if they need a bit of rejuvenation.

Continue reading “Component Shelf Life: How To Use All That Old Junk”

Hack My House: UL Certification And Turning The Lights On With An ESP8266

It’s hard to imagine a smart house without smart lighting. Maybe it’s laziness, but the ability to turn a light on or off without walking over to the switch is a must-have, particularly once the lap is occupied by a sleeping infant. It’s tempting to just stuff a relay in the electrical boxes and control them with a Raspberry Pi or micro-controller GPIO. While tempting, get it wrong and you have a real fire hazard. A better option is one of the integrated WiFi switches. Sonoff is probably the most well known brand, producing a whole line of devices based on the ESP8266. These devices are powered from mains power and connect to your network via WiFi. One disadvantage of Sonoff devices is they only work when connected to Sonoff’s cloud.

Light switches locked in to a cloud provider are simply not acceptable. Enter Tasmota, which we’ve covered before. Tasmota is an open source firmware, designed specifically for Sonoff switches, but supporting a wide range of ESP8266 based devices. Tasmota doesn’t connect to any cloud providers unless you tell it to, and can be completely controlled from within a local network.

Certifications, Liability, and More

We’re well acquainted with some of the pitfalls of imported electronics, but one of the lesser known problems is the lack of certification. In the United States, there are several nationally recognized testing laboratories: Underwriters Laboratories (UL) and Intertek (ETL) are the most prominent. Many  imported electronic devices, including Sonoff devices, do not have either of these certifications. The problem with this is liability, should the worst ever happen and an electrical fire break out. The Internet abounds with various opinions on the importance of the certification — a missing certification mark is somewhere between meaningless and a total hazard. The most common claim is that a house fire combined with non-certified equipment installed would result in an insurance company refusing to pay.

Rather than just repeat this surely sage advice from the Internet, I asked my insurance agent about uncertified equipment in the case of a fire. I discovered that insurance agencies avoid giving definite answers about claim payments. The response that came back was “it depends”: homeowner’s insurance covers events that are accidental and sudden. If a homeowner was aware that they were using uncertified equipment, then it could be categorized as “not an accident”. So far, the myth seems plausible. The final answer from the insurance agency: it’s possible that a non UL-certified device could result in denial of payment on a claim, but it depends on the policy and other details– why take the risk? Certification marks make insurance companies happier.

I also talked to my city’s electrical inspector about the issue. He commented that non-certified equipment is a violation of electrical code when it is hard-wired into a house. He echoed the warning that an insurance company could refuse to pay, but added that in the case of injury, there could be even further liability issues. I’ve opted to use certified equipment in my house. You’ll have to make your own decision about what equipment you’re willing to use.

There are some devices on Amazon that claim to have certification, but searching the certification database leads me to believe that not all of those claims are valid. If in doubt, there is a searchable UL database, as well as a searchable Intertek database.
Continue reading “Hack My House: UL Certification And Turning The Lights On With An ESP8266”

KiCad And FreeCAD Hack Chat

Join us Wednesday at noon Pacific time for the KiCad and FreeCAD Hack Chat led by Anool Mahidharia!

The inaugural KiCon conference is kicking off this Friday in Chicago, and KiCad aficionados from all over the world are gathering to discuss anything and everything about the cross-platform, open-source electronic design automation platform. As you’d expect, Hackaday will have a presence at the conference, including a meet and greet after party. There’ll also be talks by a couple of our writers, including Anool Mahidharia, who’ll be taking time out of his trip to the States to drop by the Hack Chat with a preview of his talk, entitled “Fast 3D Model Creation with FreeCAD”.

Join us for the KiCad and FreeCAD Hack Chat this week with your questions about KiCad and FreeCAD. If you’ve got some expertise with electronic design tools, make sure you come by and contribute to the discussion too — we’d love to hear your insights. And as always, you can get your questions queued up by leaving a comment on the KiCad and FreeCAD Hack Chat event page and we’ll put them on the list for the Hack Chat discussion.

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, April 24, at noon, 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.

Hackaday Links Column Banner

Hackaday Links: April 21, 2019

A Russian company has developed a drone with a very interesting control scheme. It’s a VTOL fixed wing, that takes off like a bicopter, transitions to use wings for lift, flies around for half an hour or so, and then lands on its tail. This is a big ‘un; the reported weight is 50 pounds. Although the available footage really doesn’t give any sense of scale, we would estimate the wingspan as somewhere between four and five feet. Fixed-wing VTOLs are close to the holy grail of current drone science — wings actually generate lift, and VTOL means Uber can deliver McDonalds to your driveway.

What happens when you give an idiot a USB killer? $60,000 in damages. A former student at the College of St. Rose killed 59 computers with a USB killer, basically a charge pump that dumps a hundred or so volts back into a USB port, destroying the computer. Yes, you can just buy USB killers on the Internet, and yes you can film yourself zapping computers and posting the videos on social media. Both are dumb ideas.

This week was huge for the preservation of our digital culture. The source for the original Infocom games, such as Zork and Hitchhiker’s Guide to the Galaxy have been archived and released. This is a rather interesting development, as these games were written in Zork Implementation Lanugage (ZIL), a language that is used by no one and there’s almost zero documentation. Yes, we have the source, but not a compiler. It’s Lisp-ish, and there are people working to make new games in this language. Also this week is the release of the source for Leisure Suit Larry. Hackaday readers will be familiar with Leisure Suit Larry as the protagonist is a 38-year-old loser who lives in his mother’s basement. This game goes off the rails when the protagonist decides to leave the basement, but it was written a long time ago, and I guess Al Lowe didn’t foresee the Internet or something. Tip of the very fancy hat to @textfiles here.

You in Jersey? The Vintage Computer Festival East is May 3-5th, and it’s bound to be a grand time. Keynotes are by Steve Bellovin, co-inventor of USENET, Ken Thompson (!), co-inventor of UNIX, and Joe Decuir, co-inventor of the Atari VCS, Atari 800, and the Commodore Amiga. There’s also a Software Store (new this year), which we can only hope is like walking into Babbage’s. Protip: while you’re there, go up to Asbury Park and visit the Silverball Museum. It’s a whole lot of pinball.

For easier production and assembly of circuit boards, you should only place your components on one side. Doing so means you don’t have to flip the board and run it through the pick and place again, and you don’t have to worry about glue. This is a single-sided circuit board. There’s only one side. It’s a Mobius PCB, the flex-circuit version of a handmade circuit board made with a conductive pen.

Retrotechtacular: Transputer

Back in 2016, Hackaday published a review of The National Museum of Computing, at Bletchley Park. It mentions among the fascinating array of computer artifacts on display a single box that could be found in the corner of a room alongside their Cray-1 supercomputer. This was a Transputer development system, and though its architecture is almost forgotten today there was a time when this British-developed microprocessor family had a real prospect of representing the future of computing. So what on earth was the Transputer, why was it special, and why don’t we have one on every desk in 2019?

An Inmos RAMDAC (the 28-pin DIP) on the motherboard of a 1989 IBM PS/55. Darklanlan [CC BY 4.0]
An Inmos RAMDAC (the 28-pin DIP) on the motherboard of a 1989 IBM PS/55. Darklanlan [CC BY 4.0]
Inmos, based in Bristol, were a — no, make that the — British semiconductor company, in the days when governments saw such things as a home-grown semiconductor manufacturing capability to be of strategic importance. They made microcomputer peripheral chips, RAM chips, and video chips (the workaday silicon of 1980s computing) but their exciting project was the Transputer.

This microprocessor family addressed the speed bottlenecks inherent to conventional processors of the day by being built from the ground up to be massively multiprocessor.  A network of Transputer processors would share a web of serial interconnects arranged in a crosspoint formation, allowing multiple of them to connect with each other independently and without collisions. It was the first to feature such an architecture, and at the time was seen as the Next Big Thing. All computers were going to use Transputers by the end of the 1990s, so electronic engineering students were taught all about them and encountered them in their group projects. I remember my year of third-year EE class would split into groups, each of tasked with a part of a greater project that would communicate through the crosspoint switch at the heart of one of the Transputer systems, though my recollection is that none of the groups went so far as to get anything to work. Still how this machine was designed is fun to look back on in modern times. Let’s dig in!

Continue reading “Retrotechtacular: Transputer”

Hackaday Podcast 015: Going Low Frequency, Robotic Machines, Disk Usage For Budgets, And Cellphones Versus Weather

Hackaday Editors Mike Szczys and Elliot Williams discuss the highlights of the great hacks from the past week. On this episode we discuss wireless charging from scratch, Etch-A-Sketch selfies, the robot arm you really should build yourself, bicycle tires and steel nuts for anti-slip footwear, and bending the piezo-electric effect to act as a VLF antenna. Plus we delve into articles you can’t miss about 5G and robot firefighting.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 015: Going Low Frequency, Robotic Machines, Disk Usage For Budgets, And Cellphones Versus Weather”

Shadowhammer, WPA3, And Alexa Is Listening: This Week In Computer Security

Let’s get caught up on computer security news! The big news is Shadowhammer — The Asus Live Update Utility prompted users to download an update that lacked any description or changelog. People thought it was odd, but the update was properly signed by Asus, and antivirus scans reported it as safe.

Nearly a year later, Kaspersky Labs announced they had confirmed this strange update was indeed a supply chain attack — one that attacks a target by way of another vendor. Another recent example is the backdoor added to CCleaner, when an unknown actor compromised the build system for CCleaner and used that backdoor to target other companies who were using CCleaner. Interestingly, the backdoor in CCleaner has some similarities to the backdoor in the Asus updater. Combined with the knowledge that Asus was one of the companies targeted by this earlier breach, the researchers at Kaspersky Lab suggest that the CCleaner attack might have been the avenue by which Asus was compromised.

Shadowhammer sits quietly on the vast majority of machines it infects. It’s specifically targeted at a pool of about 600 machines, identified by their network card’s MAC address. We’ve not seen any reporting yet on who was on the target list, but Kaspersky is hosting a service to check whether your MAC is on the list.

While we’re still waiting for the full technical paper, researchers gave a nearly 30 minute presentation about Shadowhammer, embedded below the break along with news about Dragonblood, Amazon listening to your conversations, and the NSA delivering on Ghidra source code. See you after the jump!
Continue reading “Shadowhammer, WPA3, And Alexa Is Listening: This Week In Computer Security”