Laser/pressure sensor hooked to computer I am trying to hook up one of these sensor to the computer and try to flag up some other commands. I am very new to this and am not sure what should be done.
My crude idea would be to power up a small laser pointer. Pointing into one of those directly into a photosensor (cant remember what its called - If you could provide me an example of this component that would be great e.g. day and night sensor) that photosensor would be connected to the computer somehow. My best guess is to have a microcontroller then via RS232 into the computer. Basically what i want is when ever the laser sensor is tripped, the photosensor would send a signal to the computer, say press 'spacebar' to follow up with another command.
This is also for the pressure sensor. When someone steps on it. it wil lthen send a signal to the computer to do something.
How is this achievable. Is there an alternate way without using a microcontroller? |