-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roomster cluster speed #24
Comments
Hmmm, looking at the pinout - speed signal input is pin 6. That makes it sound like the speed isn't actually provided through CAN, but is instead done via a pin. That would explain some things. Also, I see some other stuff that should be on CAN apparently isn't. If speed is really by pin, then usually that is done as pulses. The higher the pulse frequency, the higher the speed. |
could i somehow simulate that with esp32? |
also that would explain why when i tried plugging in the speed into canbus the speed was jumping all around the place |
Yeah, it shouldn't be that hard. I think you should be able to do it with standard arduino PWM. Increasing the frequency will probably increase the speed. Start with something like 1Hz and go higher. |
and could it be possible to make it work with your code? |
Yes, it should. But you will of course need to do some modifications. |
if you hade some free time could you please make those modifications? since i really dont know how to code |
Definitely not. Especially because you need the cluster there to actually check what is happening. The PWM stuff should be quite trivial - just search google for "ESP32 arduino PWM" and you will find some tutorials. But you will need to know some arduino basics first. |
it needs two pins so one that sends and ground or? |
I think the input is for the cluster to show stuff, output is for some other devices in the car that also need that information. So you would only need 1 pin. |
could you atleast try to write some really basic code for arduino nano so that i can try it? and then i would try to continue by myself |
Well on an arduino Nano you can just try with tone first: just write |
i tried this and it didnt do anything https://docs.arduino.cc/tutorials/generic/secrets-of-arduino-pwm/ |
I have kinda working roomster cluster. RPM and indicators work but thats all i cant get working anything else any ideas to make atleast speed work?
The text was updated successfully, but these errors were encountered: