I`m building a four-way masking system for my Home Theater screen. I would like to have it motorized and remote controlled. The horizontal masks would provide 2.7 , 2.4 , 2.35 , 1.85 and 1.78 aspect ratio, and with the horizontal masks fully open the vertical masks provides 1.66 and 1.33 aspect ratio.
I`ve seen systems that use a IR-relay block and switches to control the position. This probably works great, but I thought that this might be a suitable project to learn something about microcontrollers? Maybe a bit to ambitious for a newbie?
I would like to use a rotary encoder instead of switches. So far I got a prototype board with a PICAXE 18X and a 293D motor controller.
I found the "Finite state machine" code here at the forum for decoding quadrature encoders. I tried it in the simulator, and it works, except that I need more than 8 bits to avoid that the counter roll over. I use the guts of a Logitech mouse as rotary encoder(s), and the pulses seems very clean and stable on the oscope. I have not connected the pulses to the picaxe yet.
So far it seems that I need some external electronics. Maybe external counters? I need to have a way to calibrate the system. Maybe manual switches that move the masks, and then a switch to store the current position as a preset.
The current position should be stored when the system is turned off.
I plan to use a IR-receiver module with a demodulated output, eg. like this: https://www1.elfa.se/data1/wwwroot/webroot/Z_DATA/07520273.pdf
Any insight or suggestions are appreciated...
Gunnar
I`ve seen systems that use a IR-relay block and switches to control the position. This probably works great, but I thought that this might be a suitable project to learn something about microcontrollers? Maybe a bit to ambitious for a newbie?
I would like to use a rotary encoder instead of switches. So far I got a prototype board with a PICAXE 18X and a 293D motor controller.
I found the "Finite state machine" code here at the forum for decoding quadrature encoders. I tried it in the simulator, and it works, except that I need more than 8 bits to avoid that the counter roll over. I use the guts of a Logitech mouse as rotary encoder(s), and the pulses seems very clean and stable on the oscope. I have not connected the pulses to the picaxe yet.
So far it seems that I need some external electronics. Maybe external counters? I need to have a way to calibrate the system. Maybe manual switches that move the masks, and then a switch to store the current position as a preset.
The current position should be stored when the system is turned off.
I plan to use a IR-receiver module with a demodulated output, eg. like this: https://www1.elfa.se/data1/wwwroot/webroot/Z_DATA/07520273.pdf
Any insight or suggestions are appreciated...
Gunnar