gibbz
September 12, 2024, 3:27am
1
Hi crew,
I'm wanting to switch the high side of my ebike controller which is about 55-60v at 16mA. I want to switch it using a 3-3.3v signal.
I was thinking of using a p mosfet, but after measuring the current I think I can get away with something a bit simpler...
Would an optoisolator/optocoupler work for this okay?
What specs should I look for?
My local electronics store has:
MOC3020/MOC3021 are these appropriate for the task?
Those two optocouplers both have triac outputs.
They are for use on AC, but totally unsuited for DC. Once triggered a triac will continue to conduct until the current is reduced to zero (or some low value).
1 Like
gibbz
September 12, 2024, 8:31am
4
stevemj
September 12, 2024, 1:51pm
5
Something like this would not take up much space:
At 16mA, you do not need a SSR with any heat sinking. Look at Digikey and other distributors for the physical size you need.
Wawa
September 12, 2024, 8:21pm
8
An SSR can be as small as an opto coupler.
Google "optofet" or "photofet".
My local supplier stocks this one . 5mA in 60V/500mA out.
Leo..
2 Likes
gibbz
September 12, 2024, 10:32pm
10
Thanks guys! I had no clue SSR could be that small!
I'll pick the jaycar one up as we have that in australia!
It looks perfect for the job
Wawa
September 13, 2024, 1:49am
11
Don't forget the current limiting resistor for the LED.
Vf of an opto LED is normally ~1.3volt, so the resistor drops ~2volt with 3.3volt-logic.
330 ohm will do, which drives the opto LED with ~6mA.
Leo..
gibbz
September 13, 2024, 12:40pm
12
Thanks! I was just looking at what was required to get this going too!
gibbz
September 13, 2024, 12:46pm
13
Looking at the circuit diagram. I assume I connect my battery to drain, then source becomes the switched output, like a p channel mosfet...
Is there a difference between the drain pin 4 & 6?
Wawa
September 13, 2024, 8:40pm
14
There are two N-channel fets back2back between pin 4 and 6.
So polarity doesn't matter if you use 4 and 6 as a switch.
Leo..
2112
September 13, 2024, 11:36pm
16
From the Datasheet:
3.4 Repetitive peak off state-voltage 60Vdc min
You should allow some margin for derating. This is on the edge of failure.
system
Closed
March 12, 2025, 11:36pm
17
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.