Converting A TP Link Router To Mission Control For Cheap 433MHz Home Automation

[Jean-Christophe Rona] found himself with some free time and decided to finish a project he started two years ago, reverse engineering cheap 433MHz home automation equipment. He hopes to control his space heaters remotely, in preparation for a cold and, now, robotic winter.

In a previous life, he had reverse engineered the protocol these cheap wireless plugs, garage doors, and electric window shutters all use. This eventually resulted in a little library called rf-ctrl that can toggle and read GPIO pins in the correct way to control these objects. He has a few of the more popular protocols built into the library and even wrote a guide on how to do the reverse engineering yourself if you have need.

Having successfully interfaced with the plugs to use with his space heaters, [Jean-Christophe] went about converting a cheap TP Link router into a command center for them. Since TP Link never expected anyone to hammer their square peg into a mismatched hole, it takes a careful hand at soldering and some enamel wire to break out the GPIO pins, but it’s well within the average skill set.

The end result is a nicely contained blue box with a little antenna hanging out of it, and we hope, a warm abode for the coming winter.

A Spreadsheet For Guesswork

Ever wish you could guess more precisely? Or maybe just make your guesses look confusingly legitimate? Guesstimate could help.

It uses Monte Carlo simulations to add some legitimacy to the ranges given to it. For example, if you say the cost of lumber for your next project could be between 2 and 8 dollars a piece, you don’t typically mean that it’s equally likely to be any of those numbers. Most people mean that the boards are most likely to be around 3-5 dollars and everything lower or higher is less probable. Using different shaped distributions, Guesstimate can help include this discrepancy of thought into your pseudo-calculations.

It’s a neat bit of code with a nice interface. There is a commercial side to the project for those who want to collaborate openly or pay someone to host it privately. It has a few neat example models for those interested.

Does anyone use anything like this in their daily lives? Is there another similar project out there? This kind of thing is pretty cool!

What Does ESD Do To My Circuit And How Can I Protect Against It?

[Kevin Darrah] is risking the nerves on his index finger to learn about ESD protection. Armed with a white pair of socks, a microfiber couch, and a nylon carpet, like a wizard from a book he summons electricity from his very hands (after a shuffle around the house). His energy focused on a sacrificial 2N7000 small signal MOSFET.

So what happens to a circuit when you shock it? Does it instantly die in a dramatic movie fashion: smoke billowing towards the roof, sirens in the distance? [Kevin] set up a simple circuit to show the truth. It’s got a button, a MOSFET, an LED, and some vitamins. When you press the button the light turns off.

He shuffles a bit, and with a mini thunderclap, electrocutes the MOSFET. After the discharge the MOSFET doesn’t turn the light off all the way. A shocking development.

So how does one protect against these dark energies out to destroy a circuit. Energies that can seemingly be summoned by anyone with a Walmart gift card? How does someone clamp down on this evil?

[Kevin] shows us how two diodes and a resistor can be used to shunt the high voltage from the electrostatic discharge away from the sensitive components. He also experimentally verifies and elucidates on the purpose of each. The resistor does nothing by itself, it’s there to protect the diodes. The diodes are there to protect the MOSFET.

In the end he had a circuit that could withstand the most vigorous shuffling, cotton socks against nylon carpeting, across his floor. It could withstand the mighty electric charge that only a grown man jumping on his couch can summon. Powerful magics indeed. Video after the break.

Continue reading “What Does ESD Do To My Circuit And How Can I Protect Against It?”

Death To The 3.5mm Audio Jack, Long Live Wireless

There’s been a lot of fuss over Apple’s move to ditch the traditional audio jack. As for me, I hope I never have to plug in another headphone cable. This may come off as gleeful dancing on the gravesite of my enemy before the hole has even been dug; it kind of is. The jack has always been a pain point in my devices. Maybe I’ve just been unlucky. Money was tight growing up. I would save up for a nice set of headphones or an mp3 player only to have the jack go out. It was a clear betrayal and ever since I’ve regarded them with suspicion. Is this the best we could do?

I can’t think of a single good reason not to immediately start dumping the headphone jack. Sure it’s one of the few global standards. Sure it’s simple, but I’m willing to take bets that very few people will miss the era of the 3.5mm audio jack once it’s over. It’s a global episode of the sunk cost fallacy.

In the usual way hindsight is 20/20, the 3.5mm audio jack can be looked at as a workaround, a stop over until we didn’t need it.  It appears to be an historic kludge of hack upon hack until something better comes along. When was the last time it was common to hook an Ethernet cable into a laptop? Who would do this when we can get all the bandwidth we want reliably over a wireless connection. Plus, it’s not like most Ethernet cables even meet a spec well enough to meet the speeds they promise. How could anyone reasonably expect the infinitely more subjective and variable headphone and amplifier set to do better?

But rather than just idly trash it, I’d like to make a case against it and paint a possible painless and aurally better future.

Continue reading “Death To The 3.5mm Audio Jack, Long Live Wireless”

The Most Impractical Bluetooth Speaker Of 2016

Ever feel overwhelmed by the sheer amount of usable surface area in your house? Ever wish that your Bluetooth speaker was fluffier? Do you ever long for a future in which all your music is accompanied by perfectly timed light flashes. Is the gentle passing of a cumulus cloud across a bright blue sky the only thing that will keep the voices at bay? We might have the speaker for you.

Joking aside the effect is pretty cool. It’s a standard levitation doohickey at it core. While we don’t know what the inside looks like exactly, we can take our guesses. The cloud has some magnets and a coil for receiving power. Inside is a hacked apart Bluetooth speaker, a microcontroller, and some LEDs. It’s all surrounded by fluffy white pillow stuffing and hot glue.

The base has a power supply and a rechargeable battery. We’re not sure why, we suppose it’s a pain to reset the floaty cloud. It’s certainly not portable. If you’d like one, it can probably be replicated with a few challenging weekends of work. The other option is to wait, as they claim to be pursuing a commercial something or another. Which these days means they’re gonna file for a patent on something everyone and their grandmother has done and then sell it as a six thousand dollar desk ornament. Still! Pretty cool. Video after the break.

Continue reading “The Most Impractical Bluetooth Speaker Of 2016”

Toyota’s Code Didn’t Meet Standards And Might Have Led To Death

We were initially skeptical of this article by [Aleksey Statsenko] as it read a bit conspiratorially. However, he proved the rule by citing his sources and we could easily check for ourselves and reach our own conclusions. There were fatal crashes in Toyota cars due to a sudden unexpected acceleration. The court thought that the code might be to blame, two engineers spent a long time looking at the code, and it did not meet common industry standards. Past that there’s not a definite public conclusion.

[Aleksey] has a tendency to imply that normal legal proceedings and recalls for design defects are a sign of a sinister and collaborative darker undercurrent in the world. However, this article does shine a light on an actual dark undercurrent. More and more things rely on software than ever before. Now, especially for safety critical code, there are some standards. NASA has one and in the pertinent case of cars, there is the Motor Industry Software Reliability Association C Standard (MISRA C). Are these standards any good? Are they realistic? If they are, can they even be met?

When two engineers sat down, rather dramatically in a secret hotel room, they looked through Toyota’s code and found that it didn’t even come close to meeting these standards. Toyota insisted that it met their internal standards, and further that the incidents were to be blamed on user error, not the car.

So the questions remain. If they didn’t meet the standard why didn’t Toyota get VW’d out of the market? Adherence to the MIRSA C standard entirely voluntary, but should common rules to ensure code quality be made mandatory? Is it a sign that people still don’t take software seriously? What does the future look like? Either way, browsing through [Aleksey]’s article and sources puts a fresh and very real perspective on the problem. When it’s NASA’s bajillion dollar firework exploding a satellite it’s one thing, when it’s a car any of us can own it becomes very real.

Codebender Shuts Down

Codebender.cc was a cloud based IDE for Arduino development. It was made for hackers by a few fellows in Greece. Unfortunately, while they saw some serious success, they were never able to convert it all the way into a viable business.

By November 31st Codebender.cc will be completely shut down. They assure users that the site will be in read-only mode for as long as the end of the year, but longer if the traffic justifies it. Codebender made it all the way to 10,000 monthly active users, but hosting and administration overshadowed this success to the tune of 25,000 dollars a month. Not so much as far as businesses go, but without revenue it’s more than enough to shut down a site. Their business plan aimed to tailor their services for specific chip manufacturers and other companies but those deals never came together.

It’s a pity, we were excited to see if Codebender could continue to grow. They were certainly doing some really interesting stuff like remote code upload. As the comments on the site show, many users, especially educators and Chromebook users, loved Codebender — your code isn’t stuck on one computer and where there was a browser there was an IDE.

Two paid services will remain (starting at $10/month) at addresses with different TLDs. But the post does mention that the Codebender project started as Open Source. Their GitHub repo isn’t a clear path for rolling your own, but if you do manage to hack together a working Codebender implementation we’d love to hear about it.