Skip to content

c9dong/Twitter-Bot

Repository files navigation

Twitter-Bot 8000

Robots. Twitter. Googly eyes.

Twitter-Bot is a social robot that loves to follow all the latest trends in locomotion, such as "forward", -"backward", "left", and "right"!

Twitter-Bot is made from servos, breadboards, and a Raspberry Pi as the brains of the whole outfit. The Twitter client is written in Python, dipping into the Twitter API using Tweepy.

Just turn it on, then tweet @BlueberryPii forward to try it out! Valid commands are forward, backward, left, and right (e.g., @BlueberryPii move forward!, go left @BlueberryPii!.

This repository contains various working files used in the process of creating the robot, plus photos!

Pictures

![Main](Pictures/2015-02-22 02.40.37.jpg)

![Computer](Pictures/2015-02-22 02.42.52.jpg)

![Bottom](Pictures/2015-02-22 02.43.21.jpg)

![Power](Pictures/2015-02-22 02.43.46.jpg)

![Top](Pictures/2015-02-22 02.44.12.jpg)

Run it yourself

All the scripts run on the Raspberry Pi. In our setup, we ran everything on Raspbain with a Raspberry Pi 1 model B+.

First, make sure you have all the dependencies:

sudo apt-get install python python-pip
pip install --upgrade pip # upgrade pip in order to fix a bug when retrieving tweepy (the version in the Raspbain repositories are outdated)
sudo pip install tweepy

Now we can run the program:

sudo python TwitterBotAsync.py # needs to be run as root in order to access the Raspberry Pi GPIO

About

Robot that reads tweets and does actions accordingly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages