Davidvaini
That's a damn clever idea, and great shoping to!
It shouldn't be that hard to find a suitable relay. Indeed, there's a chance that standard 12V relays will work with just 4V.
Here's a couple ~5V relays from RadioShack;
http://www.radioshack.com/product/index ... Id=2062480
http://www.radioshack.com/product/index ... Id=2062478
The first one's coil is rated at 5V, 90mA, 55Ohms and should work fine on a 4V circuit that had enough oomph to run a small motor. The contacts are rated for 1A at 125VAC. That is more than enough to handle the power of a 24VDC solenoid.
From All Electronics:
http://www.allelectronics.com/make-a-st ... LAY/1.html
http://www.allelectronics.com/make-a-st ... Y/-/1.html
These relays cost from about $1.5 to perhaps $5 each.
Regardless of the voltage rating of the relay's coil you really only need to worry about three things:
1. Can the control circuit source enough power (VxI) to operate the relay without frying the control circuit. Since your circuit is meant to power a small motor it can probably source a decent amount of power.
2. If the relay's coil is being operated at a voltage significantly different than what it was designed for then the coil may have heating issues. In your application it probably doesn't matter since the relay is only turned on for a second or so and that happens infrequently. With a duty cycle this low the relay's coil will tolerate being operated out of spec.
3. Back EMF from the coil when power is turned off can potentially damage the control circuit. It's a good idea to include a reversed biased diode across the relay's coil to protect the control circuit.
Isn't the circuit is powered by a pair of AA batteries? Where is it getting 4V from? Looks to me like you need a 3V relay.
The detector might be useable in the infrared range.... check and see if it has an IR filter on it. Many optical detectors are pretty sensitive in the near IR, some well into the far IR (heat) range. It's pretty common for manufacturers to include an IR filter over the detector. Can you trigger the dtector with the beam from an IR remote control?
Is the detector down in the black tube next to the orange LED in the photo's? I wonder if it is a phototransitor, photodiode or just a CDS cell.