Till last saturday (31-03-2012) I was working with DPS Rajnagar. There I was faced with a unique problem. The person responsible for ringing the bell between the classes was so inefficient that after 3rd Period we sometimes used to have the lunch break instead the 4th period. That created a massive problem for all teachers. So I came out with a solution. AUTOMATION.
The switch to ring the bell was in the control room which was actually the server room in which many computers as well as the server was there. I created a small PYTHON code which would create "beeps" at programmed time. The code would read the console time and compare it with the programmed time and "beep" accordingly.
So it was like at 09:25:00 am the code would compare the time with the console time and since it was the third period beginning (already programmed) the computer will "beep" three time with an interval of 0.5 seconds. But that was only one part.
Initially I thought that I would connect the output of the sound card to a relay circuit which in turn will drive the bell. But after my experiment I got to know that the output voltage was less than 1 V and not good enough to drive th relay.
So I made a sound-operated-relay circuit and hooked it up with the microphone of the sound card. The sound operated relay gets its power from the USB port of the very same computer and at every "beep" the computer would make the circuit would activate the relay which would finally activate the bell.
Unfortunately it remained in testing stage only as I left the school soon after.
But now I am converting it into a reminder cum alarm system for my computer itself.
Present Status: Still working on my personal reminder cum alarm system.
How I wish my previous school could have installed that system. It would have completely cured the problem of belling.
The switch to ring the bell was in the control room which was actually the server room in which many computers as well as the server was there. I created a small PYTHON code which would create "beeps" at programmed time. The code would read the console time and compare it with the programmed time and "beep" accordingly.
So it was like at 09:25:00 am the code would compare the time with the console time and since it was the third period beginning (already programmed) the computer will "beep" three time with an interval of 0.5 seconds. But that was only one part.
Initially I thought that I would connect the output of the sound card to a relay circuit which in turn will drive the bell. But after my experiment I got to know that the output voltage was less than 1 V and not good enough to drive th relay.
So I made a sound-operated-relay circuit and hooked it up with the microphone of the sound card. The sound operated relay gets its power from the USB port of the very same computer and at every "beep" the computer would make the circuit would activate the relay which would finally activate the bell.
Unfortunately it remained in testing stage only as I left the school soon after.
But now I am converting it into a reminder cum alarm system for my computer itself.
Present Status: Still working on my personal reminder cum alarm system.
How I wish my previous school could have installed that system. It would have completely cured the problem of belling.
No comments:
Post a Comment