Smartphone TV Remote Courtesy Of Homekit And ESP8266

Good grief, this smartphone-to-TV remote really drives home how simple hardware projects have become in the last decade. We’re talking about a voltage regulator, IR LED, and ESP8266 to add TV control on your home network. The hardware part of the hack is a homemade two sided board that mates an ESP with a micro-USB port, a voltage regulator to step down fom 5 to 3.3 v, and an IR LED for transmitting TV codes.

Let’s sit back and recount our good fortunes that make this possible. USB is a standard and now is found on the back of most televisions — power source solved. Cheap WiFi-enabled microcontroller — check. Ubiquitous smartphones and established protocols to communicate with other devices on the network — absolutely. It’s an incredible time to be a hacker.

Television infrared remote codes are fairly well documented and easy to sniff using tools like Arduino — in fact the ESP IR firmware for this is built on [Ken Shirriff’s] Arduino IR library. The rest of the sketch makes it a barebones device on the LAN, waiting for a connection that sends “tvon” or “tvoff”. In this case it’s a Raspberry Pi acting as the Homekit server, but any number of protocols could be used for the same (MQTT anyone?).

Continue reading “Smartphone TV Remote Courtesy Of Homekit And ESP8266”

Waste Shark Aims To Clean Our Harbours And Oceans

Drones are adding functionality to our everyday lives, and automation is here to help humanity whether we’re ready for it or not. In a clever combination of the two, [Richard Hardiman] of RanMarine has developed small drone-boats that scoop up garbage from the ocean — he calls them ‘Waste Sharks.’

The two models — slim and fatboy — aim to collect up to 1,100 pounds of garbage apiece in the ‘mouths’ just below the water’s surface. The Waste Sharks are still restricted to remote control and are only autonomous when traveling between waypoints, but one can see how this technology could evolve into the “Wall-E of water.”

Continue reading “Waste Shark Aims To Clean Our Harbours And Oceans”

Retrotechtacular: Railroads In The Jet Age

The front of the Soviet jet train on a monument in Tver, Russia. By Eskimozzz [PD], via Wikimedia Commons.
The front of the Soviet jet train on a monument in Tver, Russia. By Eskimozzz [PD], via Wikimedia Commons.
It started with one of those odd links that pop up from time to time on Hacker News: “The strange and now sadly abandoned Soviet Jet Train from the 1970s“. Pictures of a dilapidated railcar with a pair of jet engines in nacelles above its cab, forlorn in a rusty siding in the Russian winter. Reading a little further on the subject revealed a forgotten facet of the rivalry between Russians and Americans at the height of the Cold War, and became an engrossing trawl through Wikipedia entries, rail enthusiast websites, and YouTube videos.

Continue reading “Retrotechtacular: Railroads In The Jet Age”

A Better Way To Measure Your Impact On The World

Close your eyes and think of an electric wheelchair. What do you see? Is it sleek, futuristic, and elegant… worthy of the moniker: iChair? No, no it is not. It’s a boxy tank-like thing with grey knobbed wheels that is powered with lead-acid batteries. Why is that?

Obviously there are alternatives. Just yesterday I came across UPnRIDE (that name is sore on the eyes but speak it aloud and you’ll get it). It’s an electric wheelchair that converts into a standing position. And it looks comparatively sleek and modern. And it’s not the first time I’ve seen the idea before. One of my favorite articles over the years is still our coverage of Tek RMD, a similar standing robotic wheelchair design. So why is it I don’t see these in the wild? Why is it I only remember seeing the concept twice in four years?

Continue reading “A Better Way To Measure Your Impact On The World”

RC Car Piloting With The Blast Shield Down

Many of us have had a radio controlled car at some time in our youth, though it’s probable that none all of us entirely mastered it. There are memories of spectacular crashes, and if we were really unlucky, further boosts to Mr. Tamiya’s bank balance as fresh parts had to be fitted.

[Paul Yan] was watching his young son with a radio controlled toy, and was struck by how the two-joystick control layout is not necessarily as intuitive as it could be. By contrast when faced with a console game with first-person view and a steering wheel the boy had no problem dropping straight into play. This observation led him to investigate bringing a console steering wheel to an RC car, and the result is a rather impressive FPV immersive driving experience.

Paul's FPV car, explained.
Paul’s FPV car, explained.

His build took a PS2 steering wheel peripheral with pedals and mated it to an Arduino Uno via a PS2 shield. The Uno talks to a Nordic NRF24L01 RF module, which communicates with another NRF24L01 on the car. This in turn talks to a car-mounted Arduino Micro, which controls the car servos and speed controller.

FPV video is provided by a miniature camera and transmitter from the world of multirotor flying which is mounted on the car and transmits its pictures over 5GHz to a set of monitor goggles. Sadly he does not appear to have posted any of the software involved, though we doubt there is anything too challenging should you wish to try it for yourselves.

The video below shows the car in action, complete with an over-enthusiastic acceleration and crash from his young son. He tells us it’s a similar experience to playing a racing kart game in the real world, and having seen the video we wish we could have a go.

Continue reading “RC Car Piloting With The Blast Shield Down”

Resistance In Motion: What You Should Know About Variable Resistors

Adjusting the volume dial on a sound system, sensing your finger position on a touch screen, and knowing when someone’s in the car are just a few examples of where you encounter variable resistors in everyday life. The ability to change resistance means the ability to interact, and that’s why variable resistance devices are found in so many things.

The principles are the same, but there are so many ways to split a volt. Let’s take a look at what goes into rotary pots, rheostats, membrane potentiometers, resistive touchscreens, force sensitive resistors, as well as flex and stretch sensors.

Continue reading “Resistance In Motion: What You Should Know About Variable Resistors”

Grand Theft Auto V Used To Teach Self-Driving AI

For all the complexity involved in driving, it becomes second nature to respond to pedestrians, environmental conditions, even the basic rules of the road. When it comes to AI, teaching machine learning algorithms how to drive in a virtual world makes sense when the real one is packed full of squishy humans and other potential catastrophes. So, why not use the wildly successful virtual world of Grand Theft Auto V to teach machine learning programs to operate a vehicle?

Half and Half GTAV Annotation ThumbThe hard problem with this approach is getting a large enough sample for the machine learning to be viable. The idea is this: the virtual world provides a far more efficient solution to supplying enough data to these programs compared to the time-consuming task of annotating object data from real-world images. In addition to scaling up the amount of data, researchers can manipulate weather, traffic, pedestrians and more to create complex conditions with which to train AI.

It’s pretty easy to teach the “rules of the road” — we do with 16-year-olds all the time. But those earliest drivers have already spent a lifetime observing the real world and watching parents drive. The virtual world inside GTA V is fantastically realistic. Humans are great pattern recognizers and fickle gamers would cry foul at anything that doesn’t analog real life. What we’re left with is a near-perfect source of test cases for machine learning to be applied to the hard part of self-drive: understanding the vastly variable world every vehicle encounters.

A team of researchers from Intel Labs and Darmstadt University in Germany created a program that automatically indexes the virtual world (as seen above), creating useful data for a machine learning program to consume. This isn’t a complete substitute for real-world experience mind you, but the freedom to make a few mistakes before putting an AI behind the wheel of a vehicle has the potential to speed up development of autonomous vehicles. Read the paper the team published Playing for Data: Ground Truth from Video Games.

Continue reading “Grand Theft Auto V Used To Teach Self-Driving AI”