Building A YouTube Remote Control Worthy Of 2020

Back in 2018, [Gryo] built a remote control specifically for watching YouTube videos on his computer. It worked perfectly, but it didn’t quite fit the expectation one has for a modern media remote — it was a bit chunky, the buttons weren’t very responsive, and it didn’t feel as nice as the remotes that ship with consumer streaming devices. Looking to improve on things, he’s recently unveiled a far more svelte version of his scratch built media streaming remote includes a scrollwheel, color feedback, and a UI for customizing how it works.

It might not look the part, but technically [Gyro] categorizes his creation as a wireless keyboard since that’s what the operating system sees it as. This makes it easy to use with whatever media playback software or service might be running on the computer, as button presses on the remote are picked up as standard keyboard events. And the software easily sets which key each button on the remote will be associated with.

Inside the 3D printed case there’s a custom PCB that pulls together the ATmega328P, NRF24L01 radio, and TP4056 charger that tops off the 500 mAh Li-Po battery via USB-C. The receiver is also a custom creation, using a second NRF24L01 chip but swapping out the microcontroller for the ATmega32U4.

[Gyro] has done a fantastic job documenting this build in the write-up, and provides everything you need should you want to spin up your own copy. As much as we liked the unique approach used in the first version of the remote, we’ve got to admit this iteration is much more likely to end up sitting on our living room table.

Continue reading “Building A YouTube Remote Control Worthy Of 2020”

3D Printing Interactive Maps For The Visually Impaired

Most maps and educational materials for teaching geography are highly visual in nature. For those with a visual impairment, it can make learning more difficult when suitable resources are not available. After visiting a boarding school in Moscow, [Sergei] set out to build an interactive map to teach students geography regardless of their vision status.

After seeing the poorly embossed paper maps used in the school, [Sergei] decided there had to be a better way. The solution was 3D printing, which makes producing a map with physical contours easy. Initial attempts involved printing street maps and world maps with raised features, such that students could feel the lines rather than seeing them.

Taking things a step further, [Sergei] went all out, producing an interactive educational device. The build consists of a world map, and contains audio files with information about countries, cultures, and more. When the ultrasonic sensor detects a user in range, it invites them to press or pull out the removable continents on the map. The device can sense touch, thanks to a pair of MPR121 capacitive touch sensor boards which are used to trigger the audio files.

It’s a great way to use the sense of touch to teach where the sense of vision may be lacking. Previous Prize entries have worked in this field too, like this haptic glove to help vision-impaired users interpret camera data. We can’t wait to see what comes next as technology improves!

Linux Fu: Remote Execution Made Easy

If you have SSH and a few other tools set up, it is pretty easy to log into another machine and run a few programs. This could be handy when you are using a machine that might not have a lot of memory or processing power and you have access to a bigger machine somewhere on the network. For example, suppose you want to reencode some video on a box you use as a media server but it would go much faster on your giant server with a dozen cores and 32 GB of RAM.

Remote Execution

However, there are a few problems with that scenario. First, you might not have the software on the remote machine. Even if you do, it might not be the version you expect or have all the same configuration as your local copy. Then there’s the file problem. the input file should come from your local file system and you’d like the output to wind up there, too. These aren’t insurmountable, of course. You could install the program on the remote box and copy your files back and forth manually. Or you can use Outrun.

There are a few limitations, though. You do need Outrun on both machines and both machines have to have the same CPU architecture. Sadly, that means you can’t use this to easily run jobs on your x86-64 PC from a Raspberry Pi. You’ll need root access to the remote machine, too. The system also depends on having the FUSE file system libraries set up.

Continue reading “Linux Fu: Remote Execution Made Easy”

Ring The Bell For The Hackaday Prize: Three More Weeks To Enter Your Project!

We are hurtling toward the close of entries for the 2020 Hackaday Prize. You need to have your project submitted within the next three weeks, by 7:00 AM Pacific time on Monday, August 31st. Entry is easy, just start a project page over on Hackaday.io and use the “Submit project to:” button on the left sidebar to enter it in the Hackaday Prize.

There are a number of cash prizes on the line this year. In addition to a $50,000 grand prize we have four best nonprofit solution prizes of $10,000, four $3,000 honorable mention prizes, and a $5,000 wildcard prize.

Need some inspiration to help you get started? We’ve teamed with four nonprofit organizations who have highlighted real-world challenges for you to tackle. From protecting our oceans and innovating on earthen housing designs to building assistive devices and designing systems for disaster relief, there’s plenty of ground to cover here!

Once entries close at the end August, we’ll announce a slate of finalists who will continue to refine their designs for another month. Each finalist’s project entry will be reviewed in October by our panel of expert judges to identify the top winners. Of course, with these type of challenges, having more people focus on ways to help is a win in our books. So grab your engineering notebooks and get to work!

Folding Raspberry Pi Enclosure Prints In One Piece, No Screws In Sight

[jcprintnplay] has challenged himself to making Raspberry Pi cases in different ways, and his Fold-a-Pi enclosure tries for a “less is more” approach while also leveraging the strong points of 3D printing. The enclosure prints as a single piece in about 3 hours, and requires no additional hardware whatsoever.

The design requires no screws or other fasteners, and provides a mounting hole for a fan as well as some holes for mounting the enclosure itself to something. All the ports and headers are accessible, and the folding one-piece design is not just a gimmick; in a workshop situation where the Pi needs to be switched out or handled a lot, it takes no time at all to pop the Raspberry Pi in and out of the enclosure.

Microsoft’s 3D Builder has a pretty useful measurement tool for STLs.

[James] points out that the trick with a print-in-place hinge like this is leaving enough space between the parts so that the two pieces aren’t fused together, but not so much space that the print fails. He doesn’t go into detail about how much space worked or didn’t work, but an examination of the downloadable model shows that the clearance used looks like 0.30 mm, intended to be printed with a 0.4 mm nozzle.

[James] also demonstrates the value of being able to do quick iterations on a design when prototyping. In a video (embedded below) The first prototype had the hinge not quite right. In the second prototype there was a lack of clearance when closing. The third one solved both and shows the final design.

Continue reading “Folding Raspberry Pi Enclosure Prints In One Piece, No Screws In Sight”

Our Trucks Won’t Need No Batteries! Electric Trucks Look To Overhead Wires For Power

As the world grapples with the spectre of the so-called “hockey stick” graph of climate change, there have been a variety of solutions proposed to the problem of carbon emissions from sectors such as transport which have become inseparable from the maintenance of 21st century life. Sometimes these are blue-sky ideas that may just be a little bit barmy, while other times they make you stop and think: “That could just work!”.

Such an idea is that of replacing the diesel engines in trucks with electric motors powered not by batteries but from overhead cables. An electric tractor unit would carry a relatively small battery for last-mile transit, but derive its highway power by extending a pantograph from its roof to a high-voltage cable above the road. It’s extremely seductive to the extent that there have even been trials of the system in more than one country, but does it stack up to a bit of analysis?

Time’s Up For Those Big Rigs

Siemens and Scania are justifiably proud of their electrified stretch of autobahn and electric trucks in Germany.
Siemens and Scania are justifiably proud of their electrified stretch of autobahn and electric trucks in Germany.

One thing that should be obvious to all is that moving our long-distance freight around by means of an individual fossil-fuel-powered  diesel engine for every 38 tonne or so freight container may be convenient, but it is hardly either fuel-efficient or environmentally friendly The most efficient diesel engines on the road are said to have a 43% efficiency, and when hauling an single load they take none of the economies of scale afforded to the diesel engines that haul for example a freight train. Similarly they spread any pollution they emit across  the entirety of their route, and yet again fail to benefit from the economies of scale present in for example a power station exhaust scrubber. However much I have a weakness for the sight of a big rig at full stretch, even I have to admit that its day has passed.

The battery technology being pursued for passenger cars is a tempting alternative, as we’ve seen with Tesla Semi. But for all its technology that vehicle still walks the knife-edge between the gain in cost-effectiveness versus the cost of hauling around enough batteries to transport that quantity of freight. Against that the overhead wire truck seems to offer the best of both worlds, the lightness and easy refueling of a diesel versus the lack of emissions from an electric. In the idealised world of a brochure it runs on renewable wind, sun, and water power, so all our problems are solved, right? But does it really stack up?

Continue reading “Our Trucks Won’t Need No Batteries! Electric Trucks Look To Overhead Wires For Power”

ESPFLIX Brings Streaming Video To The World Of Microcontrollers

These days, if you’ve got a TV that’s a little too old to directly access streaming services, you’ve got plenty of options. Apple TV, Chromecast, and a cavalcade of Android boxes are available to help get content on your screen. However, if you’re really stuck in the past, ESPFLIX might just be for you.

Control of the system is achieved by an Apple TV remote.

Yes, that’s right – it’s an online streaming service running on an ESP32. [rossumur] has achieved this feat through a careful use of codecs, and some efficient coding strategies to make it all come together. Video is MPEG1, at just 352×192 resolution. Audio is via the SBC codec, originally intended for use with Bluetooth devices. It’s chosen here for its tiny sample buffers, making it easier to decode in the limited RAM of the ESP32. Output is via composite video, generated on the ESP32 itself.

The titles themselves consist of public domain content, running off an Amazon Web Services instance. With limited RAM on the ESP32, there’s not much buffering to be had, so [rossumur] is bankrolling an AWS Cloudfront instance which should make it possible to use ESPFLIX from most places around the world with a solid internet connection.

We’ve seen [rossumur]’s work before, with the ESP_8_BIT serving as a prelude to this project’s capabilities. Video after the break.

Continue reading “ESPFLIX Brings Streaming Video To The World Of Microcontrollers”