Pin 5 on the Itsy Bitsy rp2040

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
3dcadmasters_com
 
Posts: 5
Joined: Fri Nov 06, 2020 1:17 pm

Pin 5 on the Itsy Bitsy rp2040

Post by 3dcadmasters_com »

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

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: Pin 5 on the Itsy Bitsy rp2040

Post by dastels »

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

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

Re: Pin 5 on the Itsy Bitsy rp2040

Post by 3dcadmasters_com »

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.

User avatar
dastels
 
Posts: 15656
Joined: Tue Oct 20, 2015 3:22 pm

Re: Pin 5 on the Itsy Bitsy rp2040

Post by dastels »

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-aw9 ... 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

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

Re: Pin 5 on the Itsy Bitsy rp2040

Post by 3dcadmasters_com »

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?

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

Re: Pin 5 on the Itsy Bitsy rp2040

Post by 3dcadmasters_com »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Itsy Bitsy Boards”