miibpa wrote:Hi, I'm new at this forum, so I introcuce myself.
I'm building a remotelly controlled fireworwk launching system using raspberry's GPIO pins as "triggers". The problem is that the output current provided by GPIO's is not enough to activate fireworks. I've tried to use an ULN2803, but it didn't work, I'm not an electronics expert, so I don't know if the configuration that i used was the correct: GPIO pin to ULN2803 in, ULN2803 out to one firework cable, raspberry's +5V to second firework cable, ULN2803's com to raspberry's +5V and ULN2803's GND to raspberry's GND.
That sounds right - but how do you know if you actually activated the Pi's GPIO pin correctly?
So rather than use the Pi's GPIO, connect the input to the ULN2803 directly to the Pi's +3.3v supply - at which point it should "fire".
If using the Pi's +5v supply, then you only have at most 2-300mA avalable anyway, so if that can trigger a firework, then the ULN solution ought to work too.
An issue might be firing several fireworks at the same time.
Do you have a data sheet on the fireworks?
The case is that the fiworks lauches if i directly connet cables to raspberry's +5V and GND, so another option I thought is to use a NPN transistor connectin the collector to board's +5V, base to the GPIO pin and the firework as load in emisor. Which option do you think it's the best?? Someone can tell me what I'm doing wrong with ULN2803, or if I was wrong for using it

... Thank you very much in advance
If you wire a transistor up that way - with the firework connected between emitter & 0v, then you'll limit the output voltage to a shade under 3.3v. (google emitter follower, or common collector).
I'd go back to the ULN2803 method and double-check that you're actually enabling the right gpio pin. Fetch wiringPi and use the gpio command to set the pins from the command-line - test first with a simple LED & resistor on the GPIO pin, then in-place of the firework, then with the firework.
http://wiringpi.com/
-Gordon