The maximum length and width of the Motor Shield PCB are 2.7 and 2.1 inches respectively. For your convenience it is calibrated to be 3.3V when the channel is delivering its maximum possible current, that is 2A. On each channel will be a voltage proportional to the measured current, which can be read as a normal analog input, through the function analogRead() on the analog input A0 and A1. You can measure the current going through the DC motor by reading the SNS0 and SNS1 pins. The Brake A and Brake B pins, if set HIGH, will effectively brake the DC motors rather than let them slow down by cutting the power. In this way you can control its direction by setting HIGH or LOW the DIR A and DIR B pins, you can control the speed by varying the PWM A and PWM B duty cycle values. You can drive two Brushed DC motors by connecting the two wires of each one in the (+) and (-) screw terminals for each channel A and B. 2 TinkerKit connectors for the TWI interface (in white with 4 pins), one for input and the other one for output.īrushed DC motor.2 TinkerKit connectors for two Aanlog Outputs (in orange in the middle), connected to PWM outputs on pins D5 and D6.2 TinkerKit connectors for two Analog Inputs (in white), connected to A2 and A3.Screw terminal to connect the motors and their power supply.The additional sockets on the shield are described as follow: If you don't need the Brake and the Current Sensing and you also need more pins for your application you can disable this features by cutting the respective jumpers on the back side of the shield. The shield's pins, divided by channel are shown in the table below: Function You can use each channel separately to drive two DC motors or combine them to drive one bipolar stepper motor. In total there are 8 pins in use on this shield. This shield has two separate channels, called A and B, that each use 4 of the Arduino pins to drive or sense the motor. The shield can supply 2 amperes per channel, for a total of 4 amperes maximum. GND Ground on the screw terminal block. By cutting the "Vin Connect" jumper you make this a dedicated power line for the motor. An external power supply connected to this pin also provide power to the Arduino board on which is mounted. Vin on the screw terminal block, is the input voltage to the motor connected to the shield.The absolute limit for the Vin at the screw terminals is 18V. This is possible by cutting the "Vin Connect" jumper placed on the back side of the shield. If your motor require more than 9V we recommend that you separate the power lines of the shield and the Arduino board on which the shield is mounted. To avoid possible damage to the Arduino board on which the shield is mounted, we reccomend using an external power supply that provides a voltage between 7 and 12V. The adapter can be connected by plugging a 2.1mm center-positive plug into the Arduino's board power jack on which the motor shield is mounted or by connecting the wires that lead the power supply to the Vin and GND screw terminals, taking care to respect the polarities. The required motor current often exceeds the maximum USB current rating.Įxternal (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. Because the L298 IC mounted on the shield has two separate power connections, one for the logic and one for the motor supply driver. The Arduino Motor Shield must be powered only by an external power supply. Does not include a microcontroller.The Arduino Motor Shield is open-source hardware! You can build your own board using the following files:ĮAGLE FILES IN. Please note: Assembly required (soldering). The MakerShield provides a jumper that allows you to select between either 5V or 3.3V signals on the potentiometer. Some other development boards, such as Netduino, require 3.3V analog signals instead of the Arduino's 5V. This isn't a problem since the MakerShield kit provides stackable header pins. Power filtering capacitors on 5V and 3.3V linesĪdvanced users might want to stack another shield on top of the MakerShield.ICSP (In Circuit Serial Programming) header in the same location as the Arduino.Components include a potentiometer, button, and (2) LEDs.A generous 19 x 13 through-hole prototyping area comprises the rest of the board. The MakerShield includes several on-board components (LEDs, potentiometers, tactile switches) that can be connected to the Arduino's inputs and outputs. The MakerShield makes it easy to build your own permanent prototypes as shields! With the MakerShield you can transfer your working prototype to a shield that snaps into an Arduino just like a pre-built shield. In the same way, fixing mistakes on soldered protoboard can be frustrating and messy. If you've ever done any breadboarding, you know that it's great for sketching out an electronics idea, but terrible at storing a more permanent prototype.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |