Twitter Motor Control

This is a video of a test run using the Arduino to ping a server and run the stepper motor. The server is parsing tweets with the hashtag #rain, counting them, and putting them in a string.

Arduino is pinging the server with a GET request and then searches for a asterisk ‘*’ using the TextFinder library. After it finds the asterisk, it is instructed to store the integers following it. Then Arduino turns the motor shaft based on the tweet count received multiplied by 200.

Twitter-Arduino Code