Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

Pin 5 on the Itsy Bitsy rp2040
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Pin 5 on the Itsy Bitsy rp2040

by 3dcadmasters_com on Tue Nov 09, 2021 4:32 pm

Hi,

I want to install ten 30mm LED arcade buttons on the new Itsy Bitsy RP2040. They are 5V LED. Can the board's special pin #5 send 5V to light up those LED with different addresses? When each arcade button is pressed, their LEDs will light.

-Tan

3dcadmasters_com
 
Posts: 5
Joined: Fri Nov 06, 2020 1:17 pm

Re: Pin 5 on the Itsy Bitsy rp2040

by dastels on Tue Nov 09, 2021 8:08 pm

They aren't neopixels; they're plain LEDs. So they don't have addresses and aren't chainable. Besides, At 5v they LEDs in the button will draw 10mA which may be more than the level shifter can handle.

You could use https://www.adafruit.com/product/4886 via I2C to control the LEDs, though.

Dave

dastels
 
Posts: 8454
Joined: Tue Oct 20, 2015 3:22 pm

Re: Pin 5 on the Itsy Bitsy rp2040

by 3dcadmasters_com on Tue Nov 09, 2021 9:51 pm

Thank you for your reply.

Which microcontroller can you recommend that can drive 5V to ten 30mm LED arcade buttons? Let's say that I press each button to turn on its light -- or I can press the button to turn its light off -- or I can press one by one to toggle them on or off. I want them to light up as bright as possible. Please advise. Thank you so much for your time.

3dcadmasters_com
 
Posts: 5
Joined: Fri Nov 06, 2020 1:17 pm

Re: Pin 5 on the Itsy Bitsy rp2040

by dastels on Tue Nov 09, 2021 10:15 pm

As I mentioned, I would look at using https://www.adafruit.com/product/4886 to drive the LEDs, see the tutorial at https://learn.adafruit.com/adafruit-aw9523-gpio-expander-and-led-driver. Since you need 10 switches/LEDs you can use one 4886 with the ItsyBitsy's I2C port and connect the buttons to 10 of the ItsyBitsy's digital inputs. The operation of the buttons and LEDs will be up to your code.

Dave

dastels
 
Posts: 8454
Joined: Tue Oct 20, 2015 3:22 pm

Re: Pin 5 on the Itsy Bitsy rp2040

by 3dcadmasters_com on Tue Nov 09, 2021 11:38 pm

That's a nice breakout board with the QT PY board. That's two boards that I'm a little hesitate.

Is there a single board that can drive 5V to the ten 30mm LED arcade buttons?

3dcadmasters_com
 
Posts: 5
Joined: Fri Nov 06, 2020 1:17 pm

Re: Pin 5 on the Itsy Bitsy rp2040

by 3dcadmasters_com on Tue Nov 30, 2021 5:21 pm

Please advise if this cool board can power the ten 5V LED buttons (not simultaneously). It has an interesting statement as follows: "Special Vhigh output pin gives you the higher voltage from VBAT or VUSB, for driving NeoPixels, servos, and other 5V-logic devices. Digital 5 level-shifted output for high-voltage logic level output."

https://www.adafruit.com/product/4888

3dcadmasters_com
 
Posts: 5
Joined: Fri Nov 06, 2020 1:17 pm

Please be positive and constructive with your questions and comments.