Author Topic: ioBridge + Arduino  (Read 907 times)

polymythic

  • Newbie
  • *
  • Posts: 5
ioBridge + Arduino
« on: January 27, 2009, 08:05:42 PM »
Hey there all,

I just thought I would take a moment to pass along another ioBridge project I have worked on.  I have a couple Arduino Diecimelia's lying about, but have not been able to web-enable them until now. 
I had an extra output pin on my servo smartboard, and since its a PWM output anyway, I figured I would just use a PWM value to encode a command (its good enough to tell a servo which position to go to, after all).  So I used the pulseIn() function on the Arduino and an "incomingCommand" line to make the ioBridge and the Arduino talk to eachother.  Works like a charm.

I wanted to 'pretty up' the code with an map of PWM values to function pointers to the lookup would just be a map, and people could add the functions and PWM values easily if they included this PWM-arduino library, but you get the point here.

http://www.polymythic.com/2009/01/arduino-iobridge-airsoft-target-range/

More importantly, the HOW-TO video is here:
http://www.youtube.com/watch?v=Ww8qHa7d3Mw


Happy shooting, or whatever you do with it.

Regards,
Steve

steve@polymythic.com
« Last Edit: January 27, 2009, 11:21:32 PM by polymythic »

Roboteernat

  • Newbie
  • *
  • Posts: 42
    • My IObridge page and website
Re: ioBridge + Arduino
« Reply #1 on: January 28, 2009, 06:56:43 PM »
Very nice - especially the video explanation! am really looking forward to getting my hands on thi and put my arduino's to another use!

thanks!

nat