how much equipment needed for robot arm control?

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Re: how much equipment needed for robot arm control?

Postby kgraf » Thu Feb 07, 2013 4:14 pm

We have more or less decided to get digital servos? Do you recommend a servo
control board? We are considering adding a rotating elbow, so we might have
7 servos to drive.
kgraf
 
Posts: 38
Joined: Fri Nov 16, 2012 3:27 pm

Re: how much equipment needed for robot arm control?

Postby adafruit_support_bill » Thu Feb 07, 2013 6:39 pm

I don't have any recommendations there. My experience with digital servos is limited.
User avatar
adafruit_support_bill
 
Posts: 15916
Joined: Sat Feb 07, 2009 9:11 am

Re: how much equipment needed for robot arm control?

Postby kgraf » Fri Feb 08, 2013 10:21 am

https://www.adafruit.com/products/81
2 connections for 5V 'hobby' servos connected to the Arduino's high-resolution dedicated timer - no jitter!

Do you sell anything that can handle more than 2 servos?
kgraf
 
Posts: 38
Joined: Fri Nov 16, 2012 3:27 pm


Re: how much equipment needed for robot arm control?

Postby kgraf » Fri Mar 22, 2013 11:07 am

6 weeks now and we still haven't gotten our servos. we cancelled and re-ordered this week.
Is it possible to create an additional IC2 connection into the arduino mega in addition to pins 20 and 21? we have 3 invensense gyros that don't have SPI - they call sda and scl TWI two wire interface instead of IC2. The gyros only have two selectable addresses. the gyros are invensense mpu-6050
kgraf
 
Posts: 38
Joined: Fri Nov 16, 2012 3:27 pm


Re: how much equipment needed for robot arm control?

Postby kgraf » Sun Mar 24, 2013 5:31 pm

A quick search of the XMega_Manual for TWI and I found
"up to four I2C and SMBUS
compatible two-wire serial interfaces (TWIs);"

Is there an xmega mcu available that has 3 or 4 I2C or TWI connections?
the 2560 board (from adafruit) I am currently using has only 1 at pins 20 and 21.

I do find some two TWI mcu's available
ATxmega256A3
ATxmega192A3
ATxmega128A3
ATxmega64A3
and another reference to 4 TWI
http://www.atmel.com/products/microcont ... xmega.aspx
High Integration — XMEGA devices integrate AES and DES crypto modules, up to 32 PWM outputs, 8 UART, 4 TWI (I2C) and 4 SPI channels, a CRC generator module, and more.
kgraf
 
Posts: 38
Joined: Fri Nov 16, 2012 3:27 pm

Re: how much equipment needed for robot arm control?

Postby kgraf » Wed Mar 27, 2013 3:38 pm

asked and answered:

the ATxmega128A1U has 4 TWI on ports C D E F
pins 15 16 25 26 35 36 45 46

I do have another question:
Our digital servo and analog servo both test fine on a test code - rotate 180 degrees cw and ccw
then we hook the sensor to drive the analog servo and it works fine
then we hook the sensor to the digital servo and nothing happens
we check the signal on a scope and the signal is fine

does this sound like any common problem with analog compared to digital servo performance?
kgraf
 
Posts: 38
Joined: Fri Nov 16, 2012 3:27 pm

Re: how much equipment needed for robot arm control?

Postby kgraf » Wed Mar 27, 2013 6:48 pm

asked and answered again!

We resolved the issues it turned out that the solar motors have a lower baud range than the arduino software assumes. The motors still go from 0 to 180 degrees but the difference in the the baud rate is lower. We got the motors to react properly to change in sensor readings so we just need to remember this when fine turning the code.
kgraf
 
Posts: 38
Joined: Fri Nov 16, 2012 3:27 pm

Re: how much equipment needed for robot arm control?

Postby kgraf » Mon May 06, 2013 7:46 pm

concluding post:
thank you for your responses and info,
the project was moderately successful considering we only worked on it for 4 weeks because of a 7 week delay in getting servo motors. Anyone interested in the project can view the course required documentation at
http://www.eecs.ucf.edu/seniordesign/fa2012sp2013/g10/
kgraf
 
Posts: 38
Joined: Fri Nov 16, 2012 3:27 pm

Re: how much equipment needed for robot arm control?

Postby adafruit_support_bill » Tue May 07, 2013 5:22 am

This has to be one of the longest running threads on the forum. Thanks for posting your results! :)
User avatar
adafruit_support_bill
 
Posts: 15916
Joined: Sat Feb 07, 2009 9:11 am

Previous

Return to Microcontrollers

Who is online

Users browsing this forum: No registered users and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [105]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]