For an art project I am trying to design a system for controlling several badges. The basic design I am thinking of is like this: a XBee connected to a miniarduino that is conected to both a LDR sensor and to a mosfet, which is connected to a powerful LED.
With the Xbee I would like to choose the animation, so when the light sensor goes up the pin of the mosfet is activated with a certain delay or another, depending in the signal received from the Xbee.
Now my questions, I would like to replace the miniarduino, as it is a bit expensive and hard to program for me because there would be too many. Could you recommend a better way to interconnect the Xbee module to a mosfet and a LDR sensor and be programmable?