A simple Arduino project driven by johnny-five, to print some usefull information on LCD screen.
Fritzing diagram: arduino-station.fzz
You can find STL files here
Install Firmata on your Arduino Then:
$ git clone git@github.com:mhor/arduino-station.git
$ npm install
$ node app.js
type
: step typeenabled
: enabled stepduration
: duration of step
{
"type": "datetime",
"enabled": true,
"duration": 5000,
"format": {
"date": "LLLL",
"time": "llll"
}
}
format.date
: Moment.js format of first lineformat.time
: Moment.js format of second line
{
"type": "weather",
"enabled": true,
"duration": 5000,
"city": "Paris",
"lat": 48.8534100,
"long": 2.3488000
}
city
: This text will be print on first linelat
: Latitude neededlong
: Longitude needed
{
"type": "lastfm-last-played-track",
"enabled": true,
"duration": 5000,
"username": "mhor_"
}
username
: username of LastFM account
{
"type": "lastfm-current-track",
"enabled": true,
"duration": 5000,
"username": "mhor_"
}
username
: username of LastFM account
{
"type": "lastfm-total-playcount",
"enabled": true,
"duration": 5000,
"username": "mhor_"
}
username
: username of LastFM account
{
"type": "lastfm-today-playcount",
"enabled": true,
"duration": 5000,
"username": "mhor_"
}
username
: username of LastFM account
{
"arduino": {
"controller": "PCF8574",
"rows": 2,
"cols": 16
},
"lastfm": {
"key": "d41d8cd98f00b204e9800998ecf8427e"
},
"darksky": {
"key": "d41d8cd98f00b204e9800998ecf8427e"
}
}
arduino
: your arduino lcd configuration passed on LCD constructionlastfm.key
: Your LastFM keydarksky.key
: Your Darksky key
See full example configuration here
See LICENSE
for more information