English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i mean which pins to use
(also tell me simple uses of other pins)
also give info on programming it

2006-09-08 06:11:49 · 6 answers · asked by lose control 2 in Science & Mathematics Engineering

the dc motor is to be connected to an h-bridge circuit
ANY LINKS?

2006-09-09 01:40:13 · update #1

6 answers

anytime you want to control an analog device with a digital device, such as the current flow through a DC motor you can use PWM (pulse width modulation). This works by taking a typical square wave and ranging its positive pulse width from 0% to 100% duty cycle. This digital output can turn a MOSFET on and off,directly controlling the current through the motor. The motor, which is an inductor, will average the current flow, and thus you can control the speed of the motor.

look up 8051 PWM outputs, or PWM motor controllers, etc you should find plenty of methods for the micro-controller you want to use.

2006-09-08 07:36:12 · answer #1 · answered by jdrisch 2 · 2 0

I have controller 8051 as one of my subject right now, so i am also learning that, but i probably would like to guess in this matter. You can use and of port 0,1,2,3 pin, make tcon and tmod as per the requirement of timer 0 or timer 1, then and them with 0cfh(hex) . D4 bit is for timer 0 starting you connect external port with relay and then to motor, so as soon as the timer bit d4 gets 1 relay will start and in turn start the motor, and then when you want to stop that you and that with 20hex and it will stop. you can perform this under someones supervision.

2006-09-08 06:20:46 · answer #2 · answered by HAS 1 · 0 0

Beginning of an end

2006-09-09 19:02:20 · answer #3 · answered by indiananytime 2 · 0 0

there are better choices thee days. like intel 8097 or 80197

2016-03-27 02:59:50 · answer #4 · answered by Anonymous · 0 0

May be how stuff works can help you.

2006-09-11 00:20:18 · answer #5 · answered by Anonymous · 0 0

you can use the PWM port

2006-09-13 10:57:45 · answer #6 · answered by dand370 3 · 0 0

fedest.com, questions and answers