Jump to content



Photo
- - - - -

Pinscape RGB LED Wiring Help!

Pinscape LED Wiring

  • Please log in to reply
2 replies to this topic

#1 Vegasdodger

Vegasdodger

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: United Kingdom

  • Favorite Pinball: Addams Family

Posted 05 June 2024 - 01:31 PM

Hi All,

I'm currently trying to install 5 flashers on my Pincab and cannot for the life of me figure out the correct wiring. I'm using a standalone KL25Z.
I understand I need 3 ports for each channel and I've read and re-read the Pinscape build guide and cannot get the right functionality.
 
Here is a rough diagram of how I currently have it configured. (Please ignore the specifics, resistor value etc. )
 
What am I doing wrong?

 

TIA

pinscape_LED.png



#2 mjr

mjr

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 3,260 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness

Posted 05 June 2024 - 05:10 PM

Don't do it that way!  The KL25Z can't directly drive a large LED like that.  You'll overload the GPIO port and destroy the CPU. 

 

I hope you haven't tried powering it up in that configuration yet.  If you did, you might have overloaded the port, so that port might no longer be working.  It's possible to destroy the entire KL25Z by overloading a port, because those GPIO ports are wired directly into the CPU chip, so if you only lost a port, count yourself lucky.

 

Go here:

 

http://mjrnet.org/pi...tputsStandalone

 

And scroll down to this section:

 

Wiring KL25Z outputs

 

Look at the diagram and pay particular attention to the box labeled Booster Circuit.  That's what you're missing in your current setup.  Continue on in the same section for specifics of what you need to hook up.

 

You otherwise have the LED wiring right.  It's just that you can't drive a high-current device like that directly through a GPIO port.


Edited by mjr, 05 June 2024 - 05:13 PM.


#3 Vegasdodger

Vegasdodger

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: United Kingdom

  • Favorite Pinball: Addams Family

Posted 05 June 2024 - 06:13 PM

Thank you so much. Luckily the board is still alive. (I questioned it as well which is why I was asking for clarity).

The booster circuit was the path I was headed down. I was thinking about the KL25Z too much like an Arduino or similar microcontroller which is where my head was getting stuck.

 

This helps a lot. Much appreciated.







Also tagged with one or more of these keywords: Pinscape, LED, Wiring