{"id":6083,"date":"2019-08-07T08:40:00","date_gmt":"2019-08-07T12:40:00","guid":{"rendered":"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/TB6612HBridgeUno_schem.png"},"modified":"2019-08-07T16:43:29","modified_gmt":"2019-08-07T20:43:29","slug":"tb6612hbridgeuno_schem","status":"inherit","type":"attachment","link":"https:\/\/itp.nyu.edu\/physcomp\/tb6612hbridgeuno_schem\/","title":{"rendered":"TB6612HBridgeUno_schem"},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"class_list":["post-6083","attachment","type-attachment","status-inherit","hentry"],"description":{"rendered":"<p class=\"attachment\"><a href='https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/TB6612HBridgeUno_schem.png'><img loading=\"lazy\" decoding=\"async\" width=\"1124\" height=\"703\" src=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/TB6612HBridgeUno_schem.png\" class=\"attachment-medium size-medium\" alt=\"Schematic diagram of an Arduino connected to a motor driver to control a DC motor.\" srcset=\"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/TB6612HBridgeUno_schem.png 1124w, https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/TB6612HBridgeUno_schem-768x480.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n"},"caption":{"rendered":"<p>Schematic diagram of an Arduino connected to a motor driver to control a DC motor. The Arduino and switch are connected as described in the drawing above. A motor driver has been added, and is connected to as follows:  PWMA is connected to the Arduino&#8217;s digital pin 9. AIN1 is connected to digital pin 4. AIN2 is connected to digital pin 3 on the Arduino. AO1 and AO2 are connected to the DC motor&#8217;s two connections. The ground pins are connected to ground. VM is connected to the positive terminal of a DC power source for the motor. The power source&#8217;s negative terminal is connected to ground. The motor driver&#8217;s Vcc pin is connected to the Arduino&#8217;s  voltage output (5V or 3.3V depending on your model). The Standby pin is connected to voltage through a 10-kilohm resistor. The rest of the H-bridge pins are unconnected.<\/p>\n"},"alt_text":"Schematic diagram of an Arduino connected to a motor driver to control a DC motor.","media_type":"image","mime_type":"image\/png","media_details":{"width":1124,"height":703,"file":"TB6612HBridgeUno_schem.png","sizes":{"thumbnail":{"file":"TB6612HBridgeUno_schem-150x150.png","width":150,"height":150,"mime_type":"image\/png","source_url":"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/TB6612HBridgeUno_schem-150x150.png"},"medium_large":{"file":"TB6612HBridgeUno_schem-768x480.png","width":768,"height":480,"mime_type":"image\/png","source_url":"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/TB6612HBridgeUno_schem-768x480.png"},"full":{"file":"TB6612HBridgeUno_schem.png","width":1124,"height":703,"mime_type":"image\/png","source_url":"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/TB6612HBridgeUno_schem.png"}},"image_meta":{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0","keywords":[]}},"post":null,"source_url":"https:\/\/itp.nyu.edu\/physcomp\/wp-content\/uploads\/TB6612HBridgeUno_schem.png","_links":{"self":[{"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/media\/6083"}],"collection":[{"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/media"}],"about":[{"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/types\/attachment"}],"author":[{"embeddable":true,"href":"https:\/\/itp.nyu.edu\/physcomp\/wp-json\/wp\/v2\/users\/2"}]}}