I'm trying to make brushless motor controller for my ebike.
I need it to have (forward reverse) (potentiometer input) (maybe brake) (hall inputs)
it's going to be mostly running hall less
Im trying to make it as cheap and simple as possible.
list of components that I have on hand:
smd ceramic capacitors: 50v 1nf 10nf 100nf 1uf 10uf 100uf 100v 48uf
disc ceramic capacitors 50v 106 104
smd resistors: 10 100 1k 10k 100k (2512 shunts) 0.004 0.001
tht resistor kit with values :
1 000 000
and a lot of 120
diodes: in5819 uf4007
zener diode kit
current sense amplifier:INA180A3IDBVR
mosfet drivers: irs2186 ucc27211
This is phase voltage sense part, what value should I use for these components and do I even need a capacitor there?
This is input voltage divider
can I connect my hall sensors directly to stm pins? I've seen some schematics with filters and voltage dividers.
Can I use internal pull up resistors?
is using capacitor C4 good idea and what values of components should I use in this scheamtic
I would prefer to use only one shunt amplifier but if measuring current on each phase individually has some important advantages I can do it.
Again does that schematic look good? Should I use some filters? Different shunt values?
Lastly what stm32 can I use, vesc hardware schematics use STM32F40X_LQFP64 does that mean that I can use any flash size?
Do I need to use 64 pin package?
Is there a list of stm controllers that I could use Or any starting with f40 that has 64 pins will work?
Are there vesc software branches?
How do I set up pins, do I need to change some kind of .h configuration file?
Do I need to tell it that it has different than normal resistor values on its phase voltage sense pins?
Is there some kind of pin out diagram?
Are there pin out diagrams for every (supported boards) type that you choose inside conf_general.h?
Should I stick to any of the default board types and base my schematic on that?
Can I simply download zip file from github (without any of this git command line stuff) then somehow compile it and upload it using st-link v2 by using some kind of tool inside cube ide?
Is there some kind of wiki page for vesc with answers for all of these questions? There shoul be since vesc is such a big project right?