Arduino One Pixel Camera Sees All (Eventually)

Taking pictures in the 21st century is incredibly easy. So easy in fact that most people don’t even own a dedicated camera; from smartphones to door bells there are cameras built into nearly electronic device we own. So in this era of ubiquitous photography, you might think that a very slow and extremely low resolution camera wouldn’t be of interest. Under normal circumstances that’s probably true, but this single pixel camera built by [Tucker Shannon] is anything but normal.

Continue reading “Arduino One Pixel Camera Sees All (Eventually)”

ULTIMATE – A Useful Tool For File System Hacking

Whether you’re at the hobbyist level or a professional, if you’re working on code for operating systems or file systems, tools can make or break the job. [Ben Lunt] is an enthusiast hacker himself, and found that over time, a series of useful utilities had proliferated beyond reasonable management. It was time to solve the problem – enter ULTIMATE.

ULTIMATE is a combination of a wide swathe of file system hacking tools that [Ben] had developed over the preceding years. Capable of dealing with most FAT variants, Ext4, ISO, [Ben]’s own FYS FS as well as other Linux ephemera, it enables a wide variety of common tasks to be executed from within a single program.

Capabilities of the tool are wide ranging. Files can be inserted into and removed from image files, boot records can be altered, and there’s even the ability to tinker with GPTs for UEFI-based systems. [Ben] has also experimented with the concept of the eMBR – an extended Master Boot Record with greater functionality for larger, modern hard drives.

ULTIMATE is a testament to [Ben]’s broad file system knowledge, and could likely serve useful to many hackers in the file system and OS community. Just be cautious, though – the software is still in an early stage of development. If you’re just getting started in this particular realm of tinkering, take our primer on file system forensics.

 

The Hydrogen Economy May Be Coming Through Your Cooker

About an hour’s drive from where this is being written there is a car plant, and as you drive past its entrance you may notice an unobtrusive sign and an extra lane with the cryptic road marking “H2”. The factory is the Honda plant at Swindon, it produces some of Europe’s supply of Civics, and the lane on the road leads to one of the UK or indeed the world’s very few public hydrogen filling stations. Honda are one of a select group of manufacturers who have placed a bet on a future for environmentally sustainable motoring that lies with hydrogen fuel cell technologies.

The hydrogen-powered Honda Clarity FCV, a car most of us will probably never see. Lcaa9 [CC BY-SA 4.0].
The hydrogen-powered Honda Clarity FCV, a car most of us will probably never see. Lcaa9 [CC BY-SA 4.0].
The trouble for Honda and the others is that if you have seen a Honda Clarity FCV or indeed any hydrogen powered car on the road anywhere in the world then you are among a relatively small group of people. Without a comprehensive network of hydrogen filling stations such as the one in Swindon there is little incentive to buy a hydrogen car, and of course without the cars on the road there is little incentive for the fuel companies to invest in hydrogen generating infrastructure such as the ITM Power electrolysis units that seem to drive so many of the existing installations. By comparison an electric car is a much safer bet; while the charging point network doesn’t rival the gasoline filling station network there are enough to service the electric motorist and a slow charge can be found from most domestic supplies. Continue reading “The Hydrogen Economy May Be Coming Through Your Cooker”

Button, Button, Who’s Got The (One) Button?

We often think that less is more, but what can you do with a device that has only a single button? [Danko Bertović] wondered the same thing and he built an Arduino with a single button and a display. After doing some obvious things  (like a counter or stopwatch) he decided to make a calculator for his latest Volos Projects video.

You can find the source code online and he used a library from GitHub to handle the reaction to single presses, double presses, and long presses. Is it ideal? Probably not. But if you only have a limited amount of space or pins, it can make the difference between a feasible project and one you can’t finish.

His original projects also included a Flappy Bird clone. The OLED display is only 64×48 so that’s not a lot of room. The packaging of the tiny Arduino, the battery, and the display in a good looking case, was pretty impressive. So the device might be usable for something.

Of course, the library will work with any program and there’s no reason you can’t have more than one button and simply multiply their functions with the same strategy. There’s a sample on GitHub that shows how you can create two OneButton objects connected to different hardware devices.

By the way, the little box may have only one button, but it also has a power switch. Turns out, you can use it as an input in certain circumstances. If the OLED display strikes you as too luxurious, try the DUO BINARY.

Continue reading “Button, Button, Who’s Got The (One) Button?”

Welcome To The Slow Death Of Satellite TV In America

During an earnings call on November 29th, CEO of AT&T Communications John Donovan effectively signed the death warrant for satellite television in the United States. Just three years after spending $67 billion purchasing the nations’s largest satellite TV provider, DirecTV, he made a comment which left little doubt about the telecom giant’s plan for the service’s roughly 20 million subscribers: “We’ve launched our last satellite.

The news might come as a surprise if you’re a DirecTV customer, but the writing has been on the wall for years. When the deal that brought DirectTV into the AT&T family was inked, they didn’t hide the fact that the actual satellite content delivery infrastructure was the least of their concerns. What they really wanted was the installed userbase of millions of subscribers, as well as the lucrative content deals that DirecTV had already made. The plan was always to ween DirecTV customers off of their satellite dishes, the only question was how long it would take and ultimately what technology they would end up using.

Now that John Donovan has made it clear their fleet of satellites won’t be getting refreshed going forward, the clock has officially started ticking. It won’t happen this year, or even the year after that. But eventually each one of the satellites currently beaming DirecTV’s content down to Earth will cease to function, and with each silent bird, satellite television (at least in the United States) will inch closer to becoming history.

Continue reading “Welcome To The Slow Death Of Satellite TV In America”

A Deep Dive Into Low Power WiFi Microcontrollers

The Internet of Things is eating everything alive, and the world wants to know: how do you make a small, battery-powered, WiFi-enabled microcontroller device? This is a surprisingly difficult problem. WiFi is not optimized for low-power operations. It’s power-hungry, and there’s a lot of overhead. That said, there are microcontrollers out there with WiFi capability, but how do they hold up to running off of a battery for days, or weeks? That’s what [TvE] is exploring in a fantastic multi-part series of posts delving into low-power WiFi microcontrollers.

The idea for these experiments is set up in the first post in the series. Basically, the goal is to measure how long the ESP8266 and ESP32 will run on a battery, using various sleep modes. Both the ESP8266 and ESP32 have deep-sleep modes, a ‘sleep’ mode where the state is preserved, a ‘CPU only’ mode that turns the RF off, and various measures for sending and receiving a packet.

The takeaway from these experiments is that a battery-powered ESP8266 can’t be used for more than a week without a seriously beefy battery or a solar panel. Run times are much longer with an open network as compared to a secured network, and that security eats up a ton of power: connecting to a secure network every now and again means your ESP might only run for a day, instead of a week.

There is another option, though: the ESP32. While the ’32 is vastly more powerful and more capable than the ESP8266, it also has a few improved features that help with power consumption. Importantly, there’s a bug in the ESP8266 where it drops into modem sleep instead of light sleep about half the time. This error was fixed in the ESP32, but all that power does come at a cost. On the whole, if you’re concerned about security, the ESP32 is slightly better, simply because it does the ‘security’ part of connecting to a WiFi network faster. This is really a remarkable amount of testing that’s gone into this write-up, so if you’re developing something battery-powered with any ESP, it’s well worth the read.

‘Bit’ Installation Combines Art, Markov Chains

A Markov chain is a mathematical concept of a sequence of events, in which each future event depends only on the state of the previous events. Like most mathematical concepts, it has wide-ranging applications from gambling to the stock market, but in this case, [Jonghong Park] has applied it to art.

The installation, known simply as ‘bit’, consists of four machines. Each machine has two microswitches, which are moved around two wooden discs by a stepper motor. The microswitches read bumps on the surface of the disc as either a 0 or 1, and the two bits from the microswitches represent the machine’s “state”.

When a machine is called, the stepper motor rotates 1/240th of a revolution, and then the microswitches read the machine’s current state. Based on this state and the Markov Chain algorithm coded into the machines, a machine with the corresponding state is then called, which in turn moves, continuing the chain.

The piece is intended to reflect the idea of a deterministic universe, one in which the current state can be used to predict all future states. As an art piece, it combines its message with a visually attractive presentation of understated black metal and neatly finished wood.

We love a good art installation here at Hackaday – like this amazing snowflake install from a couple years back. Video after the break.

Continue reading “‘Bit’ Installation Combines Art, Markov Chains”