Propeller Clock Project Report
Propeller Clock Project Report
Propeller Clock
Section-E3106
Abstract:This project is a different view of holographical clock construct in linear array arrangement. It will be the coordination of electrical, electronics and some mechanical engineering. This illusion is based on inertia of human eye. The motor spins at a constant rate such that the LEDs rotate around a centre pivot point. As the LEDs spin around they light up sequentially such that they will display the current time. The motor spinning fast enough that the human eye will perceive all of the display is on at once, and the viewer will be able to read the time constantly. A microcontroller is used to keep the time and blink the LEDs in an appropriate pattern to show the numbers. It has to be programmed so that it will both keep time and also send the appropriate signals to the LEDs to light them in the correct sequence. Its looks like the digital numbers are floating in the air.
Introduction:The propeller clock is a linear array of light emitting diodes, rotating at a high angular velocity to generate a circular screen. Now by synchronising these light emitting diodes, and keeping in mind the concepts of persistence of vision & limit of resolution, we can display a clock. The persistence of vision, What we see is a blend of what we are viewing and what we viewed a fraction of a second before. The mechanical scanning mechanism, which is performed in the clock when the motor is turned on, the connected seven LEDs are scanned line by line at a very fast speed which makes the observer to observe those led display clock.
Components Used:Interrupter Module (Opto Coupler) :- Interrupter module is our hardware sensor module, consisting of the IR interrupt sensor MOC781. Microcontroller AT89C2051:- This project is based on the microcontroller AT89C2051, which is a derivative of 8051 family.
LED Module:- LED module consisting of 7 bright LED is fixed in another side of the arm of our project. DC Motor:- Repeated scanning of the display is must for continuous vision. This task is achieved using circular rotation of the whole circuit assembly. So, we used a DC motor with 1200 rpm speed as the prime mover. DC Power Supply:- For microcontroller, as well as the DC motor, a regulated DC power supply is required. We have to provide +6V to the microcontroller, while +9V to the motor.
Algorithm:i. Main routine 1. Load proper value in IE register, so that the interrupts INT0 and T0 are enabled. (IE =83H) 2. Offer higher priority to the INT0 (External) interrupt.(IP = 01H) 3. Configure timer 1 as 16-bit timer, and timer0 as 8-bit auto reload mode timer. ( TMOD= 12H) 4. INT0 should be configured as edge interrupt. (IT0=1) 5. Configure port 3 as input port. (P3 = 0FFH) 6. Move input string to the video RAM area.(callramc function) 7. Start the timers. 8. Initiate an infinite loop. ii. Interrupt Routines :a. External Interrupt 1. Stop the timers. 2. Move th1 and tl1 into convenient registers. 3. Divide this 16 bit value by our total number Of segments. 4. Subtract the answer from 256, and load the Result in th0. 5. Now, reset the video RAM pointer and character segment pointers to their initial respective 6. start the timer. 7. Return from interrupt b. Timer 0 Interrupt :1. Call the display routine. 2. Clear timer overflows flag. 3. Return from interrupt.