Is it possible to u...
 
Notifications
Clear all

Is it possible to use single color LEDs with an Arduino in SimHub?

3 Posts
3 Users
0 Reactions
3,982 Views
(@christiano5)
New Member
Joined: 5 years ago
Posts: 1
Topic starter  

I have an Arduino Nano and a lot of single color LEDs that I want to make a shift light out of. I've only seen the RGB Strip ones so I don't know  if this is possible.

 


   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 736
 

Hello no it's not possible. Simple LEDs are fine for some Arduino learning but at large scale it could burn your Arduino. See chapter #10 https://www.rugged-circuits.com/10-ways-to-destroy-an-arduino

Nicolas


   
ReplyQuote
(@billsmithem)
New Member
Joined: 4 years ago
Posts: 3
 

There's nothing stopping you from using pretty much as many discrete LEDs with an Arduino as you wish, you just need drivers that can handle the current, as the Arduino outputs can't handle a lot of power. As far as SimHub is concerned, I have not seen anything that would indicate this would be supported.

If I was going to do it, I'd use a TPIC6B595 shift register ( https://www.ti.com/lit/ds/symlink/tpic6b595.pdf) which has 8 outputs which can handle 150ma each. You can cascade them for more outputs. Here's a YouTube video on how this works.

Again, I do not believe SimHub was written to support this configuration, so you'd have to write the software to read the data stream from the sims and drive the LEDs.


   
ReplyQuote
Share: