Hi,
I'm currently working on, in my head, a project that I'm hoping to power through 2 USB ports, but I'm after some advice to help clear up some uncertainties with my little project
Essentially, I'm planning to make a box that will enable a single push button switch that will move 2 computers forward within a slide presentation. Basically the box contains 2 keyboard PCBs and the push button switch triggers a relay that closes the contacts on the PCB and simulates a key being pressed.
What I'm trying to do is make all this powered from the USB ports on both computers. I know that each USB port will give me 5V (ish) and in theory each port will also give me 100mA to play around with.
I've worked out that I reckon I'll need a total of around 160mA to run a relay, a couple of LEDs to tell me that the USB port is plugged in and about 3 LEDs to flash to confirm that the switch has been pushed to trigger the key press. Of course this 160mA does not include the current that the actual keyboard PCB needs - as I can't seem to find that information but I'm hoping it won't be too much.
My plan is to take a power feed from the under side of each PCB and run each feed through a diode and then connect them to a common power rail - From what I remember from my distant school days this will still give me 5V? and that any load I place on this power rail will be distributed equally across both USB ports. Another query I'm hoping to resolve is the voltage drop of the diode. I do remember that 0.7V is a ballpark figure and looking through various web sites I've read alot about schottky diodes and the fact they have a substantially lower forward drop - would these be suitable for use in my project over a regular silicon diode? I've read that the USB power can drop to as low as 4V and I'd rather keep as much juice flowing as possible!
I've seen this particular schottky diode as a contender - it's a 1N5817 it might be a bit OTT?
If my plan to power from the USB isn't suitable I'm ready to go to plan B and use a mains adaptor - but it's more convenient to use the USB as wall warts tend to go missing when you need them!
many thanks in advance!
I'm currently working on, in my head, a project that I'm hoping to power through 2 USB ports, but I'm after some advice to help clear up some uncertainties with my little project
Essentially, I'm planning to make a box that will enable a single push button switch that will move 2 computers forward within a slide presentation. Basically the box contains 2 keyboard PCBs and the push button switch triggers a relay that closes the contacts on the PCB and simulates a key being pressed.
What I'm trying to do is make all this powered from the USB ports on both computers. I know that each USB port will give me 5V (ish) and in theory each port will also give me 100mA to play around with.
I've worked out that I reckon I'll need a total of around 160mA to run a relay, a couple of LEDs to tell me that the USB port is plugged in and about 3 LEDs to flash to confirm that the switch has been pushed to trigger the key press. Of course this 160mA does not include the current that the actual keyboard PCB needs - as I can't seem to find that information but I'm hoping it won't be too much.
My plan is to take a power feed from the under side of each PCB and run each feed through a diode and then connect them to a common power rail - From what I remember from my distant school days this will still give me 5V? and that any load I place on this power rail will be distributed equally across both USB ports. Another query I'm hoping to resolve is the voltage drop of the diode. I do remember that 0.7V is a ballpark figure and looking through various web sites I've read alot about schottky diodes and the fact they have a substantially lower forward drop - would these be suitable for use in my project over a regular silicon diode? I've read that the USB power can drop to as low as 4V and I'd rather keep as much juice flowing as possible!
If my plan to power from the USB isn't suitable I'm ready to go to plan B and use a mains adaptor - but it's more convenient to use the USB as wall warts tend to go missing when you need them!
many thanks in advance!