display real-time sensor values on WebBrowser
- Ruby 1.8.7+
- Sinatra RocketIO
- ArduinoFirmata on Ruby
- CdS - ADC0
- Temperature sensor LM35DZ - ADC1
% gem install bundler
% bundle install
% rackup config.ru -p 5000
config WebSocket port and Arduino
% ARDUINO=/dev/tty.usb-devicename WS_PORT=5001 rackup config.ru -p 5000
% ruby bin/client.rb
% ruby bin/client.rb http://localhost:5000 comet