??? 01/30/06 15:28 Read: times |
#108729 - The "3.0" Responding to: ???'s previous message |
This is the third version already. Many new features are added in this version:
Preciseness vs Speed: In previous versions, I spent a lot of time to test what speed of turning should the servo be. The slower the servo turns, the more precise it point at the light source. If it turn fast it will "shake" all the time. (called "overshoot"?) In this new version, light intensity difference betweens sensors decide the speed of turning. A DVD player remote control is used to manually override the servomotors motion. This isn't very useful, just as a way to test new skills (from now on, I have a keyboard with all the number and directions keys available cost only "one port pin"). The MPU are really busy this time, not only busy with "delays" like it did in those "smaller-then-hundurds-lines" applications before. Some small bugs are fixed too, such as overflow while adding number to a "255" or deducting number from "0" when the servo turns to the edge of it turning angle. Make the MPU react to the repeat command(using NEC protocol, repeat pulses are sent when buttons on the remote control are pressed for a relatively long time) is the most difficult part in the whole coding process. I enjoy the moment when RESET is pulled down and the system works much smarter after algorithm is improved. :-) More features are being added using the IR remote control at present. Stanley |
Topic | Author | Date |
Servomotor head version III | 01/01/70 00:00 | |
Nice Work | 01/01/70 00:00 | |
Manageing code and debugging | 01/01/70 00:00 | |
Divide into modules | 01/01/70 00:00 | |
multi tasking | 01/01/70 00:00 | |
IRRC routine are much longer | 01/01/70 00:00 | |
No waiting for IR | 01/01/70 00:00 | |
two mcu | 01/01/70 00:00 | |
Maybe this will help you | 01/01/70 00:00 | |
this is not IRQ save | 01/01/70 00:00 | |
RS232 | 01/01/70 00:00 | |
Design First | 01/01/70 00:00 | |
Design | 01/01/70 00:00 | |
Pardon![]() | 01/01/70 00:00 | |
Well done! | 01/01/70 00:00 | |
The "3.0" | 01/01/70 00:00 | |
Smart! | 01/01/70 00:00 | |
hardware | 01/01/70 00:00 | |
Mainland China | 01/01/70 00:00 | |
And Well done Kai! | 01/01/70 00:00 | |
My experinece | 01/01/70 00:00 | |
very impressive | 01/01/70 00:00 | |
Program and Code Structure | 01/01/70 00:00 | |
Spaghetti anyone ? | 01/01/70 00:00 | |
manually interpret machine code? | 01/01/70 00:00 | |
hand coded mechine language | 01/01/70 00:00 | |
Keep up the good work | 01/01/70 00:00 |