Comments on: Getting ComputerKrafty: Arduino, Ruby, and Blurry Video of Some Blinking LEDs http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/ Thu, 19 Jun 2014 09:26:37 +0000 hourly 1 By: Greg http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-229 Wed, 08 Aug 2007 11:34:22 +0000 http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-229 Yes, anonymous, it’s true! There’s now a way to program the Arduino in Ruby. It’s my own project! Here’s the post about it:
http://www.urbanhonking.com/ideasfordozens/archives/2007/07/rad_the_first_s_9.html
And here’s the presentation I gave on it at FOSCON:
http://atduskmusic.com/rad_presentation

]]>
By: Anonymous http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-228 Wed, 08 Aug 2007 04:38:45 +0000 http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-228 I just watched a couple of you-tube videos demonstration RAD – Ruby Arduino Development, (see ruby forge) where someone has indeed created a way of turning ruby into Arduino’s C.

]]>
By: Helge André Gudmundsen http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-227 Tue, 08 May 2007 17:35:08 +0000 http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-227 Hi, did you run into any hitches compiling ruby/serialport for OSX? I am trying to do so on my mac mini (10.4.9) with xcode installed, but I get an error message when i run extconf.rb, complaining about a missing file.

]]>
By: Greg http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-226 Thu, 01 Feb 2007 19:10:00 +0000 http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-226 Jose —
Unfortunately there’s no way to get Ruby code into such a constrained environment as the Arduino’s microcontroller, so you’re stuck with C and the sketches. Since Ruby’s implemented in C, I guess that someone way smarter than me might be able to write a Ruby library that would compile into Arduino-compatible C, but I’ve never heard of such a thing.
For most basic purposes, the C needed for Arduino sketches is really not so bad. The Arduino folks wrote kind of a nice DSL for all the basic functions like reading input and sending output. I learned enough C to feel pretty comfortable in about an hour.

]]>
By: Jose http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-225 Thu, 01 Feb 2007 13:04:28 +0000 http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-225 Hi Greg,
I’ve just started to play around with Arduino myself. I read your post on Arduino and Ruby and followed your example. As a ruby developer I’m wondering if there’s a way to skip the Arduino sketch and write the whole thing in Ruby? Will I have to write an Arduino sketch everytime I want to use Ruby?
If you have any other examples please let me know. I hope to write a small set of Ruby to Arduino examples once I become some what familiar with the serialport library.
Thanks for the great content!
Jose

]]>
By: Thomas http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-224 Sat, 09 Dec 2006 19:13:41 +0000 http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-224 So why don’t you guys bring some of your magic tricks down to the next dorkbotpdx meeting? http://dorkbot.org/dorkbotpdx

]]>
By: todbot http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-223 Sat, 09 Dec 2006 17:30:59 +0000 http://urbanhonking.com/ideasfordozens/2006/12/09/getting_computerkrafty_arduino/#comment-223 This is very cool. Ruby Ajax sites + Arduino are next!

]]>