GithubHelp home page GithubHelp logo

arduino-station's Introduction

Arduino Station

Summary

A simple Arduino project driven by johnny-five, to print some usefull information on LCD screen.

Result

ArduinoStationSchema ArduinoStationSchema

Schema

ArduinoStationSchema

Fritzing diagram: arduino-station.fzz

3D Printable Case

You can find STL files here

Installation

Install Firmata on your Arduino Then:

$ git clone [email protected]:mhor/arduino-station.git
$ npm install
$ node app.js

Plugins:

Global Plugins configuration:

  • type: step type
  • enabled: enabled step
  • duration: duration of step

Datetime:

{
    "type": "datetime",
    "enabled": true,
    "duration": 5000,
    "format": {
        "date": "LLLL",
        "time": "llll"
    }
}
  • format.date: Moment.js format of first line
  • format.time: Moment.js format of second line

Wheather:

{
    "type": "weather",
    "enabled": true,
    "duration": 5000,
    "city": "Paris",
    "lat": 48.8534100,
    "long": 2.3488000
}
  • city: This text will be print on first line
  • lat: Latitude needed
  • long: Longitude needed

LastFM last played track

{
    "type": "lastfm-last-played-track",
    "enabled": true,
    "duration": 5000,
    "username": "mhor_"
}
  • username: username of LastFM account

LastFM current track

{
    "type": "lastfm-current-track",
    "enabled": true,
    "duration": 5000,
    "username": "mhor_"
}
  • username: username of LastFM account

LastFM total playcount

{
    "type": "lastfm-total-playcount",
    "enabled": true,
    "duration": 5000,
    "username": "mhor_"
}
  • username: username of LastFM account

LastFM today playcount

{
    "type": "lastfm-today-playcount",
    "enabled": true,
    "duration": 5000,
    "username": "mhor_"
}
  • username: username of LastFM account

Other Configuration:

{
	"arduino": {
		"controller": "PCF8574",
		"rows": 2,
		"cols": 16
	},
	"lastfm": {
		"key": "d41d8cd98f00b204e9800998ecf8427e"
	},
	"darksky": {
		"key": "d41d8cd98f00b204e9800998ecf8427e"
	}
}
  • arduino: your arduino lcd configuration passed on LCD construction
  • lastfm.key: Your LastFM key
  • darksky.key: Your Darksky key

See full example configuration here

License

See LICENSE for more information

arduino-station's People

Contributors

mhor avatar

Watchers

 avatar  avatar

arduino-station's Issues

Add button support

On button down execute a command, for example:

  • lower the volume
  • turn up the volume
  • previous track
  • next previous track
  • play / pause music player

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.