In a previous post ( http://robotsandphysicalcomputing.blogspot.co.uk/2016/05/playing-7bot-robot-arm.html ) I discussed starting to set up the 7bot robot arm ( https://www.kickstarter.com/projects/1128055363/7bot-a-powerful-desktop-robot-arm-for-future-inven ) . I have still to set up the gripper. This post document my first tentative steps with playing with it. The code below was used to try and get my head around the positioning of the arm - which servo does what (a good guide for this has been provide by the company online) and what the changing angle on the servos actual does. Essentially the code puts the arm in a starting position and varies the angles from there in usually in 15 or 30 degree increments over seven positions. #include <Servo.h> #include <DueFlashStorage.h> #include <Arm7Bot.h> Arm7Bot Arm; void setup() { // initial 7Bot Arm Arm.initialMove(); } void loop() { // set motor[0] speed to 100 Arm.maxSpeed[0] ...
Robots and getting computers to work with the physical world is fun; this blog looks at my own personal experimenting and building in this area.