Control BLDC Hub motor with Arduino - speed throttle

Hi!
So i bought an e scooter hub motor and a fitting speed controller with a throttle.
But wanted to just use the speed controler and build my own speed "throttle" with an arduino because i want to build a wireless speed throttle without the cable.
So my problem is, it seems that the throttle has a digital connection between the controller and the LCD-throttle thing. I opened up the LCD throttle part and it seems that the throttle position is read out via a HALL sensor.
Now my question: does someone have a solution how ican "simulate" the hall sensor so that i can simply connet an arduino to the hall sensor pins of the throttle so that i can pretend the throttle is actiated.
OR can i digitally connect my arduino with the BLDC controller simply without using the throttle element at all?...

I got this controller from aliexpress and the seller wont give me a datasheet or any further information.
I know that the throttle is a "DAMAO MA01" but i could not find a datasheet for that either.

If someone knows a BLDC hub motor controller with 48v and 1500W that i an easily control with an arduino i would also be very happy...?


other E-Bike controller maybe?

Yes i also thought about that.
But when i use a different controller, as far as iknow the speed is controlled with an potentiometer controlling a voltage between 1 and 4.2 V - how can i create that with an arduino? i think the PWM (analogwrite) funtion is not suitable for that?...

only if not using low-pass filter circuit

Sorry can you explain that further? can i "smooth" the PWM signal with a capacitor?

yep
wait, not only capacitor. and it is recommended two low-pass filters in series

Wait, can i not just simply use a DAC ?

i don't know what you can, but DAC use no PWM. how much pins are you ready to spend?

I have no ideo how these non HALL-sensor based throttles work, i assumed they are simply just potentiometers so i thought i could just "simulate" a potentiometer with my arduino
i have no limitation of pins, i just want to create a constant voltage between 1 and 4.2V

constant or variable? if really constant then voltage divider is suitable

Oh no of course variable, but not like a flattened pulsating DC voltage (sorry! i dont know the english word for that)
So when i want for example 3 V then it has to be constant 3 volts and not some wavey voltage and when i want to change it to 4 V it should be exact 4 Volts

When google DAC output signal i always get some wave like voltages

show

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.