69
3
Digital I/O
Arduino MEGA has 14 digital input/output
pins (of which 6 can be used as PWM
outputs).These pins can be configured as
digital input pin to read the logic value (0 or
1). Or used as digital output pin to drive
different modules like LED, relay, etc.
Using
, and
functions.
4
GND
GND
5
AREF
Reference voltage (0-5V) for analog inputs.
Used with
Configures the reference voltage used for
analog input (i.e. the value used as the top
of the input range).
6
SDA
IIC communication pin
7
SCL
IIC communication pin
8
RESET
Button
You can reset your Arduino board,
9
D13 LED
There is a built-in LED driven by digital pin
13. When the pin is HIGH value, the LED is
on, when the pin is LOW, it's off.
Summary of Contents for 4DOF
Page 1: ...Keyestudio 4DOF Robot Arm Kit for Arduino DIY...
Page 12: ...9 4 Assembly Guide 1 Install the base of the robotic arm Components Needed...
Page 13: ...10...
Page 14: ...11...
Page 15: ...12...
Page 16: ...13 The base is installed successfully...
Page 17: ...14 2 Mount servos onto the base Components Needed...
Page 18: ...15...
Page 19: ...16 Assemble a servo left onto the left board...
Page 20: ...17 Components Needed...
Page 23: ...20...
Page 24: ...21 a Fix the arm...
Page 25: ...22...
Page 26: ...23 Mount a servo right onto the right board Components Needed...
Page 27: ...24 Note the breach direction of acrylic board...
Page 30: ...27...
Page 31: ...28...
Page 32: ...29 Install the holder part...
Page 33: ...30 Fix the left part and the mount part together...
Page 34: ...31...
Page 35: ...32 Fix the right part and the ABS holder together...
Page 36: ...33 Note the direction of the ABS holder...
Page 37: ...34...
Page 38: ...35...
Page 39: ...36...
Page 40: ...37 Install the middle part...
Page 41: ...38...
Page 42: ...39...
Page 43: ...40...
Page 44: ...41...
Page 45: ...42...
Page 46: ...43...
Page 47: ...44 Assemble the claw...
Page 48: ...45...
Page 49: ...46...
Page 50: ...47...
Page 51: ...48...
Page 55: ...52...
Page 56: ...53 Components Needed...
Page 57: ...54...
Page 61: ...58...
Page 62: ...59 Mount the control part...
Page 63: ...60...
Page 64: ...61 Wiring up Guide...
Page 65: ...62...
Page 66: ...63...
Page 67: ...64...
Page 68: ...65...
Page 79: ...76 Click OK to enter the following page Click browse my computer for updated driver software...
Page 82: ...79 3 Arduino IDE Setting...
Page 85: ...82...
Page 88: ...85 Project 2 4DOF Rotation and Pin Control 1 Joint Rotation and Servo Angle Settings...
Page 102: ...99 set the baud rate to 9600 you should see the analog value of the right Joystick pin X Y...
Page 105: ...102 www keyestudio com...
Page 147: ...144 www keyestudio com...
Page 168: ...165 www keyestudio com Test Code void setup Serial begin 9600 set the serial baud rate to 9600...
Page 173: ...170 www keyestudio com...