Raspberry pi Controlling DC Motor

In this video i will show you how to Control DC Motor using Raspberry pi. Python Code to Control DC Motor: import sys import time import RPi.GPIO as gpio gpio.setwarnings(False) gpio.setmode(gpio.BOARD) gpio.setup(7,gpio.OUT) gpio.output(7,1) gpio.setup(8,gpio.OUT) gpio.setup(10,gpio.OUT) try: while True: gpio.output(8,1) gpio.output(10,0) time.sleep(5) gpio.output(8,0) gpio.output(10,1) time.sleep(5) gpio.output(8,0) gpio.output(10,0) time.sleep(3) except KeyboardInterrupt: gpio.cleanup()[…] Continue reading

Plz Share Share on FacebookShare on Google+Share on LinkedInTweet about this on TwitterEmail this to someoneShare on RedditShare on TumblrDigg thisBuffer this pagePrint this pagePin on PinterestShare on StumbleUponFlattr the author