background preloader

Labs / DC Motor Control Using an H-Bridge

Labs / DC Motor Control Using an H-Bridge
Overview In this tutorial, you'll learn how to control a DC motor's direction using an H-bridge. To reverse a DC motor, you need to be able to reverse the direction of the current in the motor. The easiest way to do this is using an H-bridge circuit. There are many different models and brands of H-Bridge. This tutorial uses one of the most basic, a Texas Instruments L293NE or a Texas Instruments SN754410. If you simply want to turn a motor on and off, and don't need to reverse it, for example if you're controlling a fan, try the tutorial on controlling high current loads with transistors. (:toc Table of Contents:) Parts For this lab you'll need: Solderless breadboard 22-AWG hookup wire Arduino Microcontroller module Light Emiting Diodes, LED 10Kohm resistors Switch L293NE or SN754410 H-bridge 12V DC power supply DC Motor Prepare the breadboard Connect power and ground on the breadboard to power and ground from the microcontroller. (Diagram made with Fritzing) Add a Digital Input (a switch) Find a motor

Related:  Motorbipblip

Arduino Perpetual Motion Machine (Pendulum)- aHT8pendu HOME - - - - - - - - Table of contents, my Arduino "How To" articlesOther material for programmers Bookmark this on Delicious Recommend to StumbleUpon Basic Idea I wanted to set up a pendulum with a small magnet on its end, place an electromagnet beneath where the pendulum would swing, and then energize the electromagnet briefly from time to time to "nudge" the pendulum so that it would swing "forever". playground - PCD8544 A simple example of interfacing with the 84 x 48 pixel Nokia 3310 LCD. With just five pins, 3.3V and ground and no other electronics (Some models of LCD may require a 1uf to 10uf capacitor between VOUT and GND pins, as output is distorted), the following sketch will write "Hello World!" It builds on the work of others (kuk and Sylvain Bissonnette) whilst cutting the cruft. More details and plotting to follow.

Polargraph Drawing Machine Well there have been lots of new drawing machines doing the rounds lately, there's a real thirst to see devices that leap out of the virtual into the physical. For me, it's all too easy to produce digital things which are interesting - programming or mash-ups or virtual experiments are devalued because they are intangible, you can run a hundred, a thousand, a million variations in a day - it's the proverbial roomful of monkeys with typewriters. The output becomes disposable, it get's hard to see the value, the craft. So 3D printers and other desktop manufacturing tools and technologies (laser cutters etc) have got more and more popular, it's hard to overestimate how much hunger there is for a tangible, physical, touchable, smellable product of all this clever-clever digital work. So this isn't wholly original, check out this prior art for more inspiration: But this is the original Polargraph!

Arduino Platform - Differential Gap Control (Solar Tracker) Download schematic and source code - 19.66 KB Introduction This article gives a very simple introduction into writing a differential gap controller on the Arduino platform. Bitmap converter for mono and color LCD displays LCD Assistant LCD Assistant is a free tool for converting monochromatic bitmaps to data arrays for easy use with programs for embedded systems with microcontrollers and graphics monochromatic LCD displays like a T6963C, KS0108, SED1335 etc. Program create files for use with any C compiler : for AVR, ARM, PIC, 8051 and ohter microcontrollers. You can use directly with Arduino, mbed and any other design environment based on C compiler. If you use graphic LCDs and you want to display pictures, this program is for You!

Robotic Arm – Hardware This is first in series of articles about project I've been building in my spare time since last Summer. Actually it all began when I was researching a topic of modeling human motion kinematics in order to create gesture recognition library for Kinect. This ties heavily into motion theory of robotic manipulators so I also glanced at some designs of robotic arms. Somehow I stumbled upon this cool looking open source robotic arm: V-USB with ATtiny45 / ATtiny85 without a crystal » Code and Life One guy at Hack a Day remarked on the long wire runs in my V-USB tutorial breadboard setup. So I thought I’d build upon the part 4 of the tutorial but modify the setup a bit to run the AVR at 5 volts and use zener diodes to drop D+/D- voltage, thus eliminating the need for a regulator. And why not stop there. ATtiny45 and ATtiny85 are smaller than ATtiny2313 and have an internal oscillator that can be calibrated to provide 16.5 MHz clock, accurate enough for V-USB to do its magic.

Uptech CDS 55XX Serial Robot Servo (Robotis AX Compatible) The Uptech CDS 55XX Serial Robot Servo (Robotis Compatible) has been launched with the aim to solve most important problems caused by R/C servos in robot and simultaneously inheriting most of the advantages of them. Because of the advanced position sensor and precise A/D converter gives the high position accuracy, the position resolution in position-mode can be up to 0.3°. The response time is up to 2ms contrast a 20ms of traditional R/C servo. The CDS series robot servo can be linked by serial bus, which can connect up to 200+ servos. Each unit can feedback its position, rotation velocity, torque, current, motor temperature and so on.

Motor Driver - L293D - 1 Motor Driver and H-bridge basics Generally, even the simplest robot requires a motor to rotate a wheel or performs particular action. Since motors require more current then the microcontroller pin can typically generate, you need some type of a switch (Transistors, MOSFET, Relay etc.,) which can accept a small current, amplify it and generate a larger current, which further drives a motor.

IIC LCD Backpack The Arduino OBD-II Adapter works as a vehicle OBD-II data bridge for Arduino with open-source Arduino library provided. Besides providing OBD-II data access, it also provides power supply (converted and regulated from OBD-II port) for Arduino and its attached devices. [b]Features[/b][list][li]Directly pluggable into vehicle’s OBD-II port[/li][li]Serial data interface (UART for [url= or I2C for [url= efficiency DC-DC module for 5V/3.3V DC output up to 2A[/li][li]Supporting CAN bus (used by most modern cars), KWP2000 and ISO9141-2 protocols[/li][li]Accessing all OBD-II PIDs provided by the vehcile ECU[/li][li]Embedded 3-axis accelerometer, 3-axis gyroscope and temperature sensors ([url= only)[/li][li]Extendable and actively maintained Arduino library and example sketches provided[/li][/list] [b]Enhanced features of TEL0068[/b]

Starter Pack Which Includes Everything for Controlling a Servo from a PC If you have never used a servo before, let alone control one from a PC, then the “Servo Pack” provides an easy “plug-and-go” solution. Once you have the Servo running under PC control the knowledge and confidence you gain by actually using a Servo is invaluable in applying those techniques to a wide range of applications. The Servo supplied is one of the most popular types on the market and understanding its principles of operation provides a solid basis for using many other types. - For those who are already familiar with servos, the servo pack offers a very convenient way of adding a servo to your PC application. - For programmers, the supplied DLL means you have a servo that is instantly controllable from within your own program (Visual Basic, C, C++ etc…) All that is required to get the servo up and running under PC control are four AA size batteries.

[DIY] 3x3x3 LED cube Saw some really cool 3x3 led cube. It might just be the "it" decoration for my office to make it a more disco-ish setting. Grab some LEDs and components from the store and lets get cracking. My apologies for the late posting, was rather caught up recently. Projects DPRG Events Shoptalk Support the DPRG We need your help to keep going! Click the button to find out how you can help support our work!

Arduino Countdown Timer Arduino Countdown Timer Here is a simple example of how to connect up a 4-digit 7-segment display to the Arduino UNO board and make a countdown timer. The display starts at a predetermined value and counts down every second. When it reaches zero, the display flashes. You can easily add a buzzer to give an audable indication. Great for a simple egg timer or other countdown timer project