Skip to content

vicnala/potentiometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Potentiometer

A simple proof of concept of Meteor with electronics, see this demo:

![Demo data graph](README IMAGEs/demo.png)

Arduino

Connect a potentiometer to your Arduino board.

![Connecting a potentiometer to Arduino and Servo](README IMAGEs/wiring.png)

Then upload the Arduino sketch node_serial_client.ino:

Meteor

To install Meteor run:

$ curl https://install.meteor.com | sh

Run the Meteor app

$ cd potentiometer/meteor
$ meteor

Browse to http://localhost:3000

The Gateway

The gateway is a node Meteor client that stands for data at the serial port to send to the Meteor app.

Install Node.js

Go to the Node download site.

Install node required packages

$ npm install ddp
$ npm install serialport

The client node app

Using: https://github.com/voodootikigod/node-serialport with lots of examples!

Run the Node app

$ node node-client.js

Enjoy!

About

A simple proof of concept of Meteor with electronics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors