You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old May 19th, 2022, 09:58 AM   #1
PLC_buoy
Member
United Kingdom

PLC_buoy is offline
 
Join Date: May 2022
Location: Londres
Posts: 2
Rgb led

I'm a manufacturer of a therapy bath - and we currently have bespoke electronics - I'm trying to see if I can replicate the bath functionality with PLC


One of the components on the therapy bath is RGB LED underwater light.


Currently the light functionality is on / off with a default blue colour, with an additional option to scroll through all RGB colours. This is controlled by an emulated DMX colour controller via software on our bespoke circuit board.



So I'm wondering if there's and LED RGB driver that can be controlled via PLC


Thank you
  Reply With Quote
Old May 19th, 2022, 11:13 AM   #2
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 5,150
Look for [Search] above and enter DMX or DMX512.
__________________
_
Brian T. Carcich
i) Take care of the bits, and the bytes will take care of themselves.
ii) There is no software problem that cannot be solved with another layer of indirection.
iii) Measurement is hard.
iv) I solemnly swear that I am up to no good
  Reply With Quote
Old May 19th, 2022, 11:24 AM   #3
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 5,150
I was assuming the intent is to use DMX to control the lights. If the lights are controlled via discrete or analog outputs, then I suspect that a PLC can handle that.

What is the motivation for using a PLC, as opposed to a bespoke electronics, or even an SBC or other solution?
_
__________________
_
Brian T. Carcich
i) Take care of the bits, and the bytes will take care of themselves.
ii) There is no software problem that cannot be solved with another layer of indirection.
iii) Measurement is hard.
iv) I solemnly swear that I am up to no good
  Reply With Quote
Old May 19th, 2022, 12:28 PM   #4
PLC_buoy
Member
United Kingdom

PLC_buoy is offline
 
Join Date: May 2022
Location: Londres
Posts: 2
Thank you - motivation is it's becoming expensive to manufacture bespoke electronics - with parts becoming scarcer by the day. Just paid $80 for a chip that cost $5 only 6 months ago.



I hadn't considered SBC as solution - so I might look in to that route too.
  Reply With Quote
Old May 19th, 2022, 12:32 PM   #5
mylespetro
Supporting Member
Canada

mylespetro is offline
 
mylespetro's Avatar
 
Join Date: Dec 2015
Location: NS
Posts: 622
Quote:
Originally Posted by PLC_buoy View Post
Thank you - motivation is it's becoming expensive to manufacture bespoke electronics - with parts becoming scarcer by the day. Just paid $80 for a chip that cost $5 only 6 months ago.



I hadn't considered SBC as solution - so I might look in to that route too.
Unfortunately, PLC parts are also becoming quite hard to get, usually months if not over a year in lead times.
  Reply With Quote
Old May 19th, 2022, 01:01 PM   #6
Chris_M
Member
United States

Chris_M is offline
 
Join Date: May 2022
Location: PA
Posts: 13
Have you looked at PC software?

I cannot remember the name, but I have used some software (and there is a lot out there)
Buy a USB to DMX adapter and you can control lights very easily.
  Reply With Quote
Old May 19th, 2022, 04:23 PM   #7
I_Automation
Member
United States

I_Automation is offline
 
I_Automation's Avatar
 
Join Date: Jun 2020
Location: Detroit, Michigan USA
Posts: 962
I bought a USB DMX adapter on Amazon for $7.00 that the DMX software was a free download.

Also got MIDI software free to synch the lights to music, and a USB MIDI interface for $10.00
__________________
ivanovaautomation.com


Some Jobs Are Best Started With A Sawzall And A Dumpster On Castors
  Reply With Quote
Old May 19th, 2022, 04:41 PM   #8
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 5,150
What is the budget for the UI/controller/DMX-interface pipeline (assuming I understand what you are looking for)?

Summat like this?

__________________
_
Brian T. Carcich
i) Take care of the bits, and the bytes will take care of themselves.
ii) There is no software problem that cannot be solved with another layer of indirection.
iii) Measurement is hard.
iv) I solemnly swear that I am up to no good
  Reply With Quote
Old May 19th, 2022, 10:19 PM   #9
TheWaterboy
Lifetime Supporting Member + Moderator
United States

TheWaterboy is offline
 
TheWaterboy's Avatar
 
Join Date: May 2006
Location: State of Denial
Posts: 1,419
I'll bet you could drive the RGB LED with 3 analog outputs unless the DMX interface was built in to it.
__________________
. . . and then I pronounced myself an idiot, to which there was general agreement and merriment . . .
  Reply With Quote
Old May 20th, 2022, 12:21 AM   #10
I_Automation
Member
United States

I_Automation is offline
 
I_Automation's Avatar
 
Join Date: Jun 2020
Location: Detroit, Michigan USA
Posts: 962
Quote:
Originally Posted by TheWaterboy View Post
I'll bet you could drive the RGB LED with 3 analog outputs unless the DMX interface was built in to it.

Somebody posted here before on a similar thread that strip LED's are not voltage controlled, but rather PWM and that a PLC with high speed PWM outputs may control them if enough power is output.



Not sure what PLC has 3 PWM outputs, even through add-on cards.
__________________
ivanovaautomation.com


Some Jobs Are Best Started With A Sawzall And A Dumpster On Castors
  Reply With Quote
Old May 20th, 2022, 11:26 AM   #11
JLand
Member
United States

JLand is offline
 
Join Date: Apr 2019
Location: Madison, Wisconsin
Posts: 92
I've seen too many people suggest them where they are inappropriate (like as a PLC replacement), but this is the first time that I feel like a prototyping board like a teensy or an Arduino might make sense. Cheap, readily available (compared to other electronics), relatively robust, native PWM support. I assume the equipment gets powered down regularly? I wouldn't trust an Arduino to run for more than 50 days (maximum value the internal timer can handle before rollover), but I would wager therapeutic baths are powered down more frequently than this.
  Reply With Quote
Old May 20th, 2022, 11:30 AM   #12
TheWaterboy
Lifetime Supporting Member + Moderator
United States

TheWaterboy is offline
 
TheWaterboy's Avatar
 
Join Date: May 2006
Location: State of Denial
Posts: 1,419
But on THIS post he didn't say it was a strip light, or PWM driven, or even an addressable style, He said it was 3 color LED and was currently DMX interfaced which could mean the LED itself could be anything so I assumed it was a discrete 3 color LED.
__________________
. . . and then I pronounced myself an idiot, to which there was general agreement and merriment . . .
  Reply With Quote
Old May 20th, 2022, 11:41 AM   #13
kwade
Member
United States

kwade is offline
 
Join Date: May 2013
Location: sc
Posts: 405
Quote:
Originally Posted by I_Automation View Post
Not sure what PLC has 3 PWM outputs, even through add-on cards.

AutomationDirect P1-04PWM
  Reply With Quote
Old May 20th, 2022, 11:56 AM   #14
ArcReactorKC
Supporting Member
United States

ArcReactorKC is offline
 
Join Date: Jun 2021
Location: Midwest
Posts: 55
Quote:
Originally Posted by JLand View Post
I've seen too many people suggest them where they are inappropriate (like as a PLC replacement), but this is the first time that I feel like a prototyping board like a teensy or an Arduino might make sense. Cheap, readily available (compared to other electronics), relatively robust, native PWM support. I assume the equipment gets powered down regularly? I wouldn't trust an Arduino to run for more than 50 days (maximum value the internal timer can handle before rollover), but I would wager therapeutic baths are powered down more frequently than this.
I agree, but instead of using a hobby board one could order the ATmega328P that is used on the uno and integrate it directly. I think it would be the most OEM way to do it.
  Reply With Quote
Old May 20th, 2022, 12:43 PM   #15
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 5,150
https://github.com/search?q=dmx512+a...e=Repositories
__________________
_
Brian T. Carcich
i) Take care of the bits, and the bytes will take care of themselves.
ii) There is no software problem that cannot be solved with another layer of indirection.
iii) Measurement is hard.
iv) I solemnly swear that I am up to no good
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
OT: RGB LED controller with digital input ASF LIVE PLC Questions And Answers 29 April 19th, 2020 05:21 PM
Rs232 to SLC 5/03 Problem YorkMa LIVE PLC Questions And Answers 17 June 2nd, 2017 01:37 PM
How to control LED RGB light through PLC? Serhioromano LIVE PLC Questions And Answers 8 April 28th, 2016 01:29 AM
practice, practice, practice president100 Practice Posting Here 1 March 8th, 2016 03:04 AM
Fanuc 90/30 HMI programming CalG LIVE PLC Questions And Answers 128 February 27th, 2013 01:11 AM


All times are GMT -4. The time now is 05:12 PM.


.