Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: USB power question  (Read 1597 times)

0 Members and 1 Guest are viewing this topic.

rhoelsch

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 253
  • Last login:August 18, 2018, 08:13:16 pm
  • That...that thing's operational!
USB power question
« on: May 05, 2018, 06:25:20 pm »
USB port from a tablet should be able to power one of these sets, right?https://www.amazon.com/dp/B076T8NF9D/ref=sspa_mw_detail_6?psc=1
 Leds are 5v. I have the non-led version and that works fine.
Now witness the power of this FULLY OPERATIONAL Mame machine!

Slippyblade

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3167
  • Last login:November 16, 2023, 11:39:51 am
  • And to the death god we say, "Not today!"
Re: USB power question
« Reply #1 on: May 05, 2018, 06:35:29 pm »
Noooooo.  USB on a powered port only puts out about 500ma tops.  The port on a tablet probably puts out way less.  Even if it DOES provide that much, it's on a battery that will dramatically shorten the life.  That kit could be used on a tablet, but I wouldn't try to power the LEDs off the same device.

rhoelsch

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 253
  • Last login:August 18, 2018, 08:13:16 pm
  • That...that thing's operational!
Re: USB power question
« Reply #2 on: May 05, 2018, 06:51:51 pm »
So if I just purchase the led buttons by themselves, and use them with my existing board, how can I go about powering them separately?
Now witness the power of this FULLY OPERATIONAL Mame machine!

Slippyblade

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3167
  • Last login:November 16, 2023, 11:39:51 am
  • And to the death god we say, "Not today!"
Re: USB power question
« Reply #3 on: May 05, 2018, 06:54:12 pm »
If you are trying to make a portable rig, I'd maybe use a separate wall wart, cut the cord, and splice directly.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9399
  • Last login:Today at 08:58:46 am
  • Designated spam hunter
Re: USB power question
« Reply #4 on: May 05, 2018, 11:55:50 pm »
If you use 12v LED buttons and power them with 5v, that will greatly reduce the current draw -- 5.83mA instead of 20mA per button.


Scott

rhoelsch

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 253
  • Last login:August 18, 2018, 08:13:16 pm
  • That...that thing's operational!
Re: USB power question
« Reply #5 on: May 06, 2018, 11:57:54 am »
I think there may be a way to power the leds and make them blink with an arduino, as well as use that as an encoder. I'll have to do some research.
Now witness the power of this FULLY OPERATIONAL Mame machine!

rhoelsch

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 253
  • Last login:August 18, 2018, 08:13:16 pm
  • That...that thing's operational!
Re: USB power question
« Reply #6 on: May 14, 2018, 06:26:42 pm »
Decided for now it's best to use a 5v ac adapter. I'm not sure what the leds are rated for, and I'm a little worried about blowing them. They're generic buttons you get from Amazon, probably made in China, along with the knockoff Sanwa joys. At any rate, I have plugs that will give me 850mA, 550mA, and 1A. I'll be lighting 6 buttons. Is there a better way to figure out what I'll need besides starting at the lowest current and moving up from there if it's too dim? I'm at a loss not knowing what they can handle.
Now witness the power of this FULLY OPERATIONAL Mame machine!

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: USB power question
« Reply #7 on: May 15, 2018, 10:05:06 am »
If you are only powering 6 buttons and they are 12V buttons powered from 5V then the current draw would be tiny, you could easily power these from USB power.

If using a wall power supply any of the 3 you mention would work. Or one rated at only 100mA would work equally.

JudgeRob

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 468
  • Last login:March 05, 2024, 10:55:50 pm
    • forum.arcadecontrols.com/index.php/topic,149265.120.html
Re: USB power question
« Reply #8 on: May 15, 2018, 03:48:41 pm »
I try to stay in the habit of not powering anything through USB.  If you accidentally short something or pull too much power through, you've either smoked a USB port or damaged the whole device.  It's a lot easier to replace a wall transformer. 

The voltage level of your power supply will determine the brightness, not it's current rating.  You should determine if your LEDs have current limiting resistors built in.  Most of them do.  If not, add something like a 330 to each one to prevent them from sucking out too much current and burning themselves up.