48 Threads found on edaboard.com: 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 (...)
Microcontrollers :: 01.12.2009 12:48 :: esgalven :: Replies: 1 :: Views: 1642
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 (...)
Microcontrollers :: 13.12.2009 17:49 :: chili :: Replies: 3 :: Views: 1946
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:
Microcontrollers :: 02.04.2010 03:14 :: HeavyJ :: Replies: 0 :: Views: 2299
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!!
Microcontrollers :: 31.12.2003 12:55 :: kkdelabaca :: Replies: 2 :: Views: 3407
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?
Robotics and Automatics Forum :: 13.02.2006 05:18 :: river78 :: Replies: 0 :: Views: 1051
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 (...)
Robotics and Automatics Forum :: 11.05.2006 06:02 :: boogiedoll :: Replies: 0 :: Views: 1205
Hi. Look here:
Microcontrollers :: 15.09.2007 06:14 :: petarpav :: Replies: 5 :: Views: 4766
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, (...)
Microcontrollers :: 28.07.2009 16:44 :: Engin_nerd :: Replies: 1 :: Views: 1410
I am doing hobby project on controlling dc servo motor using 89c51.
1) i want to buy "brushed dc motor with digital feedback". it is available only in scraps but i do not know how to identify motor having above mentioned properties .
plz guide me to buy correct one.
2)i do not know how to code (...)
Microcontrollers :: 05.11.2009 13:42 :: hashirbadar786 :: Replies: 3 :: Views: 4639
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 (...)
Microcontrollers :: 15.10.2010 23:52 :: edwardho :: Replies: 4 :: Views: 1067
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
Microcontrollers :: 17.02.2011 10:23 :: ShashanCk :: Replies: 3 :: Views: 2296
Hi all, I have just started programming 8051 .
I want to control a geared dc motor ( 12 V)
I am using the l298 driver.
I could connect the In1, In2, EA to controller and OUT1 and OUT2 to the motor. and connected SenseA to GND
I want to vary the current of the load(motor).
Microcontrollers :: 17.03.2012 08:50 :: srikanth977 :: Replies: 2 :: Views: 1287
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.
PC Programming and Interfacing :: 18.11.2012 01:19 :: 14dhrumit :: Replies: 14 :: Views: 473
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 (...)
Microcontrollers :: 02.03.2013 05:20 :: kalyan.chakri :: Replies: 5 :: Views: 396
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.
Hobby Circuits and Small Projects Problems :: 20.06.2006 06:42 :: Ahmed Ragab :: Replies: 7 :: Views: 1927
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.
Microcontrollers :: 09.11.2006 03:29 :: dunn :: Replies: 5 :: Views: 1013
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. ....it's really make me fuzzy right now....
thanks in advance...:D
Microcontrollers :: 09.03.2007 23:04 :: nuarizzah :: Replies: 1 :: Views: 696
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....
PC Programming and Interfacing :: 02.07.2007 09:08 :: pakiboy :: Replies: 1 :: Views: 1107
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
Microcontrollers :: 25.07.2008 11:53 :: ivansousa :: Replies: 4 :: Views: 1472
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
Hobby Circuits and Small Projects Problems :: 12.03.2009 09:00 :: madni786 :: Replies: 0 :: Views: 1889
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 (...)
EDA Jobs :: 14.05.2009 22:54 :: shondolala :: Replies: 0 :: Views: 541
me and a classmate is coming with a schoolproject where we're supposed to control 2 100W 12v DC motors using a computer.
We're looking for suggestions, can we do this through the computers parallelport or COM-port?
Do you guys have any wiring diagrams for circuits that we will need?
All suggestions are appreciated!
PS! We will be
Robotics and Automatics Forum :: 22.10.2009 02:48 :: olof102 :: Replies: 11 :: Views: 5314
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. (...)
PC Programming and Interfacing :: 25.02.2010 13:37 :: mjklein :: Replies: 0 :: Views: 464
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
Digital Signal Processing :: 05.03.2010 15:14 :: midou :: Replies: 0 :: Views: 1898
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 (...)
Microcontrollers :: 27.05.2010 04:10 :: Rans :: Replies: 3 :: Views: 788
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"
Print S ; Count ; Chr(13);
Microcontrollers :: 08.01.2011 16:06 :: dani222 :: Replies: 1 :: Views: 376
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
Microcontrollers :: 23.02.2011 15:39 :: lwilliams :: Replies: 1 :: Views: 695
Depends on your motor or actuator. You use dc motor, servo motor or stepper motor?
Microcontrollers :: 13.05.2011 12:56 :: engshahrul :: Replies: 5 :: Views: 767
sure saubhik as your bless i il do by own bt since im new 2 vb6 as you say...
for ur in4m i hv no parallel port in my laptop so i hv 2 use USB to parallel 25 pin female to connect the circuit..... im do knw wht mean by analogous variac.... wht te process is when click button D1 goes high thn timer control DC motor to rotate forward thn D2 goes lo
PC Programming and Interfacing :: 13.05.2011 13:00 :: saathis :: Replies: 4 :: Views: 1281
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 (...)
Microcontrollers :: 27.10.2011 09:49 :: sajeev :: Replies: 2 :: Views: 699
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
Software Problems, Hints and Reviews :: 19.02.2012 01:53 :: vinoth8051 :: Replies: 3 :: Views: 1987
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
sbit rotate = P1^0;
sbit square = P1^1;
Microcontrollers :: 04.03.2012 08:45 :: jkjut :: Replies: 14 :: Views: 701
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 (...)
Microcontrollers :: 28.02.2013 23:29 :: ebclr :: Replies: 1 :: Views: 232
Hi electric doorlocks are sometimes using a small DC motor with gearbox, the DC motor only needs some 100 - 300mA for a few seconds..
Hobby Circuits and Small Projects Problems :: 30.10.2006 15:49 :: PaulHolland :: Replies: 7 :: Views: 5647
AC/DC motor Drives, Home automation (i.e. control of differnt parameters), microcontroller based small PLC, Wirelsss control of different systems etc.
Robotics and Automatics Forum :: 06.08.2007 12:36 :: info_req :: Replies: 2 :: Views: 1310
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 (...)
Microcontrollers :: 26.02.2009 16:30 :: jacksdums :: Replies: 2 :: Views: 3343
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.
Microcontrollers :: 08.11.2010 04:29 :: ckshivaram :: Replies: 6 :: Views: 1038
6 dc motors are driven by hard ware drivers.... what software you are talking about
Software Links :: 04.01.2011 12:00 :: ckshivaram :: Replies: 9 :: Views: 114
Dear i m unable to understand what u really want to do? I guess that u want to control the speed of DC motor. If yes then do me know i can send u some sample codes plus circuit diagram for that.
Microcontrollers :: 26.01.2011 18:40 :: ayazahmed :: Replies: 3 :: Views: 470
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 (...)
Power Electronics :: 25.01.2011 22:30 :: dksoba :: Replies: 3 :: Views: 628
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
Analog Circuit Design :: 28.02.2011 08:48 :: dannomassey :: Replies: 6 :: Views: 1440
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
PLD, SPLD, GAL, CPLD, FPGA Design :: 18.06.2011 18:09 :: vforvendetta :: Replies: 1 :: Views: 925
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.......
Microcontrollers :: 01.08.2011 13:19 :: ckshivaram :: Replies: 6 :: Views: 486
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 (...)
Robotics and Automatics Forum :: 02.09.2011 04:09 :: Richy1912 :: Replies: 0 :: Views: 673
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 (...)
PC Programming and Interfacing :: 26.01.2012 03:06 :: rocker_boy :: Replies: 1 :: Views: 632
. 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 (...)
Hobby Circuits and Small Projects Problems :: 11.06.2012 08:30 :: i_chaitanya :: Replies: 3 :: Views: 771
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.
Microcontrollers :: 17.10.2012 20:59 :: bigdogguru :: Replies: 6 :: Views: 366
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. (...)
Robotics and Automatics Forum :: 27.08.2009 08:14 :: elrayes :: Replies: 6 :: Views: 2045