84200HP Power Switch Pin Wiring for Tumbler Keys?

I’m upgrading my e-bike and using a Makerbase 84200HP ESC, but I ran into an issue with the Power Switch Pin (Which I will call PSP).

  1. Power Switch Pin Behavior:
  • I initially connected the PSP directly to battery voltage, but it turns out that’s not correct.
  • The ESC operates as follows:
    • ESC OFF: PSP → Ground connection.
    • ESC ON: PSP → Floating state (not connected to anything).
  • The esc never turns on or off, I have it set to always off, off after 10 min, but I never see the state change because of the above
  1. Key Switch Behavior:
  • My key switch behaves unintuitively to me:
    • “Off”: Internally connected, so I get 72V on both sides of the key wires.
    • “On”: Internally disconnected, showing 0V across the wires.
  1. DC-to-DC Converter:
  • The DC-to-DC converter works as expected:
    • Key “On”: Converter is on.
    • Key “Off”: Converter is off.
  • This makes sense with the standard where devices turn on when a switch pulls to low (ground).

My Questions:

  • I’m confused about how the PSP behaves between “ground” and “floating.”
    • For example, when the key is “off,” I assume the PSP is at 72V or floating.
    • When the key is “on,” I think the PSP is at 0V. Is this not equivalent to ground?
  • Is there a component (like a relay or switch) that can:
    • Pull the PSP to ground when 0V is applied to its input pin,
    • And still handle a 72V system?

Any advice or recommendations are greatly appreciated! Thanks in advance!

I just realized - my 12v dc to dc works fine, I will use that turning on to pull down a relay. Thx chatgpt:

Relay Coil:

  • One terminal of the coil connects to the 12V output of the DC-DC converter.
  • The other terminal connects to ground.
  • Flyback Diode: Place a diode across the coil terminals. The cathode (striped end) goes to the 12V side, and the anode goes to ground.

Relay Contacts:

  • Common (COM): Connect to the PSP.
  • Normally Closed (NC): Connect to ground.
  • Leave the Normally Open (NO) terminal unconnected.

How It Works:

  1. Key OFF (72V):
  • The DC-DC converter is OFF, so no 12V output is available.
  • The relay coil is de-energized, and the PSP is connected to ground through the NC contact.
  1. Key ON (0V):
  • The DC-DC converter turns ON, providing 12V power to the relay coil.
  • The relay coil energizes, switching the contacts to the NO state.
  • PSP is left floating (disconnected from ground).

You’re welcome :robot:

1 Like

@Lucky

Do you know if pw switch must ground to vesc ground? Ie it must ground on vesc pcb? Or can it be common ground from battery/12v dc2dc converter?

Afaik it’s the same ground.

1 Like