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.

Activating the <strong>se</strong>rvo’sWriting a value in index 0 will activate the <strong>se</strong>rvo’s. 0 = all <strong>se</strong>rvo’s off / 1 = only <strong>se</strong>rvo’s of head areactive / 2 = only <strong>se</strong>rvo’s of gripper are active / 3 = all 4 <strong>se</strong>rvo’s are activePositioning the <strong>se</strong>rvo’sWriting a value to Index 1-4 will determine the position of each individual <strong>se</strong>rvo. This can be a valuebetween 0-255.The <strong>se</strong>rvo will move as fast as possible to the new position – and will keep the <strong>se</strong>rvo fixed in thisposition.TIP: If you want to slow down the movement of the <strong>se</strong>rvo’s – then you can do this by writing newincremented position values to the <strong>se</strong>rvo controller - with delay’s in between. This will result in quiteheavy I2C traffic – but that is no problem.Off<strong>se</strong>tA <strong>se</strong>rvo in position 128 should take the centre position. If this is not exactly so – then you couldchange the off<strong>se</strong>t value for this specific <strong>se</strong>rvo so that it will position in the centre position.Vibrating headWhen the head moves quite fast to a new position – in some ca<strong>se</strong>s the head starts vibrating. Thereason for this is the electronic circuit in the <strong>se</strong>rvo – that always will try to keep the <strong>se</strong>rvo in thedesired position - and the quite heavy load of the head on the <strong>se</strong>rvo.The internal position measuring unit measures thatthe head has moved a bit over the desired position.The internal electronic circuit of the <strong>se</strong>rvo wants tocompensate this error and moves the <strong>se</strong>rvo back .Now again – the <strong>se</strong>rvo – due to its heavy load of thehead – moves a bit over the desired positionThe internal electronic circuit of the <strong>se</strong>rvo wants tocompensate this error and moves the <strong>se</strong>rvo back.Bart Huyskens <strong>Manual</strong> <strong>Elektor</strong> <strong>Proton</strong> V1.0 3 April 2011 60

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

Saved successfully!

Ooh no, something went wrong!