A few years ago, Alec Smecher’sboss broughthim a souvenirfrom Mexico City:a tinytelevisionconsole made of scrap wood, tinfoil and cardboard. Turns out, this little trinket becomes aperfectly good mini TV when paired with the screen of an oldI9000 Android phone that he had lying around.
“Of course, no tiny console is complete without a clunky remote,” Smecher jokes. For this, the Maker chosealarge clicker which ironicallywas larger than the TVitself.There was plenty of room inside the remotefor a non-LE Bluefruitmodule from Adafruit, which could communicate with theI9000.
“The big consideration was how to interface the remote control to the phone. I considered using USB OTG, Wi-Fi, and/or writing some custom software on the phone, but in the end I googled the I9000’s Bluetooth support and found that it was decent, though old, and would happily accept a keyboard or mouse,” Smecher explains.
However, Bluefruit doesn’t support matrix keypads. This ledthe Maker to implementa barebonesATmega328 that wasconfigured to run its own internal clock source. Since the Adafruitboard provides voltage regulation that’s usable bythe additional MCU, theremote was able to keepits stock9V battery power supply.
In terms of software, Smecher says that source code was fairlysimple — heemployed the Arduino Keypad Library and translated keypresses into mouse and keyboard commands for the Bluefruit usingtheserial interface.Looking ahead, he notes that he mayrefine the keys and devise a new template for the remote buttons, but fornow it’s good to go. Intrigued? Click on over to the project’s original page or staytuned to see it in action below!
- 1CSS基础篇--使用position:sticky 实现粘性布
- 3Echarts dataZoom缩放功能参数详解：
- 5iOS内存深入探索之VM Tracker
- 7010 有顺序的Map的实现类：TreeMap和LinkedHash
- 8java date实现加一天，年月日类推往后+1，日期+1，
- 9Android Studio报错Unable to resolve depend