Motor Shield From Arduino
Published on 2/17/2017 5:59:29 PM
Description
<style>.e_editor{font:14px/24px Arial,'microsoft yahei','Times New Roman','b8bf53';}.e_editor div,e_editor p,e_editor td,e_editor th,e_editor li{font-weight:inherit;font-size:inherit;font-style:inherit;font-family:inherit;}.e_editor ul{margin:-10px 0 20px;}.e_editor li{padding:5px 0;}.e_table{width:96%;border-collapse:collapse;empty-cells:show;}.e_table th,.e_table td{padding:5px;border:2px solid #eee;}.e_img{padding:10px 0;text-align:center;}.e_p{line-height:20px;padding:0 0 20px;text-indent:0em;}</style> <div class="e_editor"> <div class="e_img" style="text-align:left;"> <span style="font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;text-indent:0em;">We are not the first to make an Motor Shield for Arduino. But could be that we are the first that make a Motor Shield with a minimum of flexibility.</span> </div> <div class="e_p"> We are studing a WiFi robot with camera controlled by Arduino. The robot will be controlled by browser. But we find a problem with an existing shield: the pin SPI to controll Ethernet shield (that become WiFi shield) are the same of motor shield. </div> <div class="e_p"> So we reengineered the Motor Shield and we allow to user the choice of what pin use to drive the L298. Infact we provided some jumper to select the pin to use. </div> <div class="e_p"> <strong>The Motor Shield schematics</strong> </div> <div class="e_p"> The main power can be selected by a jumper: if the motors work at 12V and the current is less than 1A you can chose the VIN input (INT) and power the Arduino with a 12V, else if the motors work higher than 12V you must chose the EXT input anche connect the power to PWR screw. </div> <div class="e_p"> The core of the project is a L298 H-Bridge, a motor driver with this caracteristics: </div> <div class="e_p"> We chose the SMD version of L298 because is also simple to solder, but the profile is lower than the traditional version, so other shield could be mounted without problem. </div> <div class="e_p"> The main power is transferred to the analog input A5 through a voltage divider (R9 and R10) to reduce the voltage on A5. This can be useful e.g. for all the application that use a battery (like our WiFi robot). </div> <div class="e_p"> With the jumper DIRA and DIRB the user select the direction of the motor A and B. </div> <div class="e_p"> The speed is controlled by PWMA and PWMB. All the pins conneted to these jumpers are obviously PWM pins. </div> <div class="e_p"> The LD1 and LD2 are special leds that light on red or green in function of directions. </div> <div class="e_p"> With this shield the user can also drive a step motor without problem. </div> <div class="e_p"> <strong>Part list</strong> </div> <div class="e_p"> [code] </div> <div class="e_p"> R1: 4,7 kohm </div> <div class="e_p"> R2: 10 kohm </div> <div class="e_p"> R3: 4,7 kohm </div> <div class="e_p"> R4: 4,7 kohm </div> <div class="e_p"> R5: 10 kohm </div> <div class="e_p"> R6: 4,7 kohm </div> <div class="e_p"> R7: 1 kohm </div> <div class="e_p"> R8: 1 kohm </div> <div class="e_p"> R9: 100 kohm </div> <div class="e_p"> R10: 10 kohm </div> <div class="e_p"> C1: 100 nF 100 </div> <div class="e_p"> C2: 100 µF 63 VL </div> <div class="e_p"> C3: 22 µF 35 VL </div> <div class="e_p"> U1: L298P </div> <div class="e_p"> LD1: Led 5 mm R/G (L-57EGW) </div> <div class="e_p"> LD2: Led 5 mm R/G (L-57EGW) </div> <div class="e_p"> D1: 1N5819 </div> <div class="e_p"> D2: 1N5819 </div> <div class="e_p"> D3: 1N5819 </div> <div class="e_p"> D4: 1N5819 </div> <div class="e_p"> D5: 1N5819 </div> <div class="e_p"> D6: 1N5819 </div> <div class="e_p"> D7: 1N5819 </div> <div class="e_p"> D8: 1N5819 </div> <div class="e_p"> T1: BC547 </div> <div class="e_p"> T2: BC547 </div> <div class="e_p"> screw 2 via (3 pz.) </div> <div class="e_p"> Strip male 3 via (9 pz.) </div> <div class="e_p"> Jumper (5 pz.) </div> <div class="e_p"> Strip M/F 6 via (2 pz.) </div> <div class="e_p"> Strip M/F 8 via (2 pz.) </div> <div class="e_p"> PCB </div> <div class="e_img"> <br /> </div> <div class="e_p"> <strong></strong> </div> </div>
501
comment
All comments
Unknown
3365
0
501
Rules about cashback: 1. Valid time: ALLPCB cashback activity will end on April 1st. 2. Capped amount: The capped amount of cashback for each account is $5,000. Each order can get a maximum of $2,000 cashback. That means every author can get $5,000 max. 3. Cashback range: The cashback activity only covers the corresponding PCB order. The order amount for other combined payment products will be invalid. 4. Clicking your own promotional link will be invalid. The same email address, shipping address, contact information, and phone number are all recognized as the same account. 5. ALLPCB has the final interpretation right of the cashback activity.
ALLPCB will donate 2% to the author for this promotion link.