dgatf / msrc

Multi Sensor for RC with RP2040 - FrSky D, SmartPort, XBUS, SRXL, IBUS, SBUS, Multiplex Sensor Bus, Jeti Ex Bus, Hitec, CRSF, Sanwa
GNU General Public License v3.0
176 stars 43 forks source link

PWM speed reading problem #143

Open ahfynjj opened 1 day ago

ahfynjj commented 1 day ago

Does MSRC support Hall sensor, or directly connect to the engine's CDI to read the speed? I read the closed issue and it was mentioned in the previous content that GPIO5 is connected to CDI, but the figure in the MSRC config program shows that it is connected to GPIO6. I tried to connect it to the RPM line of hobbywing platium V4 60A and rotate the motor. The ESC RPM sent back did not show the reading. Is there any error in my operation? Please advise. Please see the debug log

In addition, I made a simple PCB to convert the 8.4V of the ESC into 5V to power the RP2040, and integrated resistors to facilitate the connection of different remote control systems, as well as ESC and GPS interfaces. After it is improved, it will be open source for everyone to make and use. Thank you

1.txt

4d41722156b38b14bb394b6b1108052

722f2bfe10d8557c91121841d9343f6

dgatf commented 23 hours ago

Sorry, there is a typo in the docs. RPM PWM (from hall sensor or esc pwm out) is at GPIO4.

Serial esc telemetry is at GPIO5.

ahfynjj commented 5 hours ago

It worked, thanks

ahfynjj commented 4 hours ago

Which port is the fuel meter connected to?

dgatf commented 1 hour ago

GPIO11