TV Repair By Mail

I don’t think there was ever a correspondence school called the “Close Cover Before Striking School” but since book matches — which used to be a thing when most people smoked — always had that text on them anyway perhaps there should have been. There was a time when electronic magazines, billboards, and even book matches were constantly bombarding us with ads to have a career in electronics. Or computers. Or TV repair. So while we think of distance learning as a new idea, really it is just the evolution of these old correspondence schools which date back quite some time.

How far exactly? Hard to say. There’s evidence of some distance learning going back as far as 1728. In 1837, there was a correspondence course to learn shorthand. By 1858, the University of London started its external program for correspondence work and the University of Chicago had a home study division in 1892.  Radio was an early choice of topic, too. In the United States, the United Wireless Telegraph company started a training school — later the Marconi Institute — in 1909. However, it is doubtful that there was any correspondence training going on there until much later.

Continue reading “TV Repair By Mail”

The Pi Pico board on top of a white box with an Ethernet jack, with a sensor module plugged onto the Pico's pin headers. A black MicroUSB and a green Ethernet cable are connected to this device.

An Elegant Ethernet Library For Your Next RP2040 Project

A few days ago we covered a project that brought Ethernet connectivity to the Raspberry Pi Pico using little more than some twisted pair and a RJ-45 connector. It was a neat trick, but not exactly ready for widespread adoption. Looking to improve on things a bit, [tvlad1234] has taken that project’s code and rewritten it into a friendly library you can use with any RP2040 board.

In case you missed it, the initial demo did 10BASE-T transmission by bit-banging with the PIO, and was able to send UDP messages to devices on the wired LAN. It was an impressive accomplishment, but its code didn’t make it easy to build your project around it. This new library makes UDP messaging as easy as a printf, offloading all non-PIO-managed Ethernet signal work onto the RP2040’s second CPU core. The library even generates a random MAC address out of your flash chip’s serial number!

As a demonstration of the new library, [tvlad1234] has put together a simple Ethernet-connected temperature monitor using the BMP085 or BMP180 sensor connect over I2C. If you feel like you could use an Ethernet transmit-only sensor in your life, browsing the source code would be a great start.

Code Your Own Twitch Chat Controls For Robots — Or Just About Anything Else!

Twitch Plays Pokemon burst onto the then nascent livestreaming scene back in 2014, letting Twitch viewers take command of a Game Boy emulator running Pokemon Red via simple chat commands. Since then, the same concept has been applied to everything under the sun. Other video games, installing Linux, and even trading on the New York Stock Exchange have all been gameified through Twitch chat.

TwitchPlaysPokemon started a craze in crowdsourced control of video games, robots, and just about everything else.

You, thirsty reader, are wondering how you can get a slice of this delicious action. Fear not, for with a bit of ramshackle code, you can let Twitch chat take over pretty much anything in, on, or around your computer.

It’s Just IRC

The great thing about Twitch chat is that it runs on vanilla IRC (Internet Relay Chat). The protocol has been around forever, and libraries exist to make interfacing easy. Just like the original streamer behind Twitch Plays Pokemon, we’re going to use Python because it’s great for fun little experiments like these. With that said, any language will do fine — just apply the same techniques in the relevant syntax.

SimpleTwitchCommander, as I’ve named it on Github, assumes some familiarity with basic Python programming. The code will allow you to take commands from chat in two ways. Commands from chat can be tabulated, and only the one with the most votes executed, or every single command can be acted on directly. Actually getting this code to control your robot, video game, or pet viper is up to you. What we’re doing here is interfacing with Twitch chat and pulling out commands so you can make it do whatever you like. With that said, for this example, we’ve set up the code to parse commands for a simple wheeled robot. Let’s dive in.

Continue reading “Code Your Own Twitch Chat Controls For Robots — Or Just About Anything Else!”

Atltvhead - wearable interactive TV

RCA TV Gets New Life As Interactive Atltvhead

TVs are usually something you sit and passively watch. Not so for [Nate Damen’s] interactive, wearable TV head project, aka Atltvhead. If you’re walking around Atlanta, Georgia and you see him walking around with a TV where his head should be, introduce yourself! Or sign into Twitch chat and take control of what’s being displayed on the LEDs which he’s attached to the screen. Besides being wearable technology, it’s also meant to be an interactive art piece.

For this, his third version, the TV is a 1960’s RCA Victor Portable Television. You can see some of the TVs he found for previous versions on his hackaday.io page. They’re all truly vintage. He gutted this latest one and attached WS2812 LED strips in a serpentine pattern inside the screen. The LEDs are controlled by his code and the FastLED library running on an ESP8266. Power comes from four NiMH AA-format batteries, giving him 5 V, which he regulates down to 3.3 V. His phone serves as a WiFi hotspot.

[Nate] limits the commands so that only positive things can be displayed, a heart for example. Or you can tweak what’s being displayed by changing the brightness or make the LEDs twinkle. Judging by the crowds we see him attracting in the first video below, we’d say his project was a huge success. In the second video, Nate does a code walkthrough and talks about some of his design decisions.

Continue reading “RCA TV Gets New Life As Interactive Atltvhead”

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”

Use The Force, Luke…to Turn Off Your TV

Have you ever wanted to turn on or off your TV just by thinking about it? We love this hack mainly because it uses an old Star Wars Force Trainer game. You can still buy them for about $40-$80 USD online. This cool little toy was introduced in 2009 and uses a headset with electrodes, and an electroencephalography (EEG) chip. It transmits the EEG data to control a fan that blows air into a tube to “levitate” a ball, all the while being coached on by the voice of Yoda. (Geesh! Kids these days have the best toys!)

[Tinkernut] started by cracking open the headset, where he found the EEG chip made by a company called NeuroSky (talk about a frightening sounding company name). The PCB designer was kind enough to label the Tx/Rx pins on the board, so hooking it up to an Arduino was a snap. After scavenging an IR LED and receiver from an old VCR, the hardware was just about done. After a bit of coding, you can now control your TV by using the force! (Ok, by ‘force’ I mean brainwaves.)  Video after the break.

Note: [Tinkernut’s] blog page should have more information available soon. In the meantime if you can find his Arduino Brain Library on github.

This isn’t the first EEG to TV interface we’ve featured. Way back in 2010 we featured a project that used an Emotiv EPOC EEG headset to turn on and off a TV. But at $400 for the headset, it was a little too expensive for the average Jedi.

Continue reading “Use The Force, Luke…to Turn Off Your TV”

Secret Attic Library Door

We have a pretty good guess where [Krizbleen] hides away any seasonal presents for his family: behind his shiny new secret library door. An experienced woodworker, [Krizbleen] was in the process of finishing the attic in his home when he decided to take advantage of the chimney’s otherwise annoying placement in front of his soon-to-be office. He built a false wall in front of the central chimney obstacle and placed a TV in the middle of the wall (directly in front of the chimney) flanked on either side by a bookcase.

If you touch the secret book or knock out the secret sequence, however, the right-side bookcase slides gently out of the way to reveal [Krizbleen’s] home office. Behind the scenes, a heavy duty linear actuator pushes or pulls the door as necessary, onto which [Krizbleen] expertly mounted the bookcase with some 2″ caster wheels. The actuator expects +24V or -24V to send it moving in one of its two directions, so the Arduino Uno needed a couple of relays to handle the voltage difference.

The effort spent here was immense, but the result is seamless. After borrowing a knock-detection script and hooking up a secondary access button concealed in a book, [Krizbleen] had the secret door he’d always wanted: albeit maybe a bit slow to open and close. You can see a video of its operation below.

Continue reading “Secret Attic Library Door”