Hi all, I'm using KY-008 5v laser modules in an Elegoo UNO laser harp build for a theatre performance, first performance is on Friday. I'm finding that the diodes are dimming/dying when powered by USB (in hindsight this should have been obvious! Still learning).
I have a 5v (3A, center positive, 100-140VAC, 50/60hz) and am trying to figure out if I can use that to power the laser modules, or whether there's another way I can do it.
Current setup:
Elegoo R3 Uno on breadboard, +/- going to breadboard rails
1 photoresistor per laser module, analog output going to one row of breadboard rail, each row is wired with a 5.6k resistor in between
When powered by USB, the Uno is able to use 500mA max. including the current on the 5V pin. If your harp has multiple Ky-008 modules and/or other sensors, most likely your Uno is not up to the task.
Yes, derive 5V from the wall adapter to feed the modules can solve the problem.
Please:
tell us how many laser/photoresistor pairs do you have.
tell us if there are other things connected to the Uno
provide an annotated schematic (hand drawn is fine) showing how is everything connected.
I swear I prefer a schematic, but that might doβ¦
Each signal pin of the laser modules should be connected to one arduino pin if you want to turn them on/off at some point. Otherwise, signal might be connected to +5V and the lasers will be on all the time.
Hi John, thank you! Could I remove the barrel plug from my 5v 3A adapter and strip the ground and power wires and then run each of those to a separate row of stripboard/breadboard?
And then connect the stripboard ground to the Uno ground and the 5v stripboard row to the Uno 5v row, and connect the lasers to the respective rows?
Thank you! I think due to time constraints (entirely my fault) I might be unable to get those in time, am I right in saying that this is for switching the lasers on and off? I'm hoping to use the 5v 3A adapter to power the lasers and then just plug it in and out to turn the lasers on/off, I'm just not 100% sure how to go about it. Do you think I could remove the barrel plug and connect the 5v and ground wires to breadboard rail/stripboard rows as well as the 5v and ground of the Uno and then connect the lasers to the respective rows?
Apologies for the bad schematic Brazilino! I'll draw one up. Thanks a million for the detailed schematic, I wasn't sure how to do that, I see what you mean. I think (and hope!) the lasers don't necessarily need to be switched on/off if I can just plug the adapter in/out manually to achieve that, does that make sense? I haven't worked with them before. I was thinking of stripping the adapter wires and running them directly to the breadboard and 5v/ground pins.
These modules have 3 pins (+,- and S). The βSβ pin, which stands for βsignalβ is the one that turns them on and off. On when applied a βHIGHβ signal. Off when applied a βLOWβ signal. So, to keep the lasers βonβ as soons as you plug the adapter on the wall, the S pin should be also connected to +5V line.
Hi,
I think this has come up before, the laser is a two wire device on a generic three wire sensor PCB.
If you look closely you should be able to trace the PCB track from the Laser Unit to the two of the three pins it is connected to.
Is your old 5V power supply a 50 Hz transformer with mid to plus and both sides with diodes to minus?
Does ot have large caps? (4700 uF at least))
Does it have regulators?
Depending on its old purpose it may have a lot of ripple and a rms voltage of 5V, but higher voltage at peak. I would not recommend that for your lasers.
Instead: use an old phone charger. From your drawer where these tend to pile up, or maybe from the junk shop.