wESP32 and 12v door locks
Posted: Mon Mar 21, 2022 1:50 pm
I have two motorized door locks. To open they take 12V and the specs say: 250mA max inrush, 10mA max holding.
I have a wESP32. It uses PoE and V+ provides 12V with 12.95+ W of power (1.079A).
What's a good way to have the wESP32 open the door locks? I need to control them individually and at the same time. I think I can run them directly from V+, but I need a way to switch it.
I have some 4 channel optocouplers: LTV-846 (datasheet attached). My understanding is each IC will be in the range of 50-600% CTR. I have 25 and could screen them. I'm a noob, but I think this means if I run the optocoupler LED at 25mA, the best I can hope for with 600% CTR is 150mA on the output side. Is this good enough for the door locks? The 250mA says "inrush" but I'm not sure how the optocoupler would handle that.
If that won't work, can you please suggest parts that would work?
I have a wESP32. It uses PoE and V+ provides 12V with 12.95+ W of power (1.079A).
What's a good way to have the wESP32 open the door locks? I need to control them individually and at the same time. I think I can run them directly from V+, but I need a way to switch it.
I have some 4 channel optocouplers: LTV-846 (datasheet attached). My understanding is each IC will be in the range of 50-600% CTR. I have 25 and could screen them. I'm a noob, but I think this means if I run the optocoupler LED at 25mA, the best I can hope for with 600% CTR is 150mA on the output side. Is this good enough for the door locks? The 250mA says "inrush" but I'm not sure how the optocoupler would handle that.
If that won't work, can you please suggest parts that would work?