Skip to content

Software for 10 ft LED matrix sign that runs Arduino Yun pulling from twitter mentions

License

Notifications You must be signed in to change notification settings

tinkersmiths/LEDTwitterWall

Repository files navigation

LEDTwitterWall

Software for 10 ft LED matrix sign that runs Arduino Yun pulling from twitter mentions

The board on the wall now is an Arduino Yun.

250 API calls allowed per month for free. 730 hours in a month >> 1 call every 3 hours (10800000 ms)

Clone instructions

  • git clone
  • create LEDTwitterWall/TwitterMentionsWall/TembooAccount.h with your creds
  • open LEDTwitterWall/TwitterMentionsWall/TwitterMentionsWall.ino sketch in Arduino IDE
  • select Tools->Board-> Arduino Yun
  • select Tools->Port->Arduino Yun WiFi (the-yun-ip)
  • Compile and upload
  • You should be good to go!

The sketches here...

TwitterMentionsWall

The main project, bringing it all together - seems to be an issue with getting NeoPixel_matrix to play with Temboo, OR the Console. maybe interrupts? https://learn.adafruit.com/neopixels-and-servos/overview

Console_Test

The YUN DOES NOT SUPPORT SERIAL OVER WiFi, so you have to use the Bridge with Console.println instead to get output. This is an example to do just that. Start the sketch, then on a computer connected to the same network as the YUN, run ssh root@10.1.10.33 'telnet localhost 6571' where 10.1.10.33 is the ip or hostname of the YUN. Console messages will be sent here.

TwitterTest

USB only test of the Twitter/Temboo pulling code

TwitterTestConsole

WiFi varient of the above, switching out Serial debug messages for Console - same ssh command as above to get it to run.

WallTest

Tests just the LED Matrix with a static message.

MailboxTest

Tests Yun REST API, used to confirm Bridge is functional(Web API->Bridge->Ardruino->Bridge->Console). Requires console connection (use ssh command from Console_Test).

FastLEDTest

Due to the inability of NeoPixel and the bridge to play well together, trying out a different LED driver library. This is a basic test that scrolls through each light.

FastLEDWithTwitterTest

Extension of FastLEDTest adding in the Temboo code.

Configuring the Arduino YUN

Sometimes you need to reset the wifi on the YUN, here are the steps:

  • Press and hold the WLAN RST button for 30 seconds
  • Power cycle the Arduino
  • Connect to the wireless network the arduino sets up (it'll be Arduino-xxxxxx where xxxxx is the MAC address of wifi interface of the YUN)
  • Open a browser and point it to http://192.168.240.1
  • Go into the advanced page and set the WAN (eth1) to be a static IP
  • Apply the settings
  • Goto the basic configure page and setup the WiFi to your local WiFi, once you click apply and the settings are changed, you should be able to connect to it via WiFi, if you can't, then connect an eth cable to it and use the static IP.

Depend Libraries

Some useful references:

The Hardware

  • The Yun with everything connected (green data PIN-6 wire goes to LED Matrix)

  • The matrix (power and ground are all wire paralell, data line is daisy-chained(serial) from one strip to the next)

  • The matrix - other end(power and ground are all common, data line is daisy-chained)

  • Basic 5v power supply to run it (probably can't manage whole thing lit up at once, haven't tried as text doesn't use much)

About

Software for 10 ft LED matrix sign that runs Arduino Yun pulling from twitter mentions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%