MS3Pro + ESC + Brushless Motor to drive Speedometer
Moderators: jsmcortina, muythaibxr
MS3Pro + ESC + Brushless Motor to drive Speedometer
Hello all,
It's been a very long time since I read this forum. I got a project to run my car speedometer with a brushless motor and ESC from R/C. The problem is ESC receive a unique PWM Signal. 1ms pulse every 20ms will be translated to stop and 2ms every 20ms will be translated to full speed. Is it possible to replicate this signal from MS3Pro?
I'm Using MS3Pro with 1.4.0 and TCU with transmission firmware 1.0.1 connected with CAN. Thanks all.
It's been a very long time since I read this forum. I got a project to run my car speedometer with a brushless motor and ESC from R/C. The problem is ESC receive a unique PWM Signal. 1ms pulse every 20ms will be translated to stop and 2ms every 20ms will be translated to full speed. Is it possible to replicate this signal from MS3Pro?
I'm Using MS3Pro with 1.4.0 and TCU with transmission firmware 1.0.1 connected with CAN. Thanks all.
-
- Experienced MS/Extra'er
- Posts: 338
- Joined: Thu Oct 20, 2016 9:12 pm
- Location: Manassas, Virginia
Re: MS3Pro + ESC + Brushless Motor to drive Speedometer
Sounds like it operates at 50Hz with 5% duty cycle to mean stop and 10% duty cycle to mean full. You could do this using the "generic PWM output," the only problem being that 50Hz is not a selectable frequency.
I'm in the VA/DC area! Let me know if I can help you locally! I offer tuning and troubleshooting services.
http://www.msextra.com/forums/viewtopic ... 37&t=64269
Email me directly at CRSTune@gmail.com
Personal Vehicle:
'92 Nissan 240sx, KA24DET, GT2860RS, MS3X, Coil-on-Plug
http://www.msextra.com/forums/viewtopic ... 37&t=64269
Email me directly at CRSTune@gmail.com
Personal Vehicle:
'92 Nissan 240sx, KA24DET, GT2860RS, MS3X, Coil-on-Plug
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: MS3Pro + ESC + Brushless Motor to drive Speedometer
Even if it was selectable, you would have a very poor resolution.CRSTune wrote:Sounds like it operates at 50Hz with 5% duty cycle to mean stop and 10% duty cycle to mean full. You could do this using the "generic PWM output," the only problem being that 50Hz is not a selectable frequency.
My TinyIOx does have an R/C servo output option for its generic PWM output. And you can use any data from the MS3 as an input to the PWM signal and you get the full resolution for the 1ms to 2ms range.
Jean
Re: MS3Pro + ESC + Brushless Motor to drive Speedometer
Hi Jean,racingmini_mtl wrote:Even if it was selectable, you would have a very poor resolution.CRSTune wrote:Sounds like it operates at 50Hz with 5% duty cycle to mean stop and 10% duty cycle to mean full. You could do this using the "generic PWM output," the only problem being that 50Hz is not a selectable frequency.
My TinyIOx does have an R/C servo output option for its generic PWM output. And you can use any data from the MS3 as an input to the PWM signal and you get the full resolution for the 1ms to 2ms range.
Jean
Thanks for your reply. Can we use TinyIOx independently? I got another speed sensor directly to driveshaft output with 12 volt pulse output. Can we use this as input? And how to configure the TinyIOx? Thanks
Regards,
Doddy
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: MS3Pro + ESC + Brushless Motor to drive Speedometer
Yes, you could use it independently. But that might be a bit awkward to setup because the pulse input on the TinyIOx only gives a raw timer count and not a speed input. That means you would need to work with time interval between pulses instead of speed.
There's also the fact that this is not a linear relationship (speed versus interval) but a 1/x relationship so I don't know how precise the linear interpolation of the generic PWM output would be. You would have 16 points which are exactly what you want and everything between those would be a linear interpolation. That would probably be good enough for a gauge.
And you will have to make a conditioning circuit to transform the signal into a 5V pulse signal.
Jean
There's also the fact that this is not a linear relationship (speed versus interval) but a 1/x relationship so I don't know how precise the linear interpolation of the generic PWM output would be. You would have 16 points which are exactly what you want and everything between those would be a linear interpolation. That would probably be good enough for a gauge.
And you will have to make a conditioning circuit to transform the signal into a 5V pulse signal.
Jean
Re: MS3Pro + ESC + Brushless Motor to drive Speedometer
When faced with a similar problem I used an Arduino to "read" the gearbox output pulses and drive a stepper motor fitted to the back of the speedo. It could just as well drive a brushless motor.
Re: MS3Pro + ESC + Brushless Motor to drive Speedometer
Well, I'm very unfamiliar with programming code. Care to share the code and schematic? Thanksspyder wrote:When faced with a similar problem I used an Arduino to "read" the gearbox output pulses and drive a stepper motor fitted to the back of the speedo. It could just as well drive a brushless motor.