Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Isadora: User Patches, Tips & Tricks:
Arduino and servos from isadora

 

 


jhoepffner
User

Apr 21, 2007, 12:19 PM

Post #1 of 3 (1899 views)
Shortcut
Arduino and servos from isadora Can't Post

Hello,

I just prepared for a workshop a patch to interfere with arduino and servos, useful to have a black flag to shut completely the lens of a VP and also to move miror in front of lens as to move the image.

The patch is for 2 servos but can work for 1, 3 or more (not tested for ten…)

I hope you enjoy it

Jacques
Attachments: IsadoraArduinoServos.zip (2.12 KB)


jhoepffner
User

Jun 11, 2008, 10:47 AM

Post #2 of 3 (1064 views)
Shortcut
Re: [jhoepffner] Arduino and servos from isadora [In reply to] Can't Post

second step

Thats it, an easy way to communicate between Isadora and arduino, in the two way… it's experimental but it work for me with 4 motors and 6 pots.
Dont forget to instal the FTDI driver (it's included in the arduino software install), to choos the right serial connection (in Mac something like usbserial-A6004arV, more tricky in windows for COMX reasons), to choose the right speed (19200 for my sample), No Parity, 8 bits, no flow control.

Do not use the same serial connection with 2 softwares and close your connection before to unplug arduino (can cause crashes).

If you use more than 1 servo, USB is not suffisant, use an external power through the barrel, with the right voltage (6V for servos) and use Vin to feed your servos.

All the references concerning arduino are in the arduino website :
http://www.arduino.cc then playground

Enjoy it and give me some feedback !

Jacques

Attachments: IsadoraToArduinoToIsadora04.zip (69.6 KB)


fubbi
Novice


Jun 18, 2008, 10:09 AM

Post #3 of 3 (624 views)
Shortcut
Re: [jhoepffner] Arduino and servos from isadora [In reply to] Can't Post

Compiling the script in arduino is halted by this error, and in my ignorance I have no idea what to do:


Code
 In function 'void loop()': 
error: 'refresh' is not a member of 'Servo


I can confirm that there is no such function in the Servo.h script, so what does it mean?

also, when opening your izzy file she complains about a missing actor:


Code
Send Serial Data (ID = '_Ssd')


EDIT: this one error was resolved by using isadora v 1.2.9.3

most greatful for any help and I am sorry if I am missing something obvious.

yours

fubbi


(This post was edited by fubbi on Jun 18, 2008, 10:12 AM)

 
 
 


Search for (options) copyright © TroikaTronix 2007