im trying to wire one up just to test it. but how do i go about doing it. never used one before and im not having much luck
Wire up the input just like you would wire an LED with a current limiting resistor. Then wire the output emitter to ground, collector to an LED, LED to resistor, resistor to +5.
The the LED should turn on when you activate the input.