This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

i want help abt program

sir, i want a help on program i w2ant to run cctv motor in 120 degree actually camera is affix on motor
an there are three camera
as u select the camera bye a selector you could get video of that lab and camerra will rotate as soon as motor will rotate by us of selector.
i am using 89c51

Parents
  • Except that it should stop the motor if the user is stupid enough to keep the button pushed, and the camera isn't mounted to allow any number of turns in the same direction.

    It would be bad to burn the motor or rip the video cable because of bad programming and possibly missing sensors.

Reply
  • Except that it should stop the motor if the user is stupid enough to keep the button pushed, and the camera isn't mounted to allow any number of turns in the same direction.

    It would be bad to burn the motor or rip the video cable because of bad programming and possibly missing sensors.

Children
  • Surely, it can all be done just with switches?!

    In fact, it looks like you probably should do it just with switches first so that you actually understand what's going on...

    Once you've got it working and understood it with just the switches, then you could think about what improvements and advantages a microcontroller might bring...