Dino is a ruby gem that helps you bootstrap prototyping with an Arduino
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin Print usage on run without params Jul 3, 2016
examples Use the Arduino Servo lib to make servos work better Mar 23, 2013
lib Added value attribute to Sensor to allow for analog read Nov 20, 2013
spec Merge pull request #67 from efatsi/master Dec 5, 2013
src 0.11.3 patch release Aug 19, 2013
.gitignore Started reorganising components Sep 23, 2012
.rvmrc add rvmrc to the repo Sep 18, 2012
.travis.yml update travis.yml to use bundle exec Nov 6, 2012
CHANGELOG.md 0.11.3 patch release Aug 19, 2013
Gemfile Working blink, tx_rx untested. Sep 16, 2012
LICENSE initial commit Sep 13, 2012
README.md
Rakefile Default rake task runs specs. Nov 10, 2012
dino.gemspec Version bump. Added a change log. Mar 1, 2013

README.md

Dino 0.11.3

Build Status

Get Started In No Time

Dino lets you start programming your Arduino with Ruby in minutes.

Install the Gem

gem install dino

Prepare the Bootstrapper

Use the included command line tool to create a folder with the Arduino sketch you want to use and optionally configure it.

# If connecting via serial, USB or ser2net, this is all you should need:
dino generate-sketch serial

# If usng the ethernet shield, you'll want to specify unique MAC and IP addresses:
dino generate-sketch ethernet --mac XX:XX:XX:XX:XX:XX --ip XXX.XXX.XXX.XXX

# For more options:
dino help

Note: Current Ethernet shields come with a sticker indicating the MAC address you should use with them. For older shields without a dedicated MAC address, inventing a random one should work, but don't use the same one for multiple boards. Valid IP addresses depend on the configuration of your network.

Upload The Bootstrapper

  • Connect the Arduino to a USB port on your machine, regardless of which sketch you're using.
  • Open the normal Arduino IDE
  • Open the .ino file in the sketch folder you just generated.
  • Click the upload button (an arrow).

Verify Install

  • Build the sample circuit examples/led/led.png
  • From your terminal, execute ruby examples/led/led.rb
  • Observe your LED blinking continuously

Examples and Tutorials

Circuits and Programs

Explanatory Talks