百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

dino

> 编程语言
开源

Dino 是一个 Ruby 宝石,可帮助您使用 Arduino 启动原型设计。

385 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

Dino 是一个 Ruby 宝石,可帮助您使用 Arduino 启动原型设计。

:warning: This repo is no longer maintained!

Please use denko instead. It's identical other than the name, and being up to date. I've reset the master branch of this repo to match the last Rubygems release. - @vickash

Dino 0.11.2

Get Started In No Time

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

Install the Gem

bash
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.

bash
# 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 example/led/led.rb
  • Observe your LED blinking continuously

Examples and Tutorials

Circuits and Programs

  • Take a look in the example directory for small component examples
  • Try Getting Started with Arduino and Dino from Jumpstart Lab, building a number-guessing game and a simple nightlight
  • An example rails app using Dino and Pusher
  • For a Sinatra example look at the site used to shoot the cannon at RubyConf2012

Explanatory Talks

  • "Arduino the Ruby Way" at RubyConf 2012
    • Video by ConFreaks
    • Slides on SpeakerDeck

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言