Reading Speed from Lingbo Controller (lbmC072152HJ3A)

yosia

1 µW
Joined
Nov 2, 2024
Messages
2
Location
Arusha, Tanzania
Hello everyone,
we are designing ebike from this controller Lingbo (lbmC072152HJ3A),
We want to be able to read the speed of the bike compute rpm, and speed and km travelled, We wanted to use only one hall sensor C to do this,
But we are receiving some pulses when we hook up, and interrupt to the microcontroller but we can't compute the rpm, is there a way to do
Or somebody who did something like this any help could be very helpful.
Thanks

I have attached the datasheet of the controller
 

Attachments

  • 50eb4fab-63f5-453b-b201-6cdc32c66129.pdf
    444.2 KB · Views: 1
But we are receiving some pulses when we hook up, and interrupt to the microcontroller but we can't compute the rpm, is there a way to do
I'm not really following what you're saying here, could you expand on it?

If you lead one of the hall sensor wires to your own microcontroller, you should be able to count the pulses, right, is that the idea? Seems doable.
 
I'm not really following what you're saying here, could you expand on it?

If you lead one of the hall sensor wires to your own microcontroller, you should be able to count the pulses, right, is that the idea? Seems doable.
Thanks for reply, Yes I am getting pulses but they don't have a relationship for example if (I rotate the motor very slowly for one revolution I get almost 68 pulses, if I rotate faster for 1 revolution too I get almost 230 pulses), I have tried sampling them for various speed and plotted a graph in excel but I don't get any sort of relationship, I don't know exactly how they are outputted, I am using in hub Bosch motor 3000W, 60V and 12inch in diameter.
 
Aah so I assume you're reading pin 9 of the connector of the controller (last page of datasheet you attached)? That's strange. But the datasheet isn't very clear so maybe we're missing some information. Have you contacted the manufacturer? Why use this controller in the first place?

You can still intercept one of the hall sensor wires going to the controller.
 
Back
Top