Chromebook Hack Controls Your Television

chromebook_remote_control1

[Michael Kohn] only accomplished about half of what he set out to, but we still think his TV channel switcher from a Chromebook turned out nicely. When starting the project he wanted to include a grid of listing so that he could choose a specific program, but decided that scraping the data was too much work for this go-round.

The Chromebook doesn’t include an IR transmitter so he built one using an MSP430 chip. He had previously built a little transmitter around an AVR chip and was surprised to find that the internal oscillator on that was quite a bit more accurate than on the MSP430. Timing is everything with the Manchester encoded signals used for IR remote controls so he used his oscilloscope to tune the DCO as accurately as possible.

The app shown on the screen was written in Javascript. Google published some example code on using RS232 with the computer; [Michael] used this resource to provide communications between the computer and the microcontroller.

13 thoughts on “Chromebook Hack Controls Your Television

    1. “Please remember that your membership fee is not a purchase of guide data.”
      That BS just lost me entirely. “We have something you want. You have to pay us $25 to get it, but you’re TOTALLY NOT PURCHASING IT.”

      So then scraping it from someone else is totally not stealing it…

      1. You are licensing the use of the data, not buying the data. Very big difference legally. From an end user stand point you get what you need, you just can’t sell it to others.

        1. Not even licensing it. According to them, the data is entirely incidental to the payment for a membership. But you still can’t get the data without paying them, and they don’t do anything else.

          1. It gets the job done far easier than anything else currently availible, especially scraping sources that regularly see format changes. If you don’t get caught up in the legalese it’s a very affordable option at around 2 dollars a month for accurate listing data, and they have consistently provided the data for many years now.

            I’ve used it for almost three years now with MediaPortal+XBMC along with a HDhomerun and homemade antenna and I couldn’t be happier.

            This hack would probably be more useful with such a DVR portion, which would also allows streaming to mobile devices with the right additional software. Most USB IR remotes including LEDs for IR blasting based on any input (at least with IRServer), making that part relatively trivial. It is cool to see it done with a microcontroller though.

          2. In short, get over it. SD is working within the limits of the contracts they have with the company that provides the data to them. The wording is not really relivant. You pay $25 a year and get to use the data you want. I was around when SD was formed, and even had a hand with a small part of their policy. The potential alternatives were MUCH worse than what we got. I think what we got is a very good deal.

    1. I think most of the value line doesn’t accept a 16MHz crystal directly. Maybe some of the new ones do, but I’m not sure. You can, however, use a low frequency watch crystal and either calibrate the chip permanently for 16MHz operation or set the frequency during runtime using a small library using the crystal as a reference. Many of the bigger value line chips come pre-calibrated, though it still might be necessary to calibrate at runtime for more precise clocks if the chip operates in variable temperatures.

      It’s not too much of a hassle. When I would buy new chips that weren’t 16MHz pre-calibrated, I would just load the calibration program on each of them using a LaunchPad with a watch crystal attached. The settings get stored in flash. In most applications this was accurate enough to then operate without any crystal thereafter, even when doing serial communications.

  1. This is awesome. They should really think about unifying there devices. Google TV’s being controlled by any google device that is on the same wifi network i.e. chromebook, android phone, android tablet. iOS is doing it why cant we?

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.