I have connected a Mega ADK and am trying to move the braccio arm for the first time but it doesnt move on uploading an example TestBraccio90. I am able to successfully compile and verify the test program - there are no errors. I am also able to run the test blink example on arduino with the light on Mega ADK blinking but I cant seem to figure out why doesnt the arm move on compiling the testBraccio90. please Help!
Don't assume we have details of your project, post all the details - full details of hardware and the code
(note that means datasheets / product pages for the hardware, not your verbal description). This
saves much time and cross-questioning
My Bad, Its a tinkerkit Braccio arm , one can use examples under the braccio library within the arduino studio.
The example that Iam trying to run is on this link to
Heres the code :
/*
testBraccio90.ino
testBraccio90 is a setup sketch to check the alignment of all the servo motors
This is the first sketch you need to run on Braccio
When you start this sketch Braccio will be positioned perpendicular to the base
If you can't see the Braccio in this exact position you need to reallign the servo motors position
Created on 18 Nov 2015
by Andrea Martino
This example is in the public domain.
*/
void setup() {
//Initialization functions and set up the initial position for Braccio
//All the servo motors will be positioned in the "safety" position:
//Base (M1):90 degrees
//Shoulder (M2): 45 degrees
//Elbow (M3): 180 degrees
//Wrist vertical (M4): 180 degrees
//Wrist rotation (M5): 90 degrees
//gripper (M6): 10 degrees
Braccio.begin();
}
void loop() {
/*
Step Delay: a milliseconds delay between the movement of each servo. Allowed values from 10 to 30 msec.
M1=base degrees. Allowed values from 0 to 180 degrees
M2=shoulder degrees. Allowed values from 15 to 165 degrees
M3=elbow degrees. Allowed values from 0 to 180 degrees
M4=wrist vertical degrees. Allowed values from 0 to 180 degrees
M5=wrist rotation degrees. Allowed values from 0 to 180 degrees
M6=gripper degrees. Allowed values from 10 to 73 degrees. 10: the toungue is open, 73: the gripper is closed.
*/
// the arm is aligned upwards and the gripper is closed
//(step delay, M1, M2, M3, M4, M5, M6);
Braccio.ServoMovement(20, 90, 90, 90, 90, 90, 73);
I see its a problem with the red err which is lit on the shield, any suggestions to fix this would be appreciated , theres no error anywhere , just a red err LED lit on the shield.
Im using the jack provided which is connected to a socket on a multiplug.
It looks something like this (see attachment) except the one Im using has 6 sockets. Other equipment connected on this works fine.
That is connected via a jack to the Braccio Shield which is mounted on an Arduino wireless SD shield which is mounted on Arduino Mega ADK. I tried it without the Arduino Wireless shield but that does not work either
O.k. the Braccio shield definitely does NOT take main voltage so if you have connected to it with just "a jack" with no electronics inline then it's dead. Not much left to do so I'm giving up. Good luck.
Is there a way to find out the appropriate power supply please . I cant find anything online that instructs on the power supply , with the jack i assumed u could just plug it ...What should the power source be