Robotics Training Manual

Size: px
Start display at page:

Download "Robotics Training Manual"

Transcription

1 by Engr. Kyle Erald Hizon 1

2 Overview L298 Dual H-Bridge Motor driver To control different types of motors, you will first need a motor driver. A good example would be the L298 Dual H-Bridge Motor Driver, it can handle 2A and is compatible with the Arduino. This allows you to control the speed and direction of two DC Motors or one single bipolar Stepper Motor with ease. The L298N H-bridge module can be used with motors that have a voltage of between 5V and 35V DC. There is also an onboard 5V regulator, so if your supply voltage is up to 12V you can also source 5V from the board. Materials Experiment 1: Motor Control The materials that you will be needing for this experiments are the following: 1. L298 Dual H-Bridge Motor Driver 2. DC Motor - 2 pc 3. Connecting Wires 4. Arduino 5. Arduino USB Connector 6. Laptop/Computer 7. Power Source Pinouts In order for us to utilize the Motor Driver, we need to understand the connections that are available from the board. From the image on your left you will see the following: (From Left to Right) MotorA - Connection for Motor A (Vcc+GND) VMS - Supply Voltage (5-35V) GND - Ground Connection 5V - 5V source from on Board Regulator MotorB - Connection for Motor B (Vcc+GND) 2

3 From the image on your right you will see: (From Top to Bottom) ENA - MotorA Enable Pin IN1 - MotorA Direction 1 Pin IN2 - MotorA Direction 2 Pin IN3 - MotorB Direction 1 Pin IN4 - Motor B Direction 2 Pin ENB - MotorB Enable Pin GND - Ground Pin +5V - 5V source from on Board Regulator Control Instructions Now that we are familiar with the Pinouts of the board lets now show you how to utilize the pins that we have identified. Enable Motor A - Set ENA to High Disable Motor A - Set ENA to Low Direction 1 - Set IN1 to HIGH and Set IN2 to LOW Direction 2 - Set IN1 to LOW and Set IN2 to HIGH Break/Stop - Set IN1 and IN2 to HIGH Coasting/Standby - Set IN1 and IN2 to LOW The process is same for Motor B. Note: If you are using two motors for control, you must set the pins for both motors for each direction or condition that you want it to be. Let s Begin! To start controlling your DC Motor, we need to connect the control pins to the designated Arduino Pins. Arduino Pin Motor Driver Pin 10 < ENA 2 < IN1 3 < IN2 4 < IN3 5 < IN4 9 < ENB GND < GND If you want to supply your Arduino board with the Motor Driver s 5V supply: 5V < V 3

4 Next, Let s connect your DC Motors and Supply Power to the Motor Driver. VCC+GND Supply GND VCC+GND MOTOR A VMS GND +5V MOTOR B Your connection should look something like on the picture on your right. Now that all your connections are set we can now start uploading the code to your Arduino. Arduino Code /** * Bruno Santos, 2013 * feiticeir0@whatgeek.com.pt * Small code to test DC motors - 2x with a L298 Dual H-Bridge Motor Driver * Free to share **/ //Testing the DC Motors //Define Pins //Motor A int enablea = 10; int pina1 = 2; int pina2 = 3; //Motor B int enableb = 9; int pinb1 = 4; int pinb2 = 5; void setup() Serial.begin (9600); //configure pin modes pinmode (enablea, OUTPUT); pinmode (pina1, OUTPUT); pinmode (pina2, OUTPUT); pinmode (enableb, OUTPUT); pinmode (pinb1, OUTPUT); pinmode (pinb2, OUTPUT); 4

5 void loop() //enabling motor A Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); //do something //forward Serial.println ( Forward ); digitalwrite (pina1, HIGH); digitalwrite (pina2, LOW); //5s forward delay (5000); //reverse digitalwrite (pina1,low); digitalwrite (pina2,high); //5s backwards delay (5000); //stop digitalwrite (enablea, LOW); delay (5000); //enabling motor B //Since motor B is mounted reversed, PINs must be exchanged Serial.println ( Enabling Motor A ); digitalwrite (enableb, HIGH); //do something //forward Serial.println ( Forward ); digitalwrite (pinb1, LOW); digitalwrite (pinb2, HIGH); //5s forward delay (5000); //reverse digitalwrite (pinb1,high); digitalwrite (pinb2,low); //5s backwards delay (5000); //stop digitalwrite (enableb, LOW); delay (5000); This program will simulate your DC Motors by first enabling Motor A for 5 seconds then it will reverse Motor A for another 5 seconds then it will stop for 5 seconds then do the same thing for Motor B. So that s it guys! Make sure to play around the code so that you can create your own program for your own Project! 5

6 Experiment 2: Joystick Control Overview Keyes Joystick Just like a joystick on game console. You can control x, y and z dimensions input by this joystick module. It can be considered as combination of potentiometers and one button. Data type of the x, y dimensions are analog input signals and z dimension is digital input signal. Thus the x and y ports connect to analog pins of Sensor Shield, while z port connects to digital pin. Materials The materials that you will be needing for this experiments are the following: 1. Keyes Joystick 2. Breadboard 3. Connecting Wires 4. Arduino 5. Arduino USB Connector 6. Laptop/Computer Pinouts and Connection In order for us to utilize the Joystick, we need to understand the connections that are available from the Module. From the image on your left you will see the following: (From Top to Bottom) GND - Ground Pin +5V - 5V Pin ( Supply 5V here ) VRx - 5kOhm Potentiometer X-Axis VRy - 5kOhm Potentiometer Y-Axis SW - Normally Open Button (Z-Axis) Now that we are familiar with the Pins of this module we can now discusss the connection from the module to the Arduino 6

7 Follow the Pin Layout indicted in the table below: Arduino Pin Joystick Pin GND< GND +5V < V A0 < VRx A1 < VRy 8 < SW Your physical connetion should look something similar from the picture on your right. Arduino Code // analog int pin_x = 0; int pin_y = 1; // digital int pin_switch = 8; void setup() Serial.begin(9600); pinmode(pin_switch, INPUT); void loop() int x = analogread(pin_x); int y = analogread(pin_y); int b = digitalread(pin_switch); Serial.print( X: ); Serial.print(x); Serial.print(, ); Serial.print( Y: ); Serial.print(y); Serial.print(, ); Serial.print( B: ); Serial.print(b); Serial.print( \n ); This code will let you test the module using the Serial Monitor in the Arduino, this will be furthered discussed on the next section. 7

8 Serial Monitor Testing Now that we have completed all the wiring and uploaded our program to the Arduino, the next thing we need to do now is test our Module using the Serial Monitor. Simply open the Serial Monitor, that will located on the upper right of your Arduino application. ( See picture ) From the serial monitor, we can see the format of the data that is being displayed on our window X:<Value>,Y:<Value>,B:<Value> Now, Let s try to move the joystick to the right and upward to test the X and Y Axes Notice how the values of the change on the Xaxis as we move the joystick to the right Notice how the values of the change on the Yaxis as we move the joystick upward 8

9 Notice how the value of the Button (B) changes from 1 to 0 when the Z-axis is pressed. After testing the X, Y, and Z inputs from the Module we can now concluded this experiement. Make sure to play around the code so that you can create your own program for your own Project! 9

10 Experiment 3: Joystick+Motor Control Overview For this experiment we will be integrating what we have learned from Experiment #1 and Experiment #2 Combining the two experiements will give an idea on how to integrate two systems into a single device. We will be installing the Motor control on your Robot Chasis and we will control the Robot using the Joystick that we have learned to operate on the previous experiements. Materials The materials that you will be needing for this experiments are the following: 1. Keyes Joystick 2. L298 Dual H-Bridge Motor Driver 3. DC Motor - 2 pc 4. Breadboard 5. Connecting Wires 6. Arduino 7. Arduino USB Connector 8. Laptop/Computer 9. Power Source Wheeled Robot Chasis Kit Connections We will be showing you here where to connect the Pins of the two module that we will be integrating to the Arduino s Pins. The picture on the left shows the way we connected to Pin Layout but you can always have your own way of connecting the layout that will be listed here. Arduino Pin Joystick Pin GND< GND +5V < V A0 < VRx A1 < VRy 8 < SW 10

11 Motor Controller Module: Arduino Pin Motor Driver Pin 10 < ENA 2 < IN1 3 < IN2 4 < IN3 5 < IN4 9 < ENB GND < GND 5V < V Arduino Code Motor Terminals and Supply Terminals VCC+GND Supply GND VCC+GND MOTOR A VMS GND +5V MOTOR B //Define Pins //Motor A int enablea = 10; int pina1 = 2; int pina2 = 3; //Motor B int enableb = 9; int pinb1 = 4; int pinb2 = 5; // analog int pin_x = 0; int pin_y = 1; // digital int pin_switch = 8; void setup() Serial.begin (9600); //configure pin modes pinmode (enablea, OUTPUT); pinmode (pina1, OUTPUT); pinmode (pina2, OUTPUT); pinmode (enableb, OUTPUT); pinmode (pinb1, OUTPUT); pinmode (pinb2, OUTPUT); void loop() int x = analogread(pin_x); int y = analogread(pin_y); //FORWARD if(y<400) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Forward ); digitalwrite (pina1, HIGH); digitalwrite (pina2, LOW); digitalwrite (pinb1, LOW); digitalwrite (pinb2, HIGH); 11

12 //BACKWARD if(y>600) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Reverse ); digitalwrite (pina1,low); digitalwrite (pina2,high); digitalwrite (pinb1,high); digitalwrite (pinb2,low); //LEFT if(x<400) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Left ); digitalwrite (pina1, HIGH); digitalwrite (pina2, LOW); digitalwrite (pinb1, HIGH); digitalwrite (pinb2, LOW); //RIGHT if(x>600) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Right ); digitalwrite (pina1, LOW); digitalwrite (pina2, HIGH); digitalwrite (pinb1, LOW); digitalwrite (pinb2, HIGH); else //stop Serial.println ( Stopping ); digitalwrite (enablea, LOW); digitalwrite (enableb, LOW); Take note that these codes are just the integration of the two codes that we have previously discussed on the past experiments. This will allow you to control your DC Motors that are connected to your Robot Chasis with your Joystick. Make sure to wire the Joystick with considerable length of cable so you can control it with ease. 12

13 Testing the Integrated System Assuming all connections are correct and you have completed uploading the program to the Arduino then testing this System should be straight forward. The Joystick will be your input device that will designate which direction your robot will move. Make sure to orient your joystick properly Moving the joystick upward will make the robot go forward, your DC Motor should rotate similar to the image above. Moving the joystick downward will make the robot go reverse, your DC Motor should rotate similar to the image above. 13

14 Moving the joystick to the right will make the robot go to the right, your DC Motor should rotate similar to the image above. Moving the joystick to the left will make the robot go to the left, your DC Motor should rotate similar to the image above. So thats it guys! Make sure to play around the code so that you can create your own program for your own Project! 14

15 Overview Experiment 4: Ultrasonic Sensor The US-100 Ultrasonic Distance Sensor Module operates from a wide voltage range and provides both digital and serial data output modes. It features accurate temperature corrected range detection. It can output the distance in millimeters using a serial data output mode. Alternatively, the distance can be calculated by measuring the amount of time that a digital output is held high. This sensor can be used with both 3.3V and 5V microcontrollers and only consumes 2mA when idle. Materials The materials that you will be needing for this experiments are the following: 1. US-100 Ultrasonic Distance Sensor 2. Breadboard 3. Connecting Wires 4. Arduino 5. Arduino USB Connector 6. Laptop/Computer Pinouts and Connection In order for us to utilize the Ultrasonic Sensor, we need to understand the connections that are available from the Module. From the image on your left you will see the following: (From Top to Bottom) VCC - Voltage Supply Pin Trig/Tx - Trigger or Transmit Pin Echo/Rx - Echo or Recieve Pin GND - Ground Pin GND - Ground Pin This Module has two Operation Modes but we will be only utilizing one of the two. 15

16 US-100 in Pulse Width Mode To obtain a distance measurement, set the Trig/TX pin high for at least 50 microseconds then set it low to trigger the measurement. The module will output a high pulse on the Echo/RX line with a width that corresponds to the distance measured. Use your microcontroller to measure the pulse width using microseconds. Use the following formula to calculate the distance: Millimeters = PulseWidth * 34 / 100 / 2 Arduino Code Select the pulse mode by removing the shunt from the operating mode selection jumper. Connect the Trig/TX pin to a digital output 6 on your microcontroller and the Echo/RX pin to a digital input 7. const int trigger=6; const int echo=7; float distance; void setup() Serial.begin(9600); pinmode(trigger,output); pinmode(echo,input); void loop() // Trigger US-100 to start measurement // Set up trigger digitalwrite(trigger,low); delaymicroseconds(5); // Start Measurement digitalwrite(trigger,high); delaymicroseconds(50); digitalwrite(trigger,low); // Acquire and convert to mtrs distance=pulsein(echo,high); distance=distance* 34 / 100 / 2 // send result to UART Serial.println(distance); delay(50); 16

17 Testing the US-100 To start the test of this module, open the Serial Monitor, that will be located on the upper right of your Arduino application. ( See picture ) Afterwards, take note of the serial data that we are recieving from the arduino this data is the distance measured by the Ultrasonic sensor without any objects infront. Now, Let s try to place an object infront of the module, we should recieve a value smaller than the inittial value that we received from the Serial Monitor back when we first opened it. Notice how the value changed when we placed the object close to the Module Notice how the value changed once more after placing it farther than the previous one. So that s it guys! Make sure to play around the code so that you can create your own program for your own Project! 17

18 Experiment 5: Ultrasonic + Robot Control Overview For this experiement we will be integrating the Ultrasonic Sensor to Experiement#3 s Robot Chasis+Joystick System. The goal of this integration is to use the Ultrasonic Sensor as a Distance Detector indicating when our Robot will stop at a certain distance from an object or a wall. Please make sure that you have conducted the previous experiemetns before proceeding to the Ultrasonic+Robot Control Experiement. Materials The materials that you will be needing for this experiments are the following: 1. Keyes Joystick 2. L298 Dual H-Bridge Motor Driver 3. DC Motor - 2 pc 4. Breadboard 5. Connecting Wires 6. Arduino 7. Arduino USB Connector 8. Laptop/Computer 9. Power Source Wheeled Robot Chasis Kit 11. US-100 Ultrasonic Distance Sensor Connections We will be integrating all 3 experiements regarding Motor Controller, Joystick and Ultrasnic sensor for this experiement. The Pin Layout will be as follows: Arduino Pin Joystick Pin GND< GND +5V < V A0 < VRx A1 < VRy 8 < SW US-100 Pin 7 < Echo/RX 6 < Trig/TX GND< GND +5V < Vcc 18

19 Motor Controller Module: Arduino Pin Motor Driver Pin 10 < ENA 2 < IN1 3 < IN2 4 < IN3 5 < IN4 9 < ENB GND < GND 5V < V Arduino Code Motor Terminals and Supply Terminals VCC+GND Supply GND VCC+GND MOTOR A VMS GND +5V MOTOR B //Define Pins //Motor A int enablea = 10; int pina1 = 2; int pina2 = 3; //Motor B int enableb = 9; int pinb1 = 4; int pinb2 = 5; // analog int pin_x = 0; int pin_y = 1; // digital int pin_switch = 8; //ultrasonic const int trigger=6; const int echo=7; float distance; void setup() Serial.begin (9600); //configure pin modes pinmode (enablea, OUTPUT); pinmode (pina1, OUTPUT); pinmode (pina2, OUTPUT); pinmode (enableb, OUTPUT); pinmode (pinb1, OUTPUT); pinmode (pinb2, OUTPUT); //Ultrasonic Pin modes pinmode(trigger,output); pinmode(echo,input); void loop() int x = analogread(pin_x); int y = analogread(pin_y); 19

20 //FORWARD if(y<400) digitalwrite(trigger,low); delaymicroseconds(5); // Start Measurement digitalwrite(trigger,high); delaymicroseconds(50); digitalwrite(trigger,low); // Acquire and convert to mtrs distance=pulsein(echo,high); distance=distance* 34 / 100 / 2; if(distance>150) Serial.println(distance); Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Forward ); digitalwrite (pina1, HIGH); digitalwrite (pina2, LOW); digitalwrite (pinb1, LOW); digitalwrite (pinb2, HIGH); //BACKWARD if(y>600) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Reverse ); digitalwrite (pina1,low); digitalwrite (pina2,high); digitalwrite (pinb1,high); digitalwrite (pinb2,low); //LEFT if(x<400) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Left ); digitalwrite (pina1, HIGH); digitalwrite (pina2, LOW); digitalwrite (pinb1, HIGH); digitalwrite (pinb2, LOW); 20

21 //RIGHT if(x>600) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Right ); digitalwrite (pina1, LOW); digitalwrite (pina2, HIGH); digitalwrite (pinb1, LOW); digitalwrite (pinb2, HIGH); else //stop Serial.println ( Stopping ); digitalwrite (enablea, LOW); digitalwrite (enableb, LOW); Testing the Integrated System Assuming all connections are correct and you have completed uploading the program to the Arduino then testing this System should be straight forward. The Joystick will be your input device that will designate which direction your robot will move BUT if a certain object or a wall is within 150milimeters away from the front of the sensor then the robot will stop. Without any obstruction within 150mm of the sensor the robot should be able to move freely without any trouble. 21

22 Placing an object infront of the robot or encountering a wall within 150mm will paralyze the robot from moving forward but you will be able to move from side to side and also in reverse. So thats it guys! Make sure to play around the code so that you can create your own program for your own Project! 22

23 Overview The Funduino Tracker Sensor comes with 3 IR Line Tracking Sensors. These sensensors just follows lines or light reflected on a surface. The sensor has IR light emitter and detector. The sensor returns the status of the IR light reflected from a surface as ON or OFF. The LED shows the status of the sensor. Experiment 6: Line Tracker Materials The materials that you will be needing for this experiments are the following: 1. Funduino Tracker Sensor 2. Breadboard 3. Connecting Wires 4. Arduino 5. Arduino USB Connector 6. Laptop/Computer Pinouts and Connection For our test we will be needing to connect the Pin Layout as follows From the image on your left you will see the following: (From Top to Bottom) VCC - Supply Pin GND - Ground Pin L - Left Sensor Pin C - Center Sensor Pin R - Right Sensor Pin Line Tracker Arduino VCC 5V GND GND L 10 C 9 R 8 23

24 Arduino Code /* * Verifies the IR Line tracking output * feiticeir0@whatgeek.com.pt * Free to share! */ void setup() Serial.begin (9600); pinmode (10,INPUT); pinmode (9,INPUT); pinmode (8,INPUT); void loop() //read the input int L = digitalread(10); //left sensor int C = digitalread(9); //center sensor int R = digitalread(8); // right sensor //print the values Serial.print (L); Serial.print(, ); Serial.print (C); Serial.print(, ); Serial.println (R); Testing the Line Tracker When not detecting anything the code will output 0 and when detecting it will output 1 24

25 So that s it guys! Make sure to play around the code so that you can create your own program for your own Project! 25

26 Experiment 7: Line Tracker + Robot Control Overview For this experiement, we will be integrating the line tracker to the 3-Wheeled Robot Chasis Kit. The goal of this experiement is to allow the Robot to track a strip of black tape in a surface on it s own or autonomously without human intervention. This is possible by using the line tracker that will detect light that is reflected from a surface. If no light is detected then that means it is in the right path. Materials The materials that you will be needing for this experiments are the following: 1. Funduino Tracker Sensor 2. L298 Dual H-Bridge Motor Driver 3. DC Motor - 2 pc 4. Breadboard 5. Connecting Wires 6. Arduino 7. Arduino USB Connector 8. Laptop/Computer 9. Power Source Wheeled Robot Chasis Kit Connections We will be integrating the Motor Control Experiement#1 and the Line Tracker Experiement#6 together on this Experiment. We will follow the Pin Layout of the two experiements with a few minor changes because we will be utilizing Pulse Width Modulation for our DC Motors. Line Tracker Arduino VCC >5V GND >GND L >4 C >3 R >2 26

27 Motor Controller Module: Arduino Pin Motor Driver Pin 13 < ENA 9 < IN1 10 < IN2 11 < IN3 6 < IN4 12 < ENB GND < GND 5V < V Arduino Code Motor Terminals and Supply Terminals VCC+GND Supply GND VCC+GND MOTOR A VMS GND +5V MOTOR B //Define Pins //Motor A int enablea = 8; int pina1 = 9; int pina2 = 10; //Motor B int enableb = 7; int pinb1 = 11; int pinb2 = 6; void setup() Serial.begin (9600); //configure pin modes pinmode (enablea, OUTPUT); pinmode (pina1, OUTPUT); pinmode (pina2, OUTPUT); pinmode (enableb, OUTPUT); pinmode (pinb1, OUTPUT); pinmode (pinb2, OUTPUT); //line tracker pin modes pinmode (2,INPUT); pinmode (3,INPUT); pinmode (4,INPUT); void loop() //read the input int L = digitalread(4); //left sensor int C = digitalread(3); //center sensor int R = digitalread(2); // right sensor Serial.print (L); Serial.print(, ); Serial.print (C); Serial.print(, ); Serial.println (R); 27

28 //FORWARD if(c==0&&r==1&&l==1) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Forward ); analogwrite (pina1, 30); analogwrite (pina2, 0); analogwrite (pinb1, 0); analogwrite (pinb2, 40); //REVERSE else if(c==0&&r==0&&l==0) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Forward ); analogwrite (pina1, 0); analogwrite (pina2, 30); analogwrite (pinb1, 40); analogwrite (pinb2, 0); //REVERSE else if(c==1&&r==1&&l==1) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Forward ); analogwrite (pina1, 0); analogwrite (pina2, 30); analogwrite (pinb1, 40); analogwrite (pinb2, 0); //LEFT else if(c==0&&l==0&&r==1) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Disabling Motor B ); digitalwrite (enableb, LOW); 28

29 Serial.println ( Left ); analogwrite (pina1, 35); analogwrite(pina2, 0); //LEFT else if(c==1&&l==0&&r==1) Serial.println ( Enabling Motor A ); digitalwrite (enablea, HIGH); Serial.println ( Disabling Motor B ); digitalwrite (enableb, LOW); Serial.println ( Left ); analogwrite (pina1, 35); analogwrite(pina2, 0); //RIGHT else if(c==0&&r==0&&l==1) Serial.println ( Disabling Motor A ); digitalwrite (enablea, LOW); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Right ); analogwrite (pinb1, 0); analogwrite (pinb2, 45); //RIGHT else if(c==1&&r==0&&l==1) Serial.println ( Disabling Motor A ); digitalwrite (enablea, LOW); Serial.println ( Enabling Motor B ); digitalwrite (enableb, HIGH); Serial.println ( Right ); analogwrite (pinb1, 0); analogwrite (pinb2, 45); else //stop Serial.println ( Stopping ); digitalwrite (enablea, LOW); digitalwrite (enableb, LOW); 29

30 Setting Up the Maze We will be needing a maze or a circuit where our robot will try to track down a path that is a black colored line and do it s best to complete the track that we have set up for it. There are things to remember when constructing the Maze for your Robot. 1. The surface must be reflective enough for the infrared light to bounce 2. The width of the black colored path must be alteast 1 inch thick Reminders! If you encounter a problem that your robot is not moving at all please refer to the instructions written here: 1. Check your the PWM value: The code written above sets the speed of the DC Motor at a lower level to ensure that the Robot dosen t go off track these values are seen on your right. These values maybe too low for your DC Motor and may be the reason why your robot will not move. The solution is set the AnalogWrite value to a value that is desirable for you. Serial.println ( Forward ); analogwrite (pina1, 0); analogwrite (pina2, 30); analogwrite (pinb1, 40); analogwrite (pinb2, 0); Example: Before: analogwrite (pinb1, 40); After: analogwrite (pinb1, 150); 30

31 Testing the Integrated System After setting up your maze, it is now time to test your new integrated sytem. When powered on your robot should try to go reverse as it is programmed that way. Place it on the track where the black path is located. At first, when you let go of the robot on it s own it wont really go in a straight path immediately, it may stray from time to time but the code is programmed for the robot to get back on the track The code is designed for smooth curves not very sharp left and right turns. Take note of this so that you will be able to simulate the experiement with no problems. Eventually, the robot will make it s way around the track slowly but surely. So that s it guys! Make sure to play around the code so that you can create your own program for your own Project! 31

32 Overview The Tower Pro SG90 servo is one of the cheapest servo motors that you can find on the market, don t try to rotate the servo motor by hand because this may damage the motor. You need torque to control the position of an object, for example, and this Servo that weights 0.32 oz (9.0 g) can provide at 4.8V a torque of 25.0 oz-in (1.80 kg-cm). At 4.8V, the speed of the servo is 0.12 sec/60. Experiment 8: Servo Motor Materials The materials that you will be needing for this experiments are the following: 1. Tower Pro SG90 2. Connecting Wires 4. Arduino 5. Arduino USB Connector 6. Laptop/Computer Pinouts and Connection Connecting the Tower Pro Servo Motor to the Arduino is pretty simple The Tower Pro has 3 Wires Orange - Control Wire Red - Supply Wire Brown - Ground Wire Simply follow the connection diagram on your left to successfully connect it to your Arduino. We connect the Orange Wire to a Digital Pin 9 of the Arduino, the Red wire goes to the 5V pin of the Arduino and the Brown Wire simply goes to the ground pin. 32

33 Arduino Code The Arduino Code is actually available inside the Arduino IDE; Simply go to File -> Examples -> Servo -> Sweep Or if you don t wanna go through that you can just copy it here: /* Sweep by BARRAGAN < This example code is in the public domain. modified 8 Nov 2013 by Scott Fitzgerald */ #include <Servo.h> Servo myservo; // create servo object to control a servo // twelve servo objects can be created on most boards int pos = 0; // variable to store the servo position void setup() myservo.attach(9); // attaches the servo on pin 9 to the servo object void loop() for (pos = 0; pos <= 180; pos += 1) // goes from 0 degrees to 180 degrees // in steps of 1 degree myservo.write(pos); // tell servo to go to position in variable pos delay(15); // waits 15ms for the servo to reach the position for (pos = 180; pos >= 0; pos -= 1) // goes from 180 degrees to 0 degrees myservo.write(pos); // tell servo to go to position in variable pos delay(15); // waits 15ms for the servo to reach the position This code is pretty simple, once uploaded to your arduino and assuming that you have followed the connections properly, it will simulate the Servo motor. Sequence goes like this: Servo goes from 0 to 180 degrees then Servo goes from 180 to 0 degrees then the whole process repeats. So that s it guys! Make sure to play around the code so that you can create your own program for your own Project! 33

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Abstract This application note is a tutorial of how to use an Arduino UNO microcontroller to

More information

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall 2012. Work in teams of two!

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall 2012. Work in teams of two! Using Your Arduino, Breadboard and Multimeter Work in teams of two! EAS 199A Fall 2012 pincer clips good for working with breadboard wiring (push these onto probes) Your Multimeter probes leads Turn knob

More information

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Users Manual Robokits India info@robokits.co.in http://www.robokitsworld.com Page 1 Bluetooth + USB 16 Servo Controller is used to control up to

More information

Arduino Lesson 16. Stepper Motors

Arduino Lesson 16. Stepper Motors Arduino Lesson 16. Stepper Motors Created by Simon Monk Last updated on 2013-11-22 07:45:14 AM EST Guide Contents Guide Contents Overview Parts Part Qty Breadboard Layout Arduino Code Stepper Motors Other

More information

Microcontroller Programming Beginning with Arduino. Charlie Mooney

Microcontroller Programming Beginning with Arduino. Charlie Mooney Microcontroller Programming Beginning with Arduino Charlie Mooney Microcontrollers Tiny, self contained computers in an IC Often contain peripherals Different packages availible Vast array of size and

More information

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply Servo Motors (SensorDAQ only) Project 7 Servos are small, relatively inexpensive motors known for their ability to provide a large torque or turning force. They draw current proportional to the mechanical

More information

Lab 6 Introduction to Serial and Wireless Communication

Lab 6 Introduction to Serial and Wireless Communication University of Pennsylvania Department of Electrical and Systems Engineering ESE 111 Intro to Elec/Comp/Sys Engineering Lab 6 Introduction to Serial and Wireless Communication Introduction: Up to this point,

More information

SYSTEM 4C. C R H Electronics Design

SYSTEM 4C. C R H Electronics Design SYSTEM 4C C R H Electronics Design SYSTEM 4C All in one modular 4 axis CNC drive board By C R Harding Specifications Main PCB & Input PCB Available with up to 4 Axis X, Y, Z, A outputs. Independent 25

More information

Introduction to Arduino

Introduction to Arduino Introduction to Arduino // Basic Arduino reference sheet: Installation: Arduino: http://www.arduino.cc/en/guide/homepage Fritzing: http://fritzing.org/download/ Support: Arduino: http://www.arduino.cc,

More information

Arduino Lesson 13. DC Motors. Created by Simon Monk

Arduino Lesson 13. DC Motors. Created by Simon Monk Arduino Lesson 13. DC Motors Created by Simon Monk Guide Contents Guide Contents Overview Parts Part Qty Breadboard Layout Arduino Code Transistors Other Things to Do 2 3 4 4 4 6 7 9 11 Adafruit Industries

More information

INTRODUCTION TO SERIAL ARM

INTRODUCTION TO SERIAL ARM INTRODUCTION TO SERIAL ARM A robot manipulator consists of links connected by joints. The links of the manipulator can be considered to form a kinematic chain. The business end of the kinematic chain of

More information

SYSTEM 45. C R H Electronics Design

SYSTEM 45. C R H Electronics Design SYSTEM 45 C R H Electronics Design SYSTEM 45 All in one modular 4 axis CNC drive board By C R Harding Specifications Main PCB & Input PCB Available with up to 4 Axis X, Y, Z, & A outputs. Independent 25

More information

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual DMX-K-DRV Integrated Step Motor Driver + (Basic Controller) Manual DMX-K-DRV Manual page 1 rev 1.33 COPYRIGHT 2007 ARCUS, ALL RIGHTS RESERVED First edition, June 2007 ARCUS TECHNOLOGY copyrights this document.

More information

Basic Pulse Width Modulation

Basic Pulse Width Modulation EAS 199 Fall 211 Basic Pulse Width Modulation Gerald Recktenwald v: September 16, 211 gerry@me.pdx.edu 1 Basic PWM Properties Pulse Width Modulation or PWM is a technique for supplying electrical power

More information

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller Overview The objective of this lab is to introduce ourselves to the Arduino interrupt capabilities and to use

More information

Servo Info and Centering

Servo Info and Centering Info and Centering A servo is a mechanical motorized device that can be instructed to move the output shaft attached to a servo wheel or arm to a specified position. Inside the servo box is a DC motor

More information

Arduino Lesson 14. Servo Motors

Arduino Lesson 14. Servo Motors Arduino Lesson 14. Servo Motors Created by Simon Monk Last updated on 2013-06-11 08:16:06 PM EDT Guide Contents Guide Contents Overview Parts Part Qty The Breadboard Layout for 'Sweep' If the Servo Misbehaves

More information

Ultrasonic Distance Measurement Module

Ultrasonic Distance Measurement Module Ultrasonic Distance Measurement Module General Description Distance measurement sensor is a low cost full functionality solution for distance measurement applications. The module is based on the measurement

More information

Theory and Practice of Tangible User Interfaces. Thursday Week 2: Digital Input and Output. week. Digital Input and Output. RGB LEDs fade with PWM

Theory and Practice of Tangible User Interfaces. Thursday Week 2: Digital Input and Output. week. Digital Input and Output. RGB LEDs fade with PWM week 02 Digital Input and Output RGB LEDs fade with PWM 1 Microcontrollers Output Transducers actuators (e.g., motors, buzzers) Arduino Input Transducers sensors (e.g., switches, levers, sliders, etc.)

More information

Arduino Motor Shield (L298) Manual

Arduino Motor Shield (L298) Manual Arduino Motor Shield (L298) Manual This DFRobot L298 DC motor driver shield uses LG high power H-bridge driver Chip L298P, which is able to drive DC motor, two-phase or four phase stepper motor with a

More information

Model 201 Wiegand Touchpad Reader Installation Guide

Model 201 Wiegand Touchpad Reader Installation Guide Model 201 Wiegand Touchpad Reader Installation Guide P/N 460353001C 15AUG11 2011 UTC Fire & Security. All rights reserved. This document may not be copied in whole or in part or otherwise reproduced without

More information

MANUAL FOR RX700 LR and NR

MANUAL FOR RX700 LR and NR MANUAL FOR RX700 LR and NR 2013, November 11 Revision/ updates Date, updates, and person Revision 1.2 03-12-2013, By Patrick M Affected pages, ETC ALL Content Revision/ updates... 1 Preface... 2 Technical

More information

Lecture 7: Programming for the Arduino

Lecture 7: Programming for the Arduino Lecture 7: Programming for the Arduino - The hardware - The programming environment - Binary world, from Assembler to C - - Programming C for the Arduino: more - Programming style Lect7-Page1 The hardware

More information

Basic DC Motor Circuits. Living with the Lab Gerald Recktenwald Portland State University gerry@pdx.edu

Basic DC Motor Circuits. Living with the Lab Gerald Recktenwald Portland State University gerry@pdx.edu Basic DC Motor Circuits Living with the Lab Gerald Recktenwald Portland State University gerry@pdx.edu DC Motor Learning Objectives Explain the role of a snubber diode Describe how PWM controls DC motor

More information

Basic DC Motor Circuits

Basic DC Motor Circuits Basic DC Motor Circuits Living with the Lab Gerald Recktenwald Portland State University gerry@pdx.edu DC Motor Learning Objectives Explain the role of a snubber diode Describe how PWM controls DC motor

More information

XBee USB Adapter Board (#32400)

XBee USB Adapter Board (#32400) Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

Advanced Data Capture and Control Systems

Advanced Data Capture and Control Systems Advanced Data Capture and Control Systems Tronisoft Limited Email: sales@tronisoft.com Web: www.tronisoft.com RS232 To 3.3V TTL User Guide RS232 to 3.3V TTL Signal Converter Modules P/N: 9651 Document

More information

Micro-Step Driving for Stepper Motors: A Case Study

Micro-Step Driving for Stepper Motors: A Case Study Micro-Step Driving for Stepper Motors: A Case Study N. Sedaghati-Mokhtari Graduate Student, School of ECE, University of Tehran, Tehran, Iran n.sedaghati @ece.ut.ac.ir Abstract: In this paper, a case study

More information

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Sensors LCD Real Time Clock/ Calendar DC Motors Buzzer LED dimming Relay control I2C-FLEXEL PS2 Keyboards Servo Motors IR Remote Control

More information

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm Six-servo Robot Arm 1 1, Introduction 1.1, Function Briefing Servo robot, as the name suggests, is the six servo motor-driven robot arm. Since the arm has a few joints, we can imagine, our human arm, in

More information

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

Using Arduino Microcontrollers to Sense DC Motor Speed and Position ECE480 Design Team 3 Using Arduino Microcontrollers to Sense DC Motor Speed and Position Tom Manner April 4, 2011 page 1 of 7 Table of Contents 1. Introduction ----------------------------------------------------------

More information

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver Electronics Exercise 2: The 555 Timer and its Applications Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles Ume,

More information

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview R Arduino Due Arduino Due Front Arduino Due Back Overview The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU (datasheet). It is the first Arduino board based on a 32-bit

More information

A Surveillance Robot with Climbing Capabilities for Home Security

A Surveillance Robot with Climbing Capabilities for Home Security Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 2, Issue. 11, November 2013,

More information

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically EE389 Electronic Design Lab Project Report, EE Dept, IIT Bombay, Nov 2009 Fully-automated control of lighting and security system of a Room Group No: D2 Bharat Bhushan (06d04026) Sravan

More information

CHAPTER 11: Flip Flops

CHAPTER 11: Flip Flops CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach

More information

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL X1: DE-9 serial connector Used to connect computer (or other devices) using RS-232 standard. Needs a serial cable, with at least

More information

User manual DinaSys DTC/DTS and DTC/DTZ

User manual DinaSys DTC/DTS and DTC/DTZ PiCommIT has developed the DinaSys DTC/DTS and DinaSys DTC/DTZ turntable controller for the Fleischmann / Marklin Turntables in scale H0, H0m, TT, N and Z. One of the most important starting point was

More information

Compressor Supreme Force Feedback User Manual

Compressor Supreme Force Feedback User Manual 1. Setting up Compressor Supreme 1. Connect the gear shifter to the back panel of the steering wheel column. 2. Connect the foot pedals to the back panel of the steering wheel column. 3. Connect the A.C.

More information

Selecting and Implementing H-Bridges in DC Motor Control. Daniel Phan A37005649

Selecting and Implementing H-Bridges in DC Motor Control. Daniel Phan A37005649 Selecting and Implementing H-Bridges in DC Motor Control Daniel Phan A37005649 ECE 480 Design Team 3 Spring 2011 Abstract DC motors can be used in a number of applications that require automated movements.

More information

RPLIDAR. Low Cost 360 degree 2D Laser Scanner (LIDAR) System Development Kit User Manual. 2014-2 Rev.1

RPLIDAR. Low Cost 360 degree 2D Laser Scanner (LIDAR) System Development Kit User Manual. 2014-2 Rev.1 RPLIDAR Low Cost 360 degree 2D Laser Scanner (LIDAR) Development Kit User Manual 2014-2 Rev.1 Team Contents: 1. OVERVIEW... 2 ITEMS IN DEVELOPMENT KIT... 2 RPLIDAR... 2 USB ADAPTER... 3 2. CONNECTION AND

More information

UIM2901-5A MACH3 breakout board

UIM2901-5A MACH3 breakout board User Manual UIM2901-5A MACH3 Breakout Board UIM2901-5A MACH3 Breakout Board UIM2901-5A MACH3 breakout board Features General DB25 interface between PC and user device Fully buffered opto-isolated I/O (Input

More information

ECE 495 Project 3: Shocker Actuator Subsystem and Website Design. Group 1: One Awesome Engineering

ECE 495 Project 3: Shocker Actuator Subsystem and Website Design. Group 1: One Awesome Engineering ECE 495 Project 3: Shocker Actuator Subsystem and Website Design Group 1: One Awesome Engineering Luquita Edwards Evan Whetsell Sunny Verma Thomas Ryan Willis Long I. Executive Summary The main goal behind

More information

Introduction to Arduino

Introduction to Arduino Introduction to Arduino With ArduBlock & LilyPad Dev Brian Huang Education Engineer brian.huang@sparkfun.com Pre-Class Survey http://bit.ly/14xk3ek Resources This PPT ArduBlock Download & Installation

More information

How To Control A Car With A Thermostat

How To Control A Car With A Thermostat :» : :.:35152, 2013 2 5 1: 6 1.1 6 1.2 7 1.3 7 1.4 7 1.5 8 1.6 8 1.7 10 1.8 11 1.9 11 2: 14 2.1 14 2.2 14 2.2.1 14 2.2.2 16 2.2.3 19 2.2.4 20 2.2.5 21 2.2.6 Reed Relay 23 2.2.7 LCD 2x16 5VDC 23 2.2.8 RGB

More information

ZX-NUNCHUK (#8000339)

ZX-NUNCHUK (#8000339) ZX-NUNCHUK documentation 1 ZX-NUNCHUK (#8000339) Wii-Nunchuk interface board 1. Features l Interface with Wii Nunchuk remote control directly. Modification the remote control is not required. l Two-wire

More information

Electronic Brick of Current Sensor

Electronic Brick of Current Sensor Electronic Brick of Current Sensor Overview What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared

More information

Modern Robotics, Inc Core Device Discovery Utility. Modern Robotics Inc, 2015

Modern Robotics, Inc Core Device Discovery Utility. Modern Robotics Inc, 2015 Modern Robotics, Inc Core Device Discovery Utility Modern Robotics Inc, 2015 Version 1.0.1 October 27, 2015 Core Device Discovery Application Guide The Core Device Discovery utility allows you to retrieve

More information

understanding sensors

understanding sensors The LEGO MINDSTORMS NXT 2.0 robotics kit includes three types of sensors: Ultrasonic, Touch, and Color. You can use these sensors to build a robot that makes sounds when it sees you or to build a vehicle

More information

UniPi technical documentation REV 1.1

UniPi technical documentation REV 1.1 technical documentation REV 1.1 Contents Overview... 2 Description... 3 GPIO port map... 4 Power Requirements... 5 Connecting Raspberry Pi to UniPi... 5 Building blocks... 5 Relays... 5 Digital Inputs...

More information

2013 G Miller. 3 Axis Brushless Gimbal Controller Manual

2013 G Miller. 3 Axis Brushless Gimbal Controller Manual 2013 G Miller 3 Axis Brushless Gimbal Controller Manual P a g e 2 When you receive your 3 axis controller board from dys.hk in the packet will be the following items the sensor 3rd Axis board the main

More information

Programming the VEX Robot

Programming the VEX Robot Preparing for Programming Setup Before we can begin programming, we have to set up the computer we are using and the robot/controller. We should already have: Windows (XP or later) system with easy-c installed

More information

Arduino Lesson 0. Getting Started

Arduino Lesson 0. Getting Started Arduino Lesson 0. Getting Started Created by Simon Monk Last updated on 204-05-22 2:5:0 PM EDT Guide Contents Guide Contents Overview Parts Part Qty Breadboard Installing Arduino (Windows) Installing Arduino

More information

Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools

Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools www.lego.com/education/mindstorms LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. 2004 The LEGO

More information

ABB Drives. User s Manual HTL Encoder Interface FEN-31

ABB Drives. User s Manual HTL Encoder Interface FEN-31 ABB Drives User s Manual HTL Encoder Interface FEN-31 HTL Encoder Interface FEN-31 User s Manual 3AUA0000031044 Rev B EN EFFECTIVE: 2010-04-06 2010 ABB Oy. All Rights Reserved. 5 Safety instructions

More information

Pololu DRV8835 Dual Motor Driver Shield for Arduino

Pololu DRV8835 Dual Motor Driver Shield for Arduino Pololu DRV8835 Dual Motor Driver Shield for Arduino Pololu DRV8835 Dual Motor Driver Shield for Arduino, bottom view with dimensions. Overview This motor driver shield and its corresponding Arduino library

More information

Arduino Shield Manual

Arduino Shield Manual Arduino Shield Manual Version 1.5 www.dfrobot.com Copyright 2010 by DFRobot.com Table of Contents Table of Contents... 2 Arduino I/O Expansion Shield... 4 Introduction... 4 Diagram... 4 Sample Code...

More information

Analog control unit for mobile robots

Analog control unit for mobile robots Analog control unit for mobile robots Soldering kit for experimentation For Fischertechnik robots and others Most diverse functions Requires no programming Patented sensor technology Summary We are pleased

More information

Arduino Shield Manual

Arduino Shield Manual Arduino Shield Manual Version 1.4 www.dfrobot.com Copyright 2010 by DFRobot.com Table of Contents Arduino I/O Expansion Shield... 4 Introduction... 4 Diagram... 4 Sample Code... 4 Arduino Motor Shield...

More information

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V1.0. 20 th November 2012. L6470 Stepper Motor Shield

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V1.0. 20 th November 2012. L6470 Stepper Motor Shield Arduino Dual L6470 Stepper Motor Shield Data Sheet Adaptive Design ltd V1.0 20 th November 2012 Adaptive Design ltd. Page 1 General Description The Arduino stepper motor shield is based on L6470 microstepping

More information

Lab 3 Microcontroller programming Interfacing to Sensors and Actuators with irobot

Lab 3 Microcontroller programming Interfacing to Sensors and Actuators with irobot 1. Objective Lab 3 Microcontroller programming Interfacing to Sensors and Actuators with irobot In this lab, you will: i. Become familiar with the irobot and AVR tools. ii. Understand how to program a

More information

RC2200DK Demonstration Kit User Manual

RC2200DK Demonstration Kit User Manual Demonstration Kit User Manual Table of contents TABLE OF CONTENTS... 1 QUICK INTRODUCTION... 2 INTRODUCTION... 3 DEMONSTRATION BOARD... 4 POWER SUPPLY SECTION... 5 RS-232 INTERFACE... 6 CONNECTORS... 7

More information

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation UPS PIco Uninterruptible Power Supply with Peripherals and I 2 C control Interface to be used with Raspberry Pi B+, A+, B, and A HAT Compliant Raspberry Pi is a trademark of the Raspberry Pi Foundation

More information

XS-3525/8S-3. Preliminary DataSheet Version 2.02

XS-3525/8S-3. Preliminary DataSheet Version 2.02 XS-3525/8S-3 Preliminary DataSheet Version 2.02 X The XS-3525/8S-3 microstepping stepper motor driver is the perfect choice for CNC retrofitting of desktop and small benchtop milling machines. Connect

More information

AirCasting Particle Monitor Bill of Materials

AirCasting Particle Monitor Bill of Materials AirCasting Particle Monitor Bill of Materials Shinyei PPD42NS Seeed http://www.seeedstudio.com/depot/grove- dust- sensor- p- 1050.html?cPath=25_27 JY- MCU HC- 06 Bluetooth Wireless Serial Port Module FastTech

More information

Programming the Arduino

Programming the Arduino Summer University 2015: Programming the Arduino Alexander Neidhardt (FESG) neidhardt@fs.wettzell.de SU-Arduino-Prog-Page1 Programming the Arduino - The hardware - The programming environment - Binary world,

More information

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors

Table 1 Comparison of DC, Uni-Polar and Bi-polar Stepper Motors Electronics Exercise 3: Uni-Polar Stepper Motor Controller / Driver Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles

More information

Datasheet of the Easy Servo Drive ES-D808. 24-75VDC, 8.2A Peak, Close-loop, No Tuning. Version 0.1.0. http://www.leadshine.com

Datasheet of the Easy Servo Drive ES-D808. 24-75VDC, 8.2A Peak, Close-loop, No Tuning. Version 0.1.0. http://www.leadshine.com Datasheet of the Easy Servo Drive ES-D808 4-75VDC, 8.A Peak, Close-loop, No Tuning Version 0.1.0 http://www.leadshine.com Features Step and direction control Closed position loop for no loss of movement

More information

Android Controlled Based Interface

Android Controlled Based Interface Android Controlled Based Interface Objective Fix Foba Build Rofi (Fifth Generation Robot) Develop, Build, and Implement a Dynamic Balanced Biped Robot Table of Contents Objective... 1 Android Controlled

More information

1 of 5 12/31/2009 11:51 AM

1 of 5 12/31/2009 11:51 AM of 5 2/3/29 :5 AM 29 May 29 L298 Hbridge meets Arduino mega Filed under Sketch I ve recently purchased a L298 Hbridge to help me help arduino help a remote controlled car think by itself and move. Does

More information

with Electronic Assistant

with Electronic Assistant TECHNICAL DATASHEET #TDAX100200 BLDC Motor Drive Drives a 12V, 24V or 48V BLDC motor Bidirectional, up to 25A Smooth speed control using Hall Sensors CAN (SAE J1939) with Electronic Assistant Features:

More information

FOSTCDR. Industrial Serial to Multimode Fiber Optic Converter PRODUCT INFORMATION B&B ELECTRONICS. Specifications Serial Technology

FOSTCDR. Industrial Serial to Multimode Fiber Optic Converter PRODUCT INFORMATION B&B ELECTRONICS. Specifications Serial Technology FOSTCDR pn 8684R1 FOSTCDR-0812ds page 1/5 Industrial Serial to Multimode Fiber Optic Converter Data Rates up to 115.2 kbps 2.5 Mile (4 km) Range 10 to 30 VDC Input Voltage Wide Operating Temperature 2000V

More information

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

Pmod peripheral modules are powered by the host via the interface s power and ground pins. Digilent Pmod Interface Specification Revision: November 20, 2011 1300 NE Henley Court, Suite 3 Pullman, WA 99163 (509) 334 6306 Voice (509) 334 6300 Fax Introduction The Digilent Pmod interface is used

More information

DEPARTMENT OF ELECTRONICS ENGINEERING

DEPARTMENT OF ELECTRONICS ENGINEERING UNIVERSITY OF MUMBAI A PROJECT REPORT ON Home Security Alarm System Using Arduino SUBMITTED BY- Suman Pandit Shakyanand Kamble Vinit Vasudevan (13103A0011) (13103A0012) (13103A0018) UNDER THE GUIDANCE

More information

Bidirectional wireless communication using EmbedRF

Bidirectional wireless communication using EmbedRF Bidirectional wireless communication using EmbedRF 1. Tools you will need for this application note... 2 2. Introduction... 3 3. Connect EmbedRF Board to USB Interface Board... 3 4. Install and Run EmbedRF

More information

1602 LCD adopts standard 14 pins(no backlight) or 16pins(with backlight) interface, Instruction of each pin interface is as follows:

1602 LCD adopts standard 14 pins(no backlight) or 16pins(with backlight) interface, Instruction of each pin interface is as follows: LCD 1602 Shield Description: Arduino LCD 1602 adopts 2 lines with 16 characters LCD, with contrast regulating knob, backlight optional switch, and with 4 directional push-buttons, 1 choice button and1

More information

Work with Arduino Hardware

Work with Arduino Hardware 1 Work with Arduino Hardware Install Support for Arduino Hardware on page 1-2 Open Block Libraries for Arduino Hardware on page 1-9 Run Model on Arduino Hardware on page 1-12 Tune and Monitor Models Running

More information

CAN-Bus Shield Hookup Guide

CAN-Bus Shield Hookup Guide Page 1 of 8 CAN-Bus Shield Hookup Guide Introduction The CAN-Bus Shield provides your Arduino or Redboard with CAN-Bus capabilities and allows you to hack your vehicle! CAN-Bus Shield connected to a RedBoard.

More information

Contents. Document information

Contents. Document information User Manual Contents Document information... 2 Introduction... 3 Warnings... 3 Manufacturer... 3 Description... Installation... Configuration... Troubleshooting...11 Technical data...12 Device Scope: PCB

More information

Lab Experiment 1: The LPC 2148 Education Board

Lab Experiment 1: The LPC 2148 Education Board Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,

More information

User Guide Reflow Toaster Oven Controller

User Guide Reflow Toaster Oven Controller User Guide Reflow Toaster Oven Controller Version 1.5-01/10/12 DROTEK Web shop: www.drotek.fr SOMMAIRE 1. Introduction... 3 2. Preparation of THE REFLOW CONTROLLER... 4 2.1. Power supply... 4 2.2. USB

More information

ANDROID BASED FARM AUTOMATION USING GR-SAKURA

ANDROID BASED FARM AUTOMATION USING GR-SAKURA ANDROID BASED FARM AUTOMATION USING GR-SAKURA INTRODUCTION AND MOTIVATION With the world s population growing day by day, and land resources remaining unchanged, there is a growing need in optimization

More information

ServoPAL (#28824): Servo Pulser and Timer

ServoPAL (#28824): Servo Pulser and Timer Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

ILISC515-A Shift Interlock (Manual Lift Door) 2015 Ford Transit, 3.7L and 3.5L

ILISC515-A Shift Interlock (Manual Lift Door) 2015 Ford Transit, 3.7L and 3.5L An ISO 9001:2008 Registered Company ILISC515-A Shift Interlock (Manual Lift Door) 2015 Ford Transit, 3.7L and 3.5L Introduction The ILISC515-A is a microprocessor driven system for controlling wheelchair

More information

USER MANUAL V5.0 ST100

USER MANUAL V5.0 ST100 GPS Vehicle Tracker USER MANUAL V5.0 ST100 Updated on 15 September 2009-1 - Contents 1 Product Overview 3 2 For Your Safety 3 3 ST100 Parameters 3 4 Getting Started 4 4.1 Hardware and Accessories 4 4.2

More information

Electronic Control Devices The European Product Catalogue 2007

Electronic Control Devices The European Product Catalogue 2007 FX14 Field Controller (1/4) FX14 Field Controller The FX14 is an equipment field controller in the Facility Explorer range of products. The controller is designed specifically for commercial Heating, Ventilating,

More information

User and installation manual

User and installation manual User and installation manual aquaero 5 The information contained in this manual is subject to change without prior notice. All rights reserved. Current as of April 2011 ENGLISH: PAGE 1 DEUTSCH: SEITE 13

More information

AEO Head Movement Tracker X-GYRO 1000 USER MANUAL(V1.1bata 20091019)

AEO Head Movement Tracker X-GYRO 1000 USER MANUAL(V1.1bata 20091019) AEO Head Movement Tracker X-GYRO 1000 USER MANUAL(V1.1bata 20091019) Introduction: X-GYRO 1000 is a two axis head tracking system, based on G sensor technique, designed for tracking complicated three-dimensional

More information

How to Move Canon EF Lenses. Yosuke Bando

How to Move Canon EF Lenses. Yosuke Bando How to Move Canon EF Lenses Yosuke Bando Preface This instruction is intended to be helpful to those who are interested in making modifications to camera lenses to explore/reproduce focus sweep, focal

More information

IR-PRO IR-PRO. Operation Guide. Professional Infrared Code Capture System

IR-PRO IR-PRO. Operation Guide. Professional Infrared Code Capture System IR-PRO Operation Guide IR-PRO Professional Infrared Code Capture System Introduction The IR-PRO is an infrared code capture system that is specifically designed for system integration professionals. Unlike

More information

Electrical Engineering Department College of Engineering California State University, Long Beach Long Beach, California, 90840

Electrical Engineering Department College of Engineering California State University, Long Beach Long Beach, California, 90840 Electrical Engineering Department College of Engineering California State University, Long Beach Long Beach, California, 90840 EE 400D - Electrical Engineering Design Fall 2012 President: Gary Hill Track

More information

Arduino project. Arduino board. Serial transmission

Arduino project. Arduino board. Serial transmission Arduino project Arduino is an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board. Open source means that the

More information

IAdea GPIO Extender Application Note

IAdea GPIO Extender Application Note IAdea GPIO Extender Application Note Contents Introduction... 1 What is GPIO Extender?... 1 Digital Input and Output Applications... 2 Wiring Instructions... 4 Software Instructions... 7 Setup Example

More information

irobot Create OPEN INTERFACE www.irobot.com

irobot Create OPEN INTERFACE www.irobot.com irobot Create OPEN INTERFACE www.irobot.com Table of Contents irobot Create Open Interface Overview...3 Physical Connections...4 Mini-DIN Connector...4 Cargo Bay Connector...4 Serial Port Settings...5

More information

CAUTION! THE 7I29 USES VOLTAGE AND POWER LEVELS THAT REPRESENT A HAZARD TO LIFE AND LIMB.

CAUTION! THE 7I29 USES VOLTAGE AND POWER LEVELS THAT REPRESENT A HAZARD TO LIFE AND LIMB. 7I29 MANUAL Rev 1.5 CAUTION! THE 7I29 USES VOLTAGE AND POWER LEVELS THAT REPRESENT A HAZARD TO LIFE AND LIMB. THE 7I29 IS INTENDED FOR USE BY OEMS THAT WILL INTEGRATE IT INTO A SYSTEM WITH INTERLOCKS AND

More information

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield:

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield: the following parts are needed to test the unit: Arduino UNO R3 Arduino Wifi shield And reciever 5V adapter Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the

More information

RC Camera Control. User Guide v1.2. 10/20/2012

RC Camera Control. User Guide v1.2. 10/20/2012 RC Camera Control User Guide v1.2 10/20/2012 kristaps_r@rcgroups INTRODUCTION RC Camera Control board (RCCC) is multifunctional control board designed to for aerial photography or First Person Video flying.

More information

How To Program An Nxt Mindstorms On A Computer Or Tablet Computer

How To Program An Nxt Mindstorms On A Computer Or Tablet Computer NXT Generation Robotics Introductory Worksheets School of Computing University of Kent Copyright c 2010 University of Kent NXT Generation Robotics These worksheets are intended to provide an introduction

More information

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

Automation System TROVIS 6400 TROVIS 6493 Compact Controller Automation System TROVIS 6400 TROVIS 6493 Compact Controller For panel mounting (front frame 48 x 96 mm/1.89 x 3.78 inch) Application Digital controller to automate industrial and process plants for general

More information

Three Arduino Challenges to Connect the Logical World with the Physical One. ISTE 2015 -- Philadelphia

Three Arduino Challenges to Connect the Logical World with the Physical One. ISTE 2015 -- Philadelphia Three Arduino Challenges to Connect the Logical World with the Physical One ISTE 2015 -- Philadelphia Rachel Brusky (bruskr@d-e.org) Christopher Fleischl (fleisc@d-e.org) Trevor Shaw (shawt@d-e.org) Dwight-Englewood

More information