sanchvikh
If you have a question of your own, start your own thread.
Dont highjack someone else's thread even though it is a similar topic.
murray
The principle is right. So yes it will work if you do everything you need to.
I once had the idea of making a telephone dialer.
I looked into ways of machanically pressing keys on a telephone, then to using relays to each switch contact....
Then I came to my sences and bypassed all that, because that was all getting a little messy...
I looked into DTMF chips and used a PIC (microcontroller) to control the DTMF chip to generate a Tone, then interfaced it to the phone line and did it that way.
I practically made a telephone minus the handset.
Anyways... the point i wanted to make is with the hacked keybaord, maybe you can look into interfacing stright to the USB port.
I myself have never done this so I cant help you there..
But i know when you press a key on a keyboard, it sends the ASCII character in binary form to the USB.
It would be alot neater and you would learn a lot by doing it that way.
And your idea on using the IR beam is the way to go for counting goals.