This hardware twitter client brings that lo-fi/cyberpunk vibe to otherwise mundane twitter feed viewing. I did not make any enclosure on purpose I like it this way :)
It shows tweets in a loop. Arduino dock has enough memory to hold 30 32-char pages, so it loops through them, adding new tweets as they arrive. Up/down buttons change screen brightness and left/right scroll through tweets.
AssemblyThere are only three components and only one way to assemble them :) Put your Omega inside Arduino Dock, and LCD Keypad Shield on top of Arduino Dock's headers. Plug the power into Arduino Dock via either 9v into DC barrel or 5v to micro-USB port.
Installing softwareI assume that you have already configured your Omega to have internet connectivity. If not, start here: https://docs.onion.io/omega2-docs/first-time-setup.html
There are few things to be installed onto your Omega (I use Omega2+). Ssh to it and run following commands:
opkg update
opkg install git git-http python python-pip pyOnionI2C
pip install --upgrade pip
pip install python-twitter
opkg install arduino-dock-2
Paste your Twitter API keys and user ids that you wish to subscribe to config file:
cp config.ini.example
vim
You can get your API keys here: https://apps.twitter.com/ And convert twitter usernames to ids here: http://gettwitterid.com/
Upload python code to your Omega2:
scp config.ini get_tweets.py run.sh root@omega-XXXX.local
Substitute XXXX to last digits of your Omega MAC address.
Upload Arduino sketch to your Onion Arduino Dock R2 as described here: https://docs.onion.io/omega2-docs/flash-arduino-dock-wirelessly.html
Then you can ssh to your Omega and run ./run.sh
. Script is working in streaming mode, so you'll have to wait until it gets some tweets. You can add run.sh
to /etc/rc.local
if you wish script to run on boot.
Enjoy your cool hardware twitter client. Add power bank for portability, share wifi from your phone and you'll be coolest guy/gal around :)
Comments