??? 03/26/06 01:17 Read: times |
#113105 - ir remote, pwm, 7's, push button on 8951 |
Dear all,
Hai,i'm working on a project using 8951... i try to put ir remote and 6 push-button (for input) and double pwm to drive 2 motor and 6 7's all in single micro. The ir is conneted to INT1 and 6 push-buttons are connected to AND gate to INT0 and each are also connected to the rest of the port3 (so whenever there is INT0, i check the port 3 which button is press). The pwm for motor drive is also generated using interrupt (timer1), the source code is almost similar to Mr. Suzatob Aang' code (http://www.8052.com/codelib/unlimited%20pwm) THe 7's uses scanning method and activated from interupt timer 1. Everyting works well when i replace the motor drive with LED (for testing), but when i connect to motor drive L293D and then to DC motor (motor for CD), problems occur..the motor doesn't run. I have to push the push-button or the remote all the time to make it run...it should be running automatically... The pwm period is 3mS.. Can anybody give any possible solution? plz,regards Leo |
Topic | Author | Date |
ir remote, pwm, 7's, push button on 8951 | 01/01/70 00:00 | |
Tidak bagus? | 01/01/70 00:00 | |
7's? | 01/01/70 00:00 | |
no denoising ?![]() | 01/01/70 00:00 |