12.07.2015 Views

Programming Manual Elektor Proton Robot - ELEKTOR.se

Programming Manual Elektor Proton Robot - ELEKTOR.se

Programming Manual Elektor Proton Robot - ELEKTOR.se

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Although the signal for the positioning of the <strong>se</strong>rvo is not that hard to generate with amicrocontroller – driving 4 Servo’s together would keep the main microcontroller quite busy. This iswhy we have cho<strong>se</strong>n for a <strong>se</strong>parate microcontroller to drive the<strong>se</strong> <strong>se</strong>rvo’s. This <strong>se</strong>parate Servocontroller is pre-programmed to act as an I2C Slave device.Servo I2C Slave address = 0xAAIndex Write Read Max functionValue0 Servo’s on - off x 0/1/2/3 0= all off; 1= head on; 2= grip on; 3= all on1 Servo pos. head 1 x 0-255 Position 0 - 2552 Servo pos. head 2 x 0-255 Position 0 - 2553 Servo pos. Grip 1 x 0-255 Position 0 - 2554 Servo pos. Grip 2 x 0-225 Position 0 - 2555 Off<strong>se</strong>t head1 x 0-225 Off<strong>se</strong>t value (standard = 128)6 Off<strong>se</strong>t head2 x 0-225 Off<strong>se</strong>t value (standard = 128)7 Off<strong>se</strong>t Grip 1 x 0-225 Off<strong>se</strong>t value (standard = 128)8 Off<strong>se</strong>t Grip 2 x 0-225 Off<strong>se</strong>t value (standard = 128)Bart Huyskens <strong>Manual</strong> <strong>Elektor</strong> <strong>Proton</strong> V1.0 3 April 2011 59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!