Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mosfets.ato:LowSideSwitch pulldown resistor is not connected #12

Open
sethfischer opened this issue Apr 8, 2024 · 0 comments
Open

mosfets.ato:LowSideSwitch pulldown resistor is not connected #12

sethfischer opened this issue Apr 8, 2024 · 0 comments

Comments

@sethfischer
Copy link
Contributor

The pulldown_resistor in mosfets.ato:LowSideSwitch is not connected.

pulldown_resistor = new Resistor

module LowSideSwitch:
    fet = new Mosfet_nchannel
    gate_resistor = new Resistor
    pulldown_resistor = new Resistor
    freewheel_diode = new Diode

    power = new Power
    load = new Load

    input = new Pair

    # connect up circuit
    input.io ~ gate_resistor.p1; gate_resistor.p2 ~ fet.gate
    input.gnd ~ power.gnd

    # load and diode between power and fet
    power.vcc ~ freewheel_diode.cathode; freewheel_diode.anode ~ fet.drain
    power.vcc ~ load.p; load.n ~ fet.drain

    # source to ground
    fet.source ~ power.gnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant