You are here

Throttle reworking for DPVs

2 posts / 0 new
Last post
badwiz
badwiz's picture
Offline
Last seen: 3 years 1 month ago
Joined: 2023-04-03 01:16
Posts: 3
Throttle reworking for DPVs

Could a newbie to the VESC project get guidance on the throttle routines that the VESC firmware employees? Specifically, where to find them in the code base and best practices for modifying.

Background:

I am completely new to the VESC project but very excited about the potential application to underwater diver propulsion vehicles (DPVs -- commonly known as 'scooters'). Being an underwater device, throttle options are usually mechanical in nature and use reed sensors in conjunction with a mechanical trigger to allow throttle input across a waterproof fuselage. Throttle inputs are typically coded into a sequence of trigger taps and pre-determined throttle levels. For example, to increase the throttle setting, the user would issue two short releases of the throttle trigger within a time window. A single release would indicate a decrease in throttle. Etc. 

My expectation is that to use a VESC controller on a DPV project, the simplest method would be to retain that mechanical trigger mechanism rather than introduce electronics into the throttle that must be waterproofed and/or passed through a waterproof bulkhead. Rewriting the throttle routines in the firmware seems easier than adapting a PPM or analog throttle singal.

jvanostrand
Offline
Last seen: 1 week 5 days ago
VESC Free
Joined: 2026-08-06 22:45
Posts: 3

I'm looking to do the same thing to replace a dead controller in a legacy DPV. It uses an external magnet to activate a reed switch inside the hull. The idea would be to use a double-click-and-hold protocol with speed shifting. So 2 trigger pulls+hold , starts from off, release for 1 second stops, release+pull in one second is speed down, release+2xpull in one second is a speed up.

Did you get anywhere with your project?