Search Engine

Dc Motor Control Programming

Add Question

48 Threads found on Dc Motor Control Programming
hello to all. i am new in programing pic. i am good at programming plc but my prof. doesnt want to use it, because of high price. i have a project. i am controlling a wire straightener machine. i am using a 24V, 40 Watt dc motor to roll the rollers. what i am trying to do is to control the motor by (...)
hi experts , I'm new in microcontrollers and learning them for my project now. I have three 38V DC motors and their encoders with 240 pulse/rev. I want to start DC motors and count encoder pulses and say stop by PIC16F877 when they reached to my value. Which program,compiler could you advise to me ? Also have you got any web link (...)
Hello, I finally built a working development/programming station for the 16F877. Switching from POSIX-threads-C to assembly language. I could use some help with the assembly code and parts for these Sub-Sections of the DC-motor throttle project I am working on: --------------------------------------------------------------------------------
Hello, Somebody can give me information for making a PID to control a DC motor ? The motor have a encoder HEDS-5540. I am using the microcontroller PIC18F452 and I am programming in C. I am a novice and I have never used MATLAB. Regards and HAPPY NEW YEAR!!
I used LM629N-6 to control DC motor. I used 80188 to control LM629, but i couldn't open the PMW gate. I had programmed LM629 and read real position. I had programmed same LM629/LM628 programming guild. But now i don't know why i can open PMW gate. So would u help me? Thank alot!
I use a motor controller/driver to do position control of a dc motor (without closed-loop feedback programming ) My question is, how to do position control of a dc motor in c language without using a motor controller/driver? Where can I (...)
Hi. Look here: \ \ Best Regards.
I'm stuck on this project and I believe something is wrong with my code. I'm using a black/white wheel encoder with 24 tics on it, a infrared reflective light sensor (to detect the black and white tics), a dc motor, and a quadruple half h-driver to control the motors movement. I want the motor to move from the black tic, (...)
"brushed dc motor with digital feedback". a common arrangement is a dc motor with an optical disk mounted on it's shaft. The optical disk has a pattern printed on it that is 'read' by an opto switch. Rip apart a couple of old printers and you should find one. As for 'C', you need to do some reading.
Hi all, I'm very new in this area. Hope someone can give me some guideline or solution to solve my problems. I'm decide to using programming in pic to control difference speed of dc motor. My problem is i am using pic16f876A send pwm to L293D motor driver to control dc motor. Dc (...)
can anyone help me out regarding my project "IMPLEMENTATION OF PID controlLERS USING PIC FOR SPEED control OF DC motor".i could nt figure out the exact circuit diagram....i will be really gratefulu to o if i can find it out
hi once upon a time when i was a student i had a school project which i would be controlling a step and a dc motor via usb, i am attaching the schematics, you can see the connections 70983709837098370983 70984709
hi everyone, I am having trouble in programming 12V DC motor. I want the program of 12V DC motor in C or assembly language. somebody please help me as soon as possible.
we are using lm35d sensor to sense temperature,a lcd 16*2 display ,with a change in temperature,we want to change motor speed which drives a fan for cooling .we are using dc 12 v motor.for this we are using fuzzy logic.we dont know how to buid instructions in mickro c language.we dont know how to change speed of motor automatically when (...)
Why do you need an h-bridge for a stepper motor ??! An h-bridge would be more useful if you're working with a DC motor not a stepper. A stepper motor needs a stepping sequence, which you could easily generate using your PIC. All you would need here is a buffer such as the ULN2003 to avoid buring out the controller. Salam
I want to make a robot to play with. I want to be able to control dc motors (windshield wipers) through a PC's parallel port. I need to have some sort of graphical interface (perhaps lab view?) so i can control them easily, without editing code. Thanks in advance.
hi everyone.... i'm doing my project in dc motor drive with fuzzy controller..could anybody help me with this. specially with the programming part that related to fuzzy controller. i'm using pic c language.'s really make me fuzzy right now.... thanks in advance...:D
I want to vary the speed of DC motor through parallel port using C language..... how could i do it...can any body giv me the clue of commands use in programming for speed control in C.... can body help me this is regard ...... PLZZZzzzzzzz....
Hi! I need some help! i am trying programming a pic 18f to control a motor dc of a robot... so this is not my area can u guys help me plz?? give me some examples of c code plz thx for your time
1) i want to control rpm meter and through labview.i dont have problem in programming in labview but can any 1 pleas tell me that how can i interface rpm with daq card or just tell me what kind of input does rpm meter takes specificaly analog rpm meter is it electrical signal and if yes then what is the working of that rpm meter. 2) my second qu
My final diploma project is about the above written subject. i have done some research on it but the most difficult part comes in through the programming part because i wanted to use PIC16F84A and L293D in controlling the motor. i would like to do this application on a car using 6V PMDC.The power supply is a 9v of batteries. i have also (...)
to vary the speed of DC motors u need PWM signal, it can be generated via software programming, in order to keep the hardware simple use parallel port + H-bridge Driver Also this IC needs the external drivers to drive the MOSFETS (especially the upper ones) and to have a dead-time. Fellows should pay atten
Hi.I'm new member here.I'm facing problem with controlling the DC geared motor rotating time as using C language programming. How to i delay the motor operating time till 5seconds? Below is the example of backward motor operating method as i use motor driver L293D. (...)
I'm working in a project aiming to realise a board based in TMS320DM6437 this board will be integrated in a camera so I need to realise a communication between the DSP DM6437 and an ARM9 (SPI communication) the DM6437 is the slave and the ARM9 is the master. First step I tryed to test the communiction between the DM6437 and an SPI EEPROM but I have
Hello, I used PWM with PIC16F877A to control a geared DC motor. MikroC was used for programming. I used an ULN2003 IC to drive the motor. Whenever I connect a LED or checked using the voltmeter, my program is working properly. However, as I connect the DC motor the motor produces an audible (...)
Hi I need a dc motor remote control so I I wanted a program I wrote is true whether or not? Who can to help? The program for the transmitters is a string: $regfile = "m16def.dat" $crystal = 1000000 $baud = 9600 Dim S As String * 13 Dim Count As Integer S = "SOBHAN" Main: Do Waitms 75 Incr Count Print S ; Count ; Chr(13); Loop E
We're making a spinning LED display which consists of 8 LEDs connected to a spinning arm on a DC motor, the LEDs are connected to a PIC16F88 microcontoller with an optical sensor triggering every revolution. The idea is the LEDs will flash on and off while the arm spins to provide an image, we need some help with the programming to set the sequence
Depends on your motor or actuator. You use dc motor, servo motor or stepper motor?
Hello im using DC motor with parallel port for open door system..... anyone know how to set timer to control speed of DC motor. Please be refer scenario below: Open Button: D1 goes high then set timer to rotate forward while control it speed for few seconds Close Button: D1 goes low then set timer to (...)
Hi I am going to build a governor control for hydro electric project. I would like to use PIC micro controller for developing PID logic.The first part of governor consists of frequency control of the hydro electric generator. The frequency sensor is magnetic pickup type. I have seen DC motor speed control (...)
Hi, RS232 Serial Communication in Visual Basic visual basic and RS232 for easy automation and control. Kits and tutorial help you to learn control of stepper motor, dc motor, vb programming, and electronics
Hy, i am facing problem in controlling dc motor.I wants when i will apply 1 at p1^1 then 2 motor which is connected at p2^0 and p2^1 and at p2^2 and p2^3 moves. otherwise remain off. Plz guide me. how can i do??????????????? my programming. plz check it #include sbit rotate = P1^0; sbit square = P1^1; sbit (...)
One key point is to understand that step motors aren't regular dc motors, they need to be pulsed with a sequence off signals to rotate, Your mat lab program must define how many steps you want the motor to rotate, acording to this your pic device will put the correct sequences off pulses on the motor passing by a power (...)
Hi electric doorlocks are sometimes using a small DC motor with gearbox, the DC motor only needs some 100 - 300mA for a few seconds.. Paul.
AC/DC motor Drives, Home automation (i.e. control of differnt parameters), microcontroller based small PLC, Wirelsss control of different systems etc.
Good friends I want to send 4 bytes to the PIC16F628 microcontroller and then the PIC should control the DC motor.The second byte is address, the third byte will have speed and directional bit and fourth is for error detection. The first is 8 bit (all ones as it is a preamble) How can I program this? I am so new to (...)
Use 2 proximity sensors for your robot. It gives TTL outputs which are directly interfaced to port pins. it does not need adc and requires very simple programming where you read the port pins status high or low and control your dc motor of robot as per the sensor readings.
6 dc motors are driven by hard ware drivers.... what software you are talking about
i need micocontroller ,relay,npn,dc motor circuit connection diagram and its program in c language where the dc motor can move 0,90 and 180 degree .
Hello, I've recently made a motor control board. Rather simple, it has an H-Bridge run with 4 N-channel MOSFETs and half bridge drivers from fairchild, microcontroller from TI. Anyways, I was testing the H-Bridge circuit with a motor (after doing a LOT of tests with both high, and then lower value resistors, to make sure (...)
Hi All I am new to this forum but hopoe some of you may be able to help me, thanks in advance if you can. I need to design DC a voltage selector circuit for driving a loaded DC motor. I need to select a range of set voltages between +10V and +32V @ ~500mA driven from a DC power supply. My initial design was a series of voltage dividers tapped
hi to all; my final project is pi controller in vhdl,but i always have problems in programming especially while i try to compile.please help me to write pi controller in vhdl .because i have to control dc motor with pi controller.PLEASE contact wit me for this topic quickly.Thanks for all things
which IDE?? ok use a toy car with DC motor.. use L293D motor driver for driving the motor... Use HT12E for transmitter and HT12D for receiver... and program the controller to run the robot.......
I recently purchased a Rover 5 and motor controller and was wondering if someone could help me with programming it. I need to program it so that it autonomously goes forward, stops, and backwards over a predifined time. I understand that for example driving Ch1 high will make the motor spin forwards and low backwards, but (...)
Warmest greetings everybody, I need help for a project on a microcontroller. I want to interface an LM35 (Temperature Sensor) as an input to the PIC18F4550 Microcontroller to control a 5 volt DC motor output using PWM. How I want it to be: Sense surrounding temperature but read to PIC18F4550 as voltage readings. So (...)
. you just have to drive a motor so bluetooth control can be handled easily. your project will require some controller programming and also i think your circuit will be simple enough for you to understand as far as motor is concerned i would suggest you to use brushless DC motor as it can (...)
Can we use PIC to control the operating time interval between two dc motors? Like for example, I would like motor A to keep rotating for 3 sec and upon stopping for that programmed time the motor B starts for 5 sec. Please tell me if it's posible in PIC micro so that I will continue to the next chapter of my tutorial. [
you need to know about: - DC, servo and stepper motors how they work. - H bridge circuit and its uses with DC and stepper motor. - speed control using PWM. - microcntroller programming and interfacing, i recommend for you PIC microcontrollers, easy to learn, much resources available and support anywhere. (...)