This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DCC / DEC4 to switch transistor?

Is it possible to connect DCC / DEC4 to a transistor to turn on / off a part in my circuit? I assume yes, but I just want to make sure.

Or, is there another way to turn on/off a part of my circuit without spending a GPIO pin doing this? I basically want to turn the circuit on when the nRF52 is powered.

Parents
  • Hi,

    EDIT: Turns out I read you question a bit quickly there, sorry for that. You cannot use DCC to power an external piece as it will cause unwanted effects. Depending on timing criteria you can either.

    a) Use a GPIO to activate your transistor(strict timing/concurrency requirements)

    b) Use the VCC that you are using to power up your chip to also activate the transistor switch(loose timing/concurrency requirements)

    Best regards,

    Øyvind

Reply
  • Hi,

    EDIT: Turns out I read you question a bit quickly there, sorry for that. You cannot use DCC to power an external piece as it will cause unwanted effects. Depending on timing criteria you can either.

    a) Use a GPIO to activate your transistor(strict timing/concurrency requirements)

    b) Use the VCC that you are using to power up your chip to also activate the transistor switch(loose timing/concurrency requirements)

    Best regards,

    Øyvind

Children
Related