Re: can id´s 4 Gear Selector
Posted: Tue Apr 04, 2023 9:14 pm
Maybe I bought a broken GSM? But if I apply 9V to the motor or solenoid pins, the knob rises and the solenoid releases its movement.
Code: Select all
void RaiseKnob()
{
Knoblock = Unlocked;
KnobPosDes = Raise;
Serial.println();
Serial.println("RaiseKnob");
}
Code: Select all
bool candebug = 1;
Code: Select all
497387,0x3F3,false,8, 0x7C, 0x24, 0x04, 0x07, 0xFE, 0xFF, 0x01, 0x00
497408,0x3F3,false,8, 0x7C, 0x24, 0x05, 0x08, 0xFE, 0xFF, 0x01, 0x00
No, I don't have a model tester with Aliexpress. I want to use arduino instead. So that when power is applied to the arduino, the GSM turns on and the knob rises. Read and send data to the GSM for joint operation with a stepper motor.
Code: Select all
Pin Signal
1-12V
2-12V (ign)
5-CAN H
6-CAN L
14-12V
22-Ground
From my findings this would mean the knob is the reverse position.VanGogh wrote: ↑Tue Apr 04, 2023 10:01 pmCode: Select all
497387,0x3F3,false,8, 0x7C, 0x24, 0x04, 0x07, 0xFE, 0xFF, 0x01, 0x00 497408,0x3F3,false,8, 0x7C, 0x24, 0x05, 0x08, 0xFE, 0xFF, 0x01, 0x00
I don't understand why it doesn't detect the Park position... There is 12V on pin 14. But the monitor still displays
Code: Select all
497387,0x3F3,false,8, 0x7C, 0x24, 0x04, 0x07, 0xFE, 0xFF, 0x01, 0x00
497408,0x3F3,false,8, 0x7C, 0x24, 0x05, 0x08, 0xFE, 0xFF, 0x01, 0x00
Code: Select all
497387,0x3F3,false,8, 0x5C, 0x66, 0x04, 0x07, 0xFF, 0x7F, 0x00, 0x80
This says the knob is in park yes.VanGogh wrote: ↑Tue Apr 04, 2023 11:19 pm But it must beCode: Select all
497387,0x3F3,false,8, 0x5C, 0x66, 0x04, 0x07, 0xFF, 0x7F, 0x00, 0x80
Thanks for the offer. It's not convenient for me to send you a module. There is no such module on the video of the seller on Aliexpress. Maybe he has other ID codes?tom91 wrote: ↑Wed Apr 05, 2023 8:27 am This says the knob is in park yes.
Where are you based? You could send me your GSM so I can use my tester and look at getting it to work. As you say it might just be broken.
It could also be a slightly different version then the "Gen1" myself and others have tested.
Code: Select all
497387,0x3F3,false,8, 0x7C, 0x24, 0x04, 0x07, 0xFE, 0xFF, 0x01, 0x00
497408,0x3F3,false,8, 0x7C, 0x24, 0x05, 0x08, 0xFE, 0xFF, 0x01, 0x00
Code: Select all
497387,0x3F3,false,8, 0x5C, 0x66, 0x04, 0x07, 0xFF, 0x7F, 0x00, 0x80
Code: Select all
3F3 8 5C 66 00 00 FF 7F 00 80
So I need to buy a tester for this GSM and read the code for the stepper motor with it? Can't do anything without a tester?!tom91 wrote: ↑Wed Apr 05, 2023 5:40 pm There are alot of checksums involved so you need to have an active controller doing it. Static messages do not work, this is why I made the Arduino code public.
Unfortunately it takes quite a bit of effort to make things like this work, if you are not comfortable with CAN bus this is not something that is easy to figure out.
If you can get another can bus device you can log what is going on between the Arduino sketch and the gsm.
If the CAN communication is different then yes.
Code: Select all
386688,0x3F3,false,8, 0x7C, 0x24, 0x05, 0x08, 0xFE, 0xFF, 0x01, 0x00
386709,0x3F3,false,8, 0x7C, 0x24, 0x06, 0x09, 0xFE, 0xFF, 0x01, 0x00
386731,0x3F3,false,8, 0x7C, 0x24, 0x07, 0x0A, 0xFE, 0xFF, 0x01, 0x00
386752,0x3F3,false,8, 0x7C, 0x24, 0x08, 0x0B, 0xFE, 0xFF, 0x01, 0x00
386774,0x3F3,false,8, 0x7C, 0x24, 0x09, 0x0C, 0xFE, 0xFF, 0x01, 0x00
386795,0x3F3,false,8, 0x7C, 0x24, 0x0A, 0x0D, 0xFE, 0xFF, 0x01, 0x00
386816,0x3F3,false,8, 0x7C, 0x24, 0x0B, 0x0E, 0xFE, 0xFF, 0x01, 0x00
386837,0x3F3,false,8, 0x7C, 0x24, 0x0C, 0x0F, 0xFE, 0xFF, 0x01, 0x00
386859,0x3F3,false,8, 0x7C, 0x24, 0x0D, 0x10, 0xFE, 0xFF, 0x01, 0x00
386880,0x3F3,false,8, 0x7C, 0x24, 0x0E, 0x11, 0xFE, 0xFF, 0x01, 0x00
386902,0x3F3,false,8, 0x7C, 0x24, 0x00, 0x03, 0xFE, 0xFF, 0x01, 0x00
386923,0x3F3,false,8, 0x7C, 0x24, 0x01, 0x04, 0xFE, 0xFF, 0x01, 0x00