Class 12 Physics Project File
Class 12 Physics Project File
Project file
P.O.V DISPLAY
Pg-1
Certificate of
Teacher
This is to certify that the project titled -“P.O.V.
DISPLAY” has been successfully completed by
PRATINAV SETH of CLASS XII ,S4 of BHAVAN’S
GANGABUX KANORIA VIDYAMANDIR, SALT LAKE in
partial fulfilment of curriculum of CBSE in Academic
Year of 2019-20.
Pg-2
Persistence
Of Vision
DISPLAY
CLOCK
Pg-3
Preface
POV Display Clock is an illusion of a clock produced using
the principle of POV Display.
Pg-4
Materials Used
Arduino Nano
100 Ohm Resistors
Led Lights
Hall Sensor
Perf Board
9v Battery
1000rpm Battery
Battery Eliminator
Magnets
Jumper Wire
Common Switch
Pg-5
Circuit Diagram
OVERALL CIRCUIT DIAGRAM
Circuit Design
Our project is restrained to th amount of digital outputs the Arduino
NANO or promini has. In this case we will use pins D2 to D13 of the
Arduino since pins D0 and D1 are the Tx and Rx pins and we can't
solder anyting to those and be able to upload code after that. If we
look in the port map below of the Arduino with the ATMEGA328p
chip, we see the ports for each pin.
portB (digital pin 8 to 13)
portC (analog input pins) portD (digital pins 0 to 7)
We will use a total of 11 LEDs. I've used 8 green LEDs for the
hour/minutes lines. Two red LEDs for the hours points and a blue
LED for the border circle. For each LED we need a 100ohm resistor.
We will also use a A3144 hall sensor switch with a 10K ohm resistor
pullup. You could use both Arduino NANO or the Arduino proMini
with 4V adn 16MHz speed. Finally we need perf board, wires,
Battery Eliminator, a sliding switch and the Base stand.
Pg-6
SCHEMATIC DIAGRAM OF ARDUINO
As we can see we have our hall sensor connected to a pullup to 5V
from the arduino. The signal pin from the sensor (pin 3 of A314) is
connected to digital pin D13 of the Arduino. On this pin we will
generate pin change interruptions. Next we have 11 LEDs
connected to pins D2 to D12 each with a 100 ohm resistor to limit
the current. To supply the entire circuit I've used a Battery
Eliminator and a sliding switch to power everything up..We have
solder everything on a perf board
Pg-7
Arduino Code:-
//Variables for real time count
unsigned long Real_time_millis = 0;
unsigned long Previous_real_time_millis = 0;
float SEC;
float MIN= 45;
float HOUR = 2;
float dots_marker = 0; //Variable used for the 4 red dots
void setup() {
PCICR |= (1 << PCIE0); //enable PCMSK0 scan
PCMSK0 |= (1 << PCINT5); //Enable pin state interruption on pin D13
void loop() {
Previous_real_time_millis += 1000;
SEC=SEC+1;
if(SEC > 59)
{
SEC=0;
MIN=MIN+1;
}
//Here is our loop counter. elapsed_loop_counter will reset each loop and count the
loop time
//When we reach the amount of time desired we turn ond or off the LEDs
currentMillis = micros();
elapsed_loop_counter = currentMillis - previousMillis;
{
PORTB |= B00011111; //8, 9, 10, 11 and 12 as HIGH
PORTD |= B11100000; //2 (blue), 5, 6 and 7 as HIGH
}
ISR(PCINT0_vect){
//First we take the current count value in micro seconds using the micros() function
current_count = micros();
///////////////////////////////////////
if(PINB & B00100000){ //We make an AND with the pin state
register, We verify if pin 13 is HIGH???
if(last_IN_state == 0){ //If the last state was 0, then we have a state
change...
last_IN_state = 1; //Store the current state into the last state for
the next loop
counter_1 = current_count; //Set counter_1 to current value.
}
}
else if(last_IN_state == 1){ //If pin 13 is LOW and the last state was
HIGH then we have a state change
last_IN_state = 0; //Store the current state into the last state for
the next loop
one_rot_time = current_count - counter_1; //We make the time difference.
one_rot_time 1 is current_count - counter_1.
time_per_deg = one_rot_time/360.0;
previousMillis = micros();
}
Pg-11
Working Principle
POV Display Clock consists of a fin which is rotated at a high speed
using a motor which is fixed on a support.
The high speed is necessary to produce an illusion.
The fin consists of a number of LED lights placed in a straight line
on one side of the fin which are switched on and off by an Arduino
board.
On the other side of the fin is placed a Hall Effect Sensor which
sends a signal to the Arduino board as soon as it encounters a
magnetic field.
Also there is a magnet placed on a rigid support at a distance
suitable enough to trigger the Hall Effect Sensor as it passes the
magnet.
When the fin is rotated, every time the hall effect sensor crosses the
magnet, it sends a signal to the Arduino board.
The Arduino board measures the time ( in milliseconds ) between
two such signals.
This is the time required by fin to go round once.
This time is used to measure the Angular Velocity of the blade,
which is used to predict the time required by the blade to cross a
particular point in the circle it is rotating in.
When the Arduino finds all these information, it takes into account
the current time and decides at which point of motion should the
LEDs be switched on to produce the illusion of a glowing line which
would depict the hands of a clock.
The LEDs are switched on and off very rapidly to make sure that the
light from the LEDs appear to come from a particular line of LEDs in
the circle.
For all the rotations made by the fin in one second, the Arduino
switches on the LEDs at a particular point, After a second it shifts
the position of switching on the LEDs by an angle of 6° to depict the
second hand moving.
Pg-12
Uses
POV Display Clocks are programmed. This means that we can change
the design of the clock in the way we want to. Unlike traditional wall
clocks, it will be highly customizable and can even present animations
in the background of the clock.
POV Display Clocks can be switched on and off at convenience and
would not be required to correct the timing. Thus providing more
convenience for saving energy.
POV Display Clocks can be programmed using the power of Artificial
intelligence and Machine Learning to be useful for other tasks such as
for security, morning alarms, etc.
These clocks can also be customized to perform personalized tasks for
each person of the family, using facial recognition. For eg. as soon as a
person enters the room, the clock may greet him by his name and
present him latest news about the country both through vision and
sound.
POV Display Clocks are much more fascinating to present when
compared to the traditional home clocks.
POV Display Clocks, when perfected the design, can also act as wrist
watches, to present the same functions as a wall clock, in a compact
and portable manner.
POV Display Clocks are an illusion, This means that they are much less
lighter than a wall clock, and much easy to transport. Also they can be
more easily dismantled due to lack of any highly sensitive / delicate
parts.
POV Display Clocks can be used by big businesses to present
information in their own unique style to their customers.
Very big POV Display Clocks can act as an attraction for tourists,
similar to Big Ben of London.
Pg-13
Bibliography
www.electronoobs.com
www.google.com
www.instructables.com
www.electronicshub.org
www.create.arduino.cc/projecthub
Pg-14