I am looking to power 9 IR LEDs 850 nm with a forward voltage of 1.7 V and current of 100mA. i want to make a circuit where i can use a small power supply or could I use the raspberry pi to power it? Can i use the GPIO pins directly without causing harm to my Pi. If not, which other power supply option do you think I could use? I want to make the setup small and portable. I need to turn the LEDs ON for a short duration like 5 seconds. I would be happy to receive suggestions. I am new to electronics, please help me out!!!!!
Update: I would also like to know if it would be possible to control the brightness of the LEDs to 3 different levels, such that one is just dim, one is bright and the other is in between the two brightness levels. I was wondering if i should use a PWM pin of the raspberry pi to achieve that but i am not sure how.