If you want a program to control the motor with a 51 single chip microcomputer, it is better to atta

Updated on technology 2024-04-16
8 answers
  1. Anonymous users2024-02-07

    This is to use the button to control the control direction of the stepper motor.

  2. Anonymous users2024-02-06

    The step angle of this motor should be degrees, the reduction ratio is 64, then the number of pulses required for one revolution is:

    360 (, which means you have to give the motor 4096 pulses in these three days. Then calculate how long 3 days is, 24 * 3 * 60 * 60 = 259200 seconds, then how many seconds do you need to give a pulse can be calculated: 259200 4096 = seconds, as long as you control such a long time to give the stepper motor a pulse.

  3. Anonymous users2024-02-05

    One turn in three days, so what kind of motor are you? Step, what is the angle of rotation of the step.

  4. Anonymous users2024-02-04

    The conditions and requirements of the topic are unknown.

  5. Anonymous users2024-02-03

    Hello! What model of your development board? Schematics are required.

  6. Anonymous users2024-02-02

    This is a practical application project, and it needs to be practical and reliable. Not counting labor costs, it also costs several thousand. If you really want to do it, in addition to the data that has been given, you also need to know what the drive circuit of your stepper motor is?

    It is required for the interface circuit design of the single-chip microcomputer. It is best to inform the installation method, working conditions, whether there is any special interference, etc.

  7. Anonymous users2024-02-01

    1All well,There is no ready-made program,Because I don't know how your pins are defined,Examples can refer to Guo Tianxiang's "51 single-chip microcomputer C language tutorial", which has, I referred to it when I wrote the program.

  8. Anonymous users2024-01-31

    Transducer sensor is a detection device that can feel the measured information, and can transform the felt information into electrical signals or other required forms of information output according to a certain law, so as to meet the requirements of information transmission, processing, storage, display, recording and control.

    The characteristics of the sensor include: miniaturization, digitization, intelligence, multi-function, systematization, and networking. It is the first link to realize automatic detection and automatic control.

    The existence and development of sensors allow objects to have senses such as touch, taste, and smell, allowing objects to slowly become alive. It is usually divided into ten categories: thermal elements, photosensitive elements, gas-sensitive elements, force-sensitive elements, magnetic sensitive elements, moisture-sensitive elements, acoustic components, radiation-sensitive elements, color-sensitive elements and taste-sensitive elements according to their basic sensing functions.

Related questions
10 answers2024-04-16

It should be that the bias resistor selection is not suitable.

9 answers2024-04-16

The method of using two timers is to use the timer t0 to control the frequency and the timer t1 to control the duty cycle. The general programming idea is as follows: the t0 timer interrupt makes an i0 port output high, and starts the timer t1 in the interrupt of the timer t0, and this t1 makes the io port output low, so that changing the initial value of timer t0 can change the frequency, and changing the initial value of timer t1 can change the duty cycle. >>>More

4 answers2024-04-16

For assembly: you can define three storage areas, such as 30h, 31h, 32h, all of which are decimal, 30h plus 1 when the key is pressed, 31h plus 1 when added to 10, 31h plus 1, when 31h added to 10, 32h plus 1, you can. >>>More

6 answers2024-04-16

With c, I think about it:

1. It has something to do with hardware, do you know this? >>>More

10 answers2024-04-16

time=th1*256+tl1;

This is to use the timer t1 to count, time=th1*256+tl1; This is to calculate the time according to the count value of the timer counter t1, th1 is the higher 8 bits of the counter, and the count result is of course multiplied by 256 times, plus the value of the lower 8 bits tl1. >>>More