Little FOCer! 84V 5kW VESC-Based Controller

There are a lot of adjustable variables that would dictate the punch you feel

Ramping time
Throttle expo
And even things like switching frequency can play a role in this

3 Likes

Question for the community. Would y’all be mad if I broke up the “traditional” 7-pin comms connector into 3 separate ones for ADC1, ADC2, and UART? The idea here is to better support other non-esk8 non-OW applications like ebike, escooter, and whatever else used ADC-based throttles/brake. I would do it as shown in the image.

There are plenty of uart devices that rely on 3.3v, especially as more of them transition to ESP32s. I don’t know if the previous modules ran on 5V, but I know the esp32 based accessories I have all run on 3.3.

1 Like

True. So I guess I gotta figure out if the UART connector should have 3.3V instead of 5v. Is 3.3v supply for sure gunna be better? I’ll do my own research of course

1 Like

To be fair, if someone is going to bother using this in a skateboard, they’ll probably have the means to just steal 3.3v from one of the adc ports. I just think it would be convenient to use a jumper or solder bridge to change between them.

5v is the better choice

2 Likes

Hmm yeah a jumper would be nice if I can squeeze on in. I can also add a 5V pin to the extra GPIO connector for general purpose.

1 Like

Maybe add a parallell connector? Could even make the inputs XOR

1 Like

I don’t think I can squeeze in a parallel connector unless I make the PCB bigger. Trying to keep v4 the same PCB size as v3.

1 Like

That’s why I was talking about multi pcb stacked… so you could bkeep the same size

IMO splitting the ADCs in two connectors will make things less convenient for the Onewheel application. A ton of people will already have these on a single 3-pin because there was such connector on 3.1, it’s the best configuration for Onewheels. Not sure it helps anything separating the two ADCs? Is the ground needed there for something? The ADCs already have pulldowns installed, right?

1 Like

Right I get that its not as convenient for OW but then bringing the ADC channels back together for a 3-pin connector like with the v3.1 is as simple as a connecter adapter.

That connector adapter can be used for the opposite use case the same way. One connector uses less space than two, I guess it boils down to whether you need those grounds there.

Though, on Onewheel, you really don’t want any more connectors on those paths than you need. Because if the connection fails, you’re most likely flying through the air… So for that reason I don’t really like this, and if it’s this way, I won’t use an adapter, but split the connection to two connectors directly, avoiding the extra one.

1 Like

The goal is to make the v4 more compatible for the other PEV platforms. Ground is of course needed for things like twist throttles. Yes split connection or whatever works for you.

2 Likes

Why not use a single 4-pin connector then perhaps? Would that cater to both use cases?

2 Likes

Hmm not a bad idea! 4-pin may not work well for other PEVs but combining them outright into a 6-pin would then still allow for each throttle/brake signal to have it’s own power and ground. No messy splits/combinations needed. Then the footpad connection can still just use only the pins needed from this one connector.

3 Likes

Anyone see an issue with this? Seems to be a good comprise between OW and “other”.

4 Likes

I would much prefer a 4 pin instead of 6.
I used a vesc for adc1 throttle adc2 regen brake. I don’t see a need to change honestly. But you are the designer

1 Like

The thought here is to prevent the need to combine/split wires to share 3.3V and gnd between two ADC input devices being used at the same time. If you don’t need all the pins, then don’t use them. But maybe I’m missing something?

3 Likes

So in OW’s case, you only need the pins outlined in green. Ignore the rest

1 Like

@shaman question, will antispark still be needed when there’ll be a momentary switch now? And also, what’s the battery drain when off like now? 3.1 can drain a battery in matter of weeks, which is quite bad when the board’s not used.