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”

Hackaday Prize Entry: Adblock For TV

Contact, the 1985 book by Carl Sagan, was significantly better than the movie. Five people went through the wormhole, three machines were made (in Russia, Wyoming, and a third on Hokkaido), Erbium did something, and the novelization provided much better worldbuilding. One of the more interesting characters in the book was H.R. Haddon, the megalomaniacal business man, made his first million designing a chip that would block advertisements on TV. The book strongly suggests this commercial-blocking chip was a purely analog device, a concept that would have been an amazing abuse of NTSC produced by a damn fine engineer.

Now, even though cord cutting is commonplace and streaming is taking over, there’s still commercials on Hulu. In a few months, I’ll have to pay $5 a month to watch Star Trek with commercials. There is obviously a market for ‘adblock for TV’, and that’s what [PixJuan] is doing for his Hackaday Prize entry.

[Juan]’s device is a basically an HDMI switch with a remote that’s pressed every time the ads start to show on a broadcast. This switch will change the input of the HDMI switch from a cable box to a Raspberry Pi and play a short video clip or something else that isn’t selling you crap. When the Raspi is done, the switch goes back over to the original input.

With a bit of computation in this adblock-for-TV device, there are a few more options for ad detection. The Raspberry Pi could build a database of when ads play and for how long, depending on the channel. This is a great project that has a lot of potential to use some interesting techniques like computer vision and machine learning for the goal of removing commercials before they start.

Tricking Duck Hunt To See A Modern LCD TV As CRT

A must-have peripheral for games consoles of the 1980s and 1990s was the light gun. A lens and photo cell mounted in a gun-like plastic case, the console could calculate where on the screen it was pointing when its trigger was pressed by flashing the screen white and sensing the timing at which the on-screen flying spot triggered the photo cell.

Unfortunately light gun games hail from the era of CRT TVs, they do not work with modern LCDs as my colleague [Will Sweatman] eloquently illustrated late last year. Whereas a CRT displayed the dot on its screen in perfect synchronization with the console output, an LCD captures a whole frame, processes it and displays it in one go. All timing is lost, and the console can no longer sense position.

[Charlie] has attacked this problem with some more recent technology and a bit of lateral thinking, and has successfully brought light gun games back to life. He senses where the gun is pointing using a Wiimote with its sensor bar on top of the TV through a Raspberry Pi, and feeds the positional information to an Arduino. He then takes the video signal from the console and strips out its sync pulses which also go to the Arduino. Knowing both position and timing, the Arduino can then flash a white LED stuck to the end of the light gun barrel at the exact moment that part of the CRT would have been lit up, and as far as the game is concerned it has received the input it is expecting.

He explains the timing problem and his solution in the video below the break. He then shows us gameplay on a wide variety of consoles from the era using the device. More information and his code can be found on his GitHub repository.

Continue reading “Tricking Duck Hunt To See A Modern LCD TV As CRT”

Not Quite 101 Uses For An Analog UHF TV Tuner

Young electronics hackers today are very fortunate to grow up in an era with both a plethora of capable devices to stimulate their imagination, and cheap and ready access to them. Less than the price of a hamburger meal can secure you a Linux computing platform such as the Raspberry Pi Zero, and a huge choice of sensors and peripherals are only an overnight postage envelope away.

Casing back a few decades to the 1980s, things were a little different for electronically inclined youth. We had the first generation of 8-bit microcomputers but they were expensive, and unless you had well-heeled parents prepared to buy you a top-end model they could be challenging to interface to. Other electronic parts were far more expensive, and mail order could take weeks to deliver the goods.

For some of us, this was not a problem. We simply cast around for other sources of parts, and one of the most convenient was the scrap CRT TV you’d find in nearly every dumpster in those days before electronic recycling. If you could make it from 1970s-era consumer-grade discrete components, we probably did so having carefully pored over a heap of large PCBs to seek out the right component values. Good training, you certainly end up knowing resistor colour codes by sight that way.

Continue reading “Not Quite 101 Uses For An Analog UHF TV Tuner”

Retrotechtacular: How Solidarity Hacked Polish TV

In the 1980s, Poland was under the grip of martial law as the Communist government of General Wojciech Jaruzelski attempted to repress the independent Solidarity trade union. In Western Europe our TV screens featured as much coverage of the events as could be gleaned through the Iron Curtain, but Polish state TV remained oblivious and restricted itself to wholesome Communist fare.

In September 1985, TV viewers in the city of Toruń sat down to watch an action adventure film and were treated to an unexpected bonus: the screen had a brief overlay with the messages “Solidarity Toruń: Boycotting the election is our duty,” and “Solidarity Toruń: Enough price hikes, lies, repression”. Sadly for the perpetrators, they were caught by the authorities after their second transmission a few days later when they repeated the performance over the evening news bulletin, and they were jailed for four months.

The transmission had been made by a group of dissident radio astronomers and scientists who had successfully developed a video transmitter that could synchronise itself with the official broadcast to produce an overlay that would be visible on every set within its limited transmission radius. This was a significant achievement using 1980s technology in a state in which electronic components were hard to come by. Our description comes via [Maciej Cegłowski], who was able to track down one of the people involved in building the transmitter and received an in-depth description of it.

Transmission equipment seized by the Polish police.
Transmission equipment seized by the Polish police.

The synchronisation came courtesy of the international effort at the time on Very Long Baseline Interferometry, in which multiple radio telescopes across the world are combined to achieve the effect of a single much larger instrument. Before GPS made available a constant timing signal the different groups participating in the experiment had used the sync pulses of TV transmitters to stay in time, establishing a network that spanned the political divide of the Iron Curtain. This expertise allowed them to create their transmitter capable of overlaying the official broadcasts. The police file on the event shows some of their equipment, including a Sinclair ZX Spectrum home computer from the West that was presumably used to generate the graphics.

There is no surviving recording of the overlay transmission, however a reconstruction has been put on YouTube that you can see below the break, complete with very period Communist TV footage.

Continue reading “Retrotechtacular: How Solidarity Hacked Polish TV”

Custom Case Lends Retro Look To Smart TV

Refits of retro TVs and radios with the latest smart guts are a dime a dozen around Hackaday. And while a lot of these projects show a great deal of skill and respect for the original device, there’s something slightly sacrilegious about gutting an appliance that someone shelled out a huge portion of their paycheck to buy in the middle of the last century. That’s why this all-new retro-style case for a smart TV makes us smile.

GE 806 restored by Steve O'Bannon
1940s GE 806 restored by Steve O’Bannon

Another reason to smile is the attention to detail paid by [ThrowingChicken]. His inspiration came from a GE 806 TV from the 1940s, and while his build isn’t an exact replica, we think he captured the spirit of the original perfectly. From the curved top to the deep rectangular bezel, the details really make this a special build. One may quibble about not using brass for the grille like the original and going with oak rather than mahogany. In the end though, you need to work with the materials and tooling you have. Besides, we think the laser cut birch ply grille is pretty snazzy. Don’t forget the pressure-formed acrylic dome over the screen – here’s hoping that our recent piece on pressure-forming helped inspire that nice little touch.

This project was clearly a labor of love – witness the bloodshed after a tangle with a tablesaw while building the matching remote – and brought some life to an otherwise soulless chunk of mass-produced electronics.

[via r/DIY]

TV Stick Out-Raspberries Raspberry Pi

Android-based TV sticks should be in more projects. They are readily available and inexpensive. They have a lot of horsepower for the price, and they can even boot a mainline Linux kernel, unlike some single-board computers we know. They’re smaller than the Pi Zero, so they’ll fit almost anywhere.

The one thing they don’t have, though, is I/O. Sure, it’s got a USB port, but that’s just about it. [Necromant] considered these problems and created a carrier board that fixes all that.

  • On-board 3A DC-DC. You can power the whole thing with anything from 7 to 24 volts DC
  • A 4-Port USB hub
  • An ATtiny 2313, connected to the hub via the V-USB stack
  • 2 USB ports on the back, with power control via GPIO lines
  • One USB port on the front (with power always on)
  • 3 relays
  • Fits a common anodized aluminum enclosure

The ATtiny code is on GitHub and allows for full I/O control, saving the state of the pins in EEPROM, and providing up to eight channels of servo control. The device connects through the USB port (consuming one port on the hub).

Repurposing consumer gear for embedded service is nothing new. We’ve seen it with phones. We’ve even seen remotes used as a mouse. But this is such a nice template for adding cheap and easy computing power to your projects that we’re surprised we don’t see it more often. Why aren’t you hacking a TV stick into your projects?