Thanks to the recent contributions on the community, and with some help from the team members at Spark, I was able to complete a Spark Core project this weekend. It’s a twitter magnet that displays tweets on a simple/cheap 16x2 LCD screen.
I’m more of a hardware guy, so the node.js code may not be upto the standards. But it works!
There is an LDR to measure the ambient light in the room and control the LCD backlight accordinly. I’ve also added a temperature sensor (TMP36) - just because
Thanks kennethlimpc!
I’d like to use this to display feeds, without a constantly running ‘real’ computer (energy saving). What do you mean by ‘server hosted outside’?.
Been thinking about a Raspberry, but shouldn’t that single job be possible on the STM32?
Many thanksfor your thoughts!
kbl, just to support what kennethlimcp was saying, HTTPS requires a lot of overhead to manage security certificates and is not feasible on the Core. So using the cloud to do that part via a 3rd party or the “coming soon” webhooks is necessary but I also believe better since it offloads processing from the Core
Thanks kennethlimpc and peekay123 - I’m looking forward to webhooks.
Although, adafruit’s printer receives tweets with just a basic arduino - at first glance, it should be possible to replace the ethernet shield with a CC3000 (breakout, not the spark core).
Maybe I need to remove that STM32 from my core
Of course, these thoughts are theoretical and don’t compare with realised projects such as twitter-magnet (well done!)
I’m trying to create a twitter app as per the instructions on the git for the project… but I don’t understand what I’m doing…
I cant even get past the first step!
Step one is to go to api.twitter.com and create a new app… so i named it “SparkTorch” and gave it a description of “Send spark torch a message” there is then a required field of website… what do i put in that box? and do i need the callback URL too?
Am i creating a web server using node and linking the twitter app to that website? is that the overall idea?