Regular Member
Posts: 374
Registered: ‎08-20-2012
Kudos: 58

How to use mPort to Power LED Light

Is it possible to use port 3 to provide power to an LED Light?
I would like to be able to schedule or trigger the light to come on, can I hook it directly to the mPort, do I need something else between the mPort and the Light? According to the Guide,
Switch an external 12V relay. Outputs 12V on the Output (O) pin, when the port is on, and 0v otherwise. This type of machine displays an on/off button in the mFi Controller interface, and can be selected as an output when creating a rule from the Actions tab.


Also, is there a way to use more then one device on Port 3? For instance, I already have a Door contact on port three, I would like to also have the light on Port 3. Thanks!

SuperUser
Posts: 15,133
Registered: ‎08-07-2008
Kudos: 7345
Solutions: 415
Contributions: 1

Re: How to use mPort to Power LED Light

I don't think you can run the light and the door contact on the same port.
But the light should work if it's current draw is with in speck.
Do you want the light to turn on /off with the door contact?
Maybe you could use a small relay inline with the contact and run power through it for the light?
Warning I have not read the manual yet!!!
But let us know if you try and see smoke!!
Walks in, tells it like it is, walks out , milks a cow
New Member
Posts: 1
Registered: ‎09-28-2012

Re: How to use mPort to Power LED Light

I'll be interested to see if this will work. Looking forward to hearing how it goes.
Regular Member
Posts: 374
Registered: ‎08-20-2012
Kudos: 58

Re: How to use mPort to Power LED Light

Okay so it does work however it really just clarifies the point that the mPort is not large enough.

Here's the setup at my house network closet

Port 1 - Temp Sensor
Port 2 - Door Contact Sensor - RJ-45 with Cat-5 running to the sensor
Port 3 - LED Light similar to the picture in post 1, wired directly to I+O

If the cabinet door is opened I get an email notification and the light in the cabinet turns on.

I now have no way to use my current sensor without using another mPort.

Come on UBNT give us a 16 port that we can put to good use!
SuperUser
Posts: 21,761
Registered: ‎11-20-2011
Kudos: 7935
Solutions: 233

Re: How to use mPort to Power LED Light

Power (P)
Current draw of the connected devices must be kept under 40 mA total, per output voltage (5v, 12v, 24v). This includes current on both the power pins and the output pins (combined).


From: wiki.ubnt.com/MFi-Custom_Sensors

You might consider using a small relay board, like the Tempco 4 Port Relay Board (MRB-4-12VDC)
www.temcocontrols.com/ftp/pdf/MRB.pdf


isp builder | linux sorcerer | datacenter automation conjurer | blog: blog.engineered.online
link to our slack channel on the blog
Regular Member
Posts: 374
Registered: ‎08-20-2012
Kudos: 58

Re: How to use mPort to Power LED Light

Thanks, I may have to try that out.
Veteran Member
Posts: 16,762
Registered: ‎06-23-2010
Kudos: 5292
Solutions: 78

Re: How to use mPort to Power LED Light

Yes. You can run the LEDs off the mPort. I'm doing that now. Provided the amp draw is below the max the mPort can provide.
As far as using the terminal block for input and output at the same time - in theory this will work. You'd need to make a custom sensor definition.