PWM speed control of DC motor using MSP430 Launchpad and L293D

PWM speed control of DC motor using MSP430 Launchpad and Motor Control Booster Pack

In the previous article we learned how to control a dc brushed motor using MSP430G2553 and L293D motor driver chip,the main focus in that article was about starting and controlling the direction of motors.The motors were allowed to be rotated at their maximum speed.In this article we are going to implement a simple PWM (Pulse Width Modulation) based speed control for DC brushed motors using MSP430 Launchpad.

Controlling DC motors using MSP430 Launchpad and L293D

msp430 launchpad interfaced with L293D  controlling two dc motors

In this tutorial we will control two DC brushed motors using MSP430 Launchpad (MSP430G2553) and L293D Motor Driver IC (Robot Shield). L293D is a quadruple high-current half-H driver IC which can be used for controlling DC brushed motors,solenoids,relays etc.The IC contains 4 half H drivers which can be combined together to create two full H bridge circuits for controlling two DC brushed motors.The L293D is designed to provide bidirectional drive currents of up to 600-mA at voltages from 4.5 V to 36 V,Here we will be running the motors at 12V.

Make Your Own MSP430 Launchpad based Robot

Hi Guys & Gals welcome to my MSP430 based robot building tutorial.
This tutorial serves as a short introduction to Robotics using MSP430 microcontroller and Launchpad development board from TI.Here we will build a small differential powered robot from scratch using MSP430G2553 controller and L293D motor control chip.MSP430G2553 is an extremely cheap low power that comes along with the Launchpad microcontroller kit from Texas Instruments(
MSP-EXP430G2), They usually provide two extra controllers along with the launchpad development board.

MSP430G2553 Launchpad controlled robot build using motor control booster pack

This tutorial follows a DIY ethic and can be assembled easily with things lying around in your garage, only exception is the Launchpad micro controller kit which you have to purchase from Texas instruments.The Frame of the robot is constructed from cardboard and the circuit is assembled on a general purpose PCB using a mixture of through hole and SMD components (mostly resistors and capacitors) .In case you are not comfortable with SMD you can use through hole components.

In case you dont want to build the whole thing you can purchase the shield containing all the electronics parts ( except MSP430) which you can plug over your MSP430 Launchpad development board from TI.The Shield can be purchased from here.

The robot building tutorial using MSP430 Motor Control Booster Pack (AKA MSP430 Robot Booster Pack)  can be found here

MSP430 robot made using Robot booster pack sold at this site and learn about MSP430 robotics

IAR Embedded Workbench Tutorial for MSP430

IAR embedded workbench tutorial for msp430 microcontroller and launchpad development board

A short tutorial on how to use the IAR Embedded Workbench  5.3 to program and debug MSP430 microcontrollers on a windows box.The article teaches the reader to create and  compile a simple C Project to blink the LED on a launchpad development board  from Texas Instruments.The article can also be used with other MSP430 emulators like MSP430 Flash Emulation Tool (MSP-FET).

IAR Embedded Workbench for MSP430 is a commercial integrated development environment developed by IAR Systems. The IDE comes in a paid full version and a code limited trial version.The free version can be downloaded from the IAR website free of charge and supports all the MSP430 derivatives. It is limited to a program size of 4KB.This would sufficient for programming most MSP430G2xxx series that comes with Launchpad development kit.

If you require more program size than 4 KB then you can try Code Composer Studio from Texas Instruments (Free Version -16 KB code limit) or Open source MSPGCC compiler.


RS485 Programming using Python and USB to RS485 Converter

cross-platform RS485 programming on windows and linux using Python

In this tutorial we will learn to communicate with a microcontroller like 8051 or MSP430 from an x86 PC (Linux/Windows) using RS485 Protocol.Here the software running on PC will send commands to a microcontroller board through twisted pair RS485 cable and control the peripherals connected to the microcontroller. 

The control software running on the PC is written in Python and uses the PySerial module for RS485 communication.A USB to RS485 converter is used to convert the data send by the PC to RS485 compatible signals.On the receiver side a MSP430 Launchpad is interfaced with a MAX485 chip for decoding the signals.


Subscribe to xanthium enterprises RSS