Search the Community
Showing results for tags 'control'.
-
I have been using a simulink model and CCSv5 to try and create the .out file for the launchpad however the file is not stored after being disconnected (ie reverts back to the out of box temperature check program) I am trying to control the h-bridges on the booster pack of the drv8711 and have attempted to follow a number of examples such as: http://uk.mathworks.com/matlabcentral/fileexchange/49109-dual-motor-control-with-ti-f28069-launchpad Having difficulty connecting and controlling the board if you could offer any suggestions or advice on simulink control methods I would be most appreciat
-
Hi all, I am trying to control a common rc servo with launchpad. I am using timer for pwm signals. But my code doesn't work. I am stuck. Basic codes from ti tutorials don't work either. My servo is : SM-s3317s I power it with arduino uno (5V and GND) also connect the control wire to launchpad (p1.2) . I checked the servo with arduino, it doesnt have any problem. I tried to adjust pwm period to 20 ms and also tried to have high pulses between duration of 1ms-2ms as it is seen in the code. my mcu is : g2553 Here is my code : #include <msp430g2553.h> #define SERVO_BIT BIT
-
// * DATE: 1/21/2013 // * DESCRIPTION: Simple program to run 8 lead stepper motor at half-steps #include "msp430g2452.h" volatile unsigned short a = 1; volatile unsigned short i = 1; volatile unsigned short j = 2; volatile unsigned short k = 3; volatile unsigned short l = 4; volatile unsigned short m = 5; volatile unsigned short n = 6; volatile unsigned short o = 7; volatile unsigned short p = 8; /* MAIN */ void main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer P1DIR &= ~BIT3; P1IE |= BIT3; P1DIR |