Using LDR sensor as midi trigger with Logic Pro 9

Hello Ive been trying to trigger drum sounds from logicpro9 via midi using LDR sensors for a few months now to no avail. I have all the supplies including 10k resistors, ldr's, wire, solder, jumpers, etc. . .
Iv'e read things concerning midi serial converters. Also don't know anything about code(where I need the most help).
Does anyone here have an idea about this project?

Thanks for any help.