Simplified AI On Microcontrollers

Artificial intelligence is taking the world by storm. Rather than a Terminator-style apocalypse, though, it seems to be more of a useful tool for getting computers to solve problems on their own. This isn’t just for supercomputers, either. You can load AI onto some of the smallest microcontrollers as well. Tensorflow Lite is a popular tool for this, but getting it to work on your particular microcontroller can be a pain, unless you’re using an Espruino.

This project adds support for Tensorflow to this class of microcontrollers without having to fuss around with obtuse build tools. Basically adding a single line of code creates an instance, all without having to compile anything or even reboot. Tensorflow is a powerful software tool for microcontrollers, and having it this accessible now is a great leap forward.

So, what can you do with this tool? The team behind this build is using Tensorflow on an open smart watch that can be used to detect hand gestures and many other things. They also opened up these tools for use in a browser, which allows use of the AI software and emulates an Espruino without needing a physical device. There’s a lot going on with this one, and it’s a bonus that it’s open source and ready to be turned into anything you might need, like turning yourself into a Street Fighter.

That’s It, No More European IPV4 Addresses

When did you first hear concern expressed about the prospect of explosive growth of the internet resulting in exhaustion of the stock of available IP addresses? About twenty years ago perhaps? All computers directly connected to the internet must have an individual unique address, and the IPv4 scheme used since the 1980s has a 32-bit address space that provides only 4,294,967,296 possibilities. All that growth now means that IPv4 addresses are now in short supply, and this week RIPE, the body which allocates them in Europe, has announced that it no longer has any to allocate. Instead of handing new address blocks they will instead now provide ones that have been relinquished for example by companies that have gone out of business, and parties interested can join a waiting list.

Is the Internet dead then? Hardly, because of course IPv6, the replacement for IPv4, has been with us for decades and has a much larger 128-bit address space. The problem is that there is a huge installed base of IPv4 infrastructure which has always been cited as the reason to delay its adoption, so the vast majority of the internet-connected world has remained with IPv4. Even in an IPv4 world there are opportunities to be more efficient in the use of addresses such as the network address translation or NAT that many private networks use to share one address between many hosts, so it’s not quite curtains for your smart TV or IoT light bulb even though the situation will not get any easier.

The mystery comes in why after so many years we still use IPv4 so much. Your home router and millions like it will pick up an IPv4 address from your broadband provider’s pool, and there seems little reason why it can not instead pick up an IPv6 address and contain a gateway between the two. The same goes for addresses outside the domestic arena, and even in out community we find that IPv6 networks at events are labelled as experimental. Perhaps this news will spur the change, but meanwhile we don’t expect to be using an IPv6 address day-to-day very soon.

We know among Hackaday’s readership there will be people close to the coalface when it comes to IPv6 adoption. As always the comments are open, and we’d like to hear your views.

Header: Robert.Harker [CC BY-SA 3.0].

Your WiFi Signals Are Revealing Your Location

The home may be the hearth, but it’s not going to be a place of safety for too long.

With the abundance of connected devices making their ways into our homes, increasing levels of data may allow for more accurate methods for remote surveillance. By measuring the strength of ambient signals emitted from devices, a site can be remotely monitored for movement. That is to say, WiFi signals may soon pose a physical security vulnerability.

In a study from the University of Chicago and the University of California, Santa Barbara, researchers built on earlier studies where they could use similar techniques to “see through walls” to demonstrate a proof-of-concept for passive listening. Attackers don’t need to transmit signals or break encryptions to gain access to a victim’s location – they just need to listen to the ambient signals coming from connected devices, making it more difficult to track bad actors down.

Typically, connected devices communicate to an access point such as a router rather than directly with the Internet. A person walking near a device can subtly change the signal propagated to the access point, which is picked up by a receiver sniffing the signal. Most building materials do not block WiFi signals from propagating, allowing receivers to be placed inconspicuously in different rooms from the access point.

WiFi sniffers are relatively inexpensive, with models running for less than $20. They’re also small enough to hide in unsuspecting locations – inside backpacks, inside a box – and emit no signal that could be detected by a target. The researchers proposed some methods for safeguarding against the vulnerability: insulating buildings against WiFi leakage (while ensuring that desirable signals, i.e. signals from cell tower are still able to enter) or having access points emit a “cover signal” that mixes signals from connected devices to make it harder to sniff for motion.

While we may not be seeing buildings surrounded by Faraday cages anytime soon, there’s only going to be more attack surfaces to worry about as our devices continue to become connected.

[Thanks to Qes for the tip!]

Hacking Transmitters, 1920s Style

The origin of the term “breadboard” comes from an amusing past when wooden bread boards were swiped from kitchens and used as a canvas for radio hobbyists to roll homemade capacitors, inductors, and switches. At a period when commercial electronic components were limited, anything within reach was fair game.

[Andy Flowers], call sign K0SM, recently recreated some early transmitters using the same resources and techniques from the 1920s for the Bruce Kelley 1929 QSO Party. The style of the transmitters are based on [Ralph Hartley]’s oscillator circuit built for Bell Telephone in 1915. Most of the components he uses are from the time period, and one of the tubes he uses is even one of four tubes from the first Transatlantic contact in 1923.

Apart from vacuum tubes (which could be purchased) and meters (which could be scrounged from automobiles) [Flowers] recreated his own ferrite plate and outlet condensers for tuning the antennas. The spiderweb coils may not be as common today, but can be found in older Crosley receivers and use less wire than comparable cylindrical coils.

A number of others features of the transmitters also evoke period nostalgia. The coupling to the antenna can be changed using movable glass rods, although without shielding there are quite a number of factors to account for. A vertical panel in the 1920s style also shows measurements from the filament, plate current, and antenna coupling.

While amature radio has become increasingly high-tech over the last few years, it’s always good to see dedicated individuals keeping the old ways alive; no matter what kind of technology they’re interested in.

Continue reading “Hacking Transmitters, 1920s Style”

Vertical Train Hauls Up The Wall

Trains are great for hauling massive amounts of cargo from point A to point B, and occasionally, point C on weekends. But they’re not really known for climbing hills well, and anything vertical is right out. Regardless, [Can Altineller] knows what he wants and set to work, creating the 3D Printed Wall Train.

The first step was to get the train to stick to a vertical surface. This was achieved with the use of neodymium magnets in the train, which are attracted to laser-cut steel plates beneath the plastic tracks. The train itself consists of a custom 3D printed locomotive, outfitted with a motor and step-down gears that drive all four wheels. Said wheels are of a conical shape, and covered with rubber to provide enough grip to overcome gravity. The project is a progression from [Cal]’s earlier four-motor build.

The final result is a charming wall display, with the four-wheel drive train merrily tugging its carriages around the circular course ad infinitum. It’s a fun build, and we’d love to see similar techniques applied to a bigger layout. If this whets your appetite for model railroading, consider building your own turntable, or implementing some fancy sensors. Video after the break.

Continue reading “Vertical Train Hauls Up The Wall”

Iron Man Puts Yet Another Hacker Up In Arms

When Iron Man movie came out, we’d bet there wasn’t a single hacker that left the theater without daydreaming about having a few robotic lab assistants of their own. But unlike most of them, [Tony-Lin] decided to turn his celluloid dreams into a reality and started work on his robotic arm, Abot.

Abot is built from a combination of 5 mm nylon panels and 3D printed parts. One thing we found particularly interesting about this build is that the motor reductions for the joints are done using stages of pulleys and GT2 belting rather than planetary gear boxes or cycloidal drives. This produces a lightweight and affordable build.

He also designed his own driver boards for each motor using the STM32. They communicate with a CAN bus which uses USB connectors, an interesting choice. Just make sure not to try and charge your phone with it.

We have to admit to a little jealousy that [Tony] is moved himself a bit closer to being Tony Stark than the rest of us are likely to get. We’ll just have to live vicariously through the documentation of his project.

A Division In Voltage Standards

During my recent trip to Europe, I found out that converters were not as commonly sold as adapters, and for a good reason. The majority of the world receives 220-240 V single phase voltage at 50-60 Hz with the surprisingly small number of exceptions being Canada, Colombia, Japan, Taiwan, the United States, Venezuela, and several other nations in the Caribbean and Central America.

While the majority of countries have one defined plug type, several countries in Latin America, Africa, and Asia use a collection of incompatible plugs for different wall outlets, which requires a number of adapters depending on the region traveled.

Although there is a fair degree of standardization among most countries with regards to the voltage used for domestic appliances, what has caused the rift between the 220-240 V standard and the 100-127 V standards used in the remaining nations?

Continue reading “A Division In Voltage Standards”