I apologize that this is a pretty basic question, but I'm making a project that uses 8 QRE1113 IR reflectance sensors, and I'm trying to figure out the easiest/most efficient/proper way to power/control the LEDs. I only need to have one turned on at a time as I'm polling the sensors individually, and I want to supply them with around 12 mA. Low power consumption is a priority. Because the Teensy LC only has four pins capable of more than 5 mA, I assume I'll need to use a shift register, LED driver, or Darlington array. I've tested it with a 74HC595 and it seems to work okay, but these are rated for only 6mA per pin (though people seem to use them to drive LEDs all the time). The higher-power shift registers seem to need 5V, and I'd rather keep everything at 3.3. A Darlington array seems like it might be a good choice (I have enough spare pins on the Teensy to devote one to each LED) bit is it overkill?
Are there any tricks I'm missing to do this directly with the Teensy? I assume I can't multiplex the LEDs because I would need 6 pins, three outputs and three inputs, all capable or sourcing/sinking 12mA, is that correct?
Thanks very much for your time!
Are there any tricks I'm missing to do this directly with the Teensy? I assume I can't multiplex the LEDs because I would need 6 pins, three outputs and three inputs, all capable or sourcing/sinking 12mA, is that correct?
Thanks very much for your time!