Open tolunaygul opened 1 year ago
Are you doing the “handshake” section as well? The keepalives are needed after you do initial handshake/setup.
this is done in the “Keypad Configuration Section” and is all of the boot up “conversation” so that the ECU sees a keypad. Then there is the 1805 and 1421 keepalives.
So if i am reading the code correctly, the ecu is sending data via id 1549 and the keypad is reading that and replying back with these bytes :
if (frame.id == 1549) { if ((frame.data.bytes[0]) == 34 ) { b0 = 96; b1 = (frame.data.bytes[1]); b2 = (frame.data.bytes[2]); b3 = (frame.data.bytes[3]); b4 = 0; b5 = 0; b6 = 0; b7 = 0;
after that the keep alives 1805 should be transmitting 05 data.
And the rest of the CANSyncFrames code is running contantly and replying back to haltech.
Then the keypad is sending key info via 397 which i do understand and can decode.
There was a person who wrote a reply under your video that he made a different version of the emulator via a teensy. But he removed the reaction. Did you get in touch with him ?
Dear Blake,
its been a while since you had sended this email. It was a "few weekends" project for me and today i released the first version of this project on github with a fork from you. Is this ok for you, if no then i will remove it ! https://github.com/tolunaygul/haltech_keypad_emulator_inputs
I am also working on emulator software for the IO box A and/or B. Those will be posted on github as wel.
Met vriendelijke groeten, Tolunay Gul
From: Blake McBride @.> Sent: Sunday, February 26, 2023 13:15 To: analoghan/haltech_keypad_emulator @.> Cc: tolunay gul @.>; Author @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Are you doing the “handshake” section as well? The keepalives are needed after you do initial handshake/setup.
this is done in the “Keypad Configuration Section” and is all of the boot up “conversation” so that the ECU sees a keypad. Then there is the 1805 and 1421 keepalives.
— Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fanaloghan%2Fhaltech_keypad_emulator%2Fissues%2F1%23issuecomment-1445346467&data=05%7C01%7C%7Cd2a7a2ccff6f4086eaf608db17f32d26%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130105410967764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qKoxiMG70%2FnFG6NNGoznFGstG6%2FRj76UShQk3DkBOF4%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQG7BU2BYTGCEJHIVHAV273WZNCOXANCNFSM6AAAAAAVIHF22M&data=05%7C01%7C%7Cd2a7a2ccff6f4086eaf608db17f32d26%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130105410967764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h0PNeSrN%2Buy%2FsxgKNWWyjCH6vsMOl0NB1Jok0R2AM5I%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
Good day,
Glad that the code I shared was at least a little helpful! I'm happy to have anyone fork it and work based on it, my goal with sharing was that my work could benefit others.
Regards,
Blake
From: tolunay gul @.> Sent: Sunday, March 19, 2023 7:55 AM To: analoghan/haltech_keypad_emulator @.> Cc: digitalsolo ls1fc.com @.>; Comment @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Dear Blake,
its been a while since you had sended this email. It was a "few weekends" project for me and today i released the first version of this project on github with a fork from you. Is this ok for you, if no then i will remove it ! https://github.com/tolunaygul/haltech_keypad_emulator_inputs
I am also working on emulator software for the IO box A and/or B. Those will be posted on github as wel.
Met vriendelijke groeten, Tolunay Gul
From: Blake McBride @.> Sent: Sunday, February 26, 2023 13:15 To: analoghan/haltech_keypad_emulator @.> Cc: tolunay gul @.>; Author @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Are you doing the “handshake” section as well? The keepalives are needed after you do initial handshake/setup.
this is done in the “Keypad Configuration Section” and is all of the boot up “conversation” so that the ECU sees a keypad. Then there is the 1805 and 1421 keepalives.
— Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fanaloghan%2Fhaltech_keypad_emulator%2Fissues%2F1%23issuecomment-1445346467&data=05%7C01%7C%7Cd2a7a2ccff6f4086eaf608db17f32d26%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130105410967764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qKoxiMG70%2FnFG6NNGoznFGstG6%2FRj76UShQk3DkBOF4%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQG7BU2BYTGCEJHIVHAV273WZNCOXANCNFSM6AAAAAAVIHF22M&data=05%7C01%7C%7Cd2a7a2ccff6f4086eaf608db17f32d26%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130105410967764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h0PNeSrN%2Buy%2FsxgKNWWyjCH6vsMOl0NB1Jok0R2AM5I%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://github.com/analoghan/haltech_keypad_emulator/issues/1#issuecomment-1475223881, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHIERZ7TGVZWINIJSCXNRUDW43X3NANCNFSM6AAAAAAVIHF22M. You are receiving this because you commented.Message ID: @.***>
Good day Blake,
How are you doing ?
lastly i had some to upload my version of the code to github together with the IOBox emulator ( first version ) https://github.com/tolunaygul
Yesterday i was doing some tinkering with the code and i tried to emulate the 3x5 keypad ID A. With my canbus scanner a saw that the keypad ( original ) was using the C ending ID; For example the B id uses 58D 60D 18D and 70D. Tried to change it 58C 60C 18D and 70D in an effort to emulate it as ID A. unfortunately, that doesn't work like intended. Planning to do some testing and sniffing tonight. I was wondering if you had already sniffed the ID out. Do you also happen to know some information about Keypad 2x4 ? tried 58A and 58B tests but not joy.
kindly regards,
Met vriendelijke groeten, Tolunay Gul
From: Blake McBride @.> Sent: Sunday, March 19, 2023 14:57 To: analoghan/haltech_keypad_emulator @.> Cc: tolunay gul @.>; Author @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Good day,
Glad that the code I shared was at least a little helpful! I'm happy to have anyone fork it and work based on it, my goal with sharing was that my work could benefit others.
Regards,
Blake
From: tolunay gul @.> Sent: Sunday, March 19, 2023 7:55 AM To: analoghan/haltech_keypad_emulator @.> Cc: digitalsolo ls1fc.com @.>; Comment @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Dear Blake,
its been a while since you had sended this email. It was a "few weekends" project for me and today i released the first version of this project on github with a fork from you. Is this ok for you, if no then i will remove it ! https://github.com/tolunaygul/haltech_keypad_emulator_inputs
I am also working on emulator software for the IO box A and/or B. Those will be posted on github as wel.
Met vriendelijke groeten, Tolunay Gul
From: Blake McBride @.> Sent: Sunday, February 26, 2023 13:15 To: analoghan/haltech_keypad_emulator @.> Cc: tolunay gul @.>; Author @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Are you doing the “handshake” section as well? The keepalives are needed after you do initial handshake/setup.
this is done in the “Keypad Configuration Section” and is all of the boot up “conversation” so that the ECU sees a keypad. Then there is the 1805 and 1421 keepalives.
— Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fanaloghan%2Fhaltech_keypad_emulator%2Fissues%2F1%23issuecomment-1445346467&data=05%7C01%7C%7Cd2a7a2ccff6f4086eaf608db17f32d26%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130105410967764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qKoxiMG70%2FnFG6NNGoznFGstG6%2FRj76UShQk3DkBOF4%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQG7BU2BYTGCEJHIVHAV273WZNCOXANCNFSM6AAAAAAVIHF22M&data=05%7C01%7C%7Cd2a7a2ccff6f4086eaf608db17f32d26%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130105410967764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h0PNeSrN%2Buy%2FsxgKNWWyjCH6vsMOl0NB1Jok0R2AM5I%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://github.com/analoghan/haltech_keypad_emulator/issues/1#issuecomment-1475223881, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHIERZ7TGVZWINIJSCXNRUDW43X3NANCNFSM6AAAAAAVIHF22M. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://github.com/analoghan/haltech_keypad_emulator/issues/1#issuecomment-1475268393, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQG7BU43TAJ2F4HPIOOHODTW44GC7ANCNFSM6AAAAAAVIHF22M. You are receiving this because you authored the thread.Message ID: @.***>
Dear Blake,
Made the ID A emulation working. Has a few different reply bits. Made 2 new files with A and B emulations on my github. https://github.com/tolunaygul/haltech_keypad_emulator_inputs
Met vriendelijke groeten, Tolunay Gul
From: Tolunay Gul @.> Sent: Tuesday, May 30, 2023 14:18 To: analoghan/haltech_keypad_emulator @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Good day Blake,
How are you doing ?
lastly i had some to upload my version of the code to github together with the IOBox emulator ( first version ) https://github.com/tolunaygul
Yesterday i was doing some tinkering with the code and i tried to emulate the 3x5 keypad ID A. With my canbus scanner a saw that the keypad ( original ) was using the C ending ID; For example the B id uses 58D 60D 18D and 70D. Tried to change it 58C 60C 18D and 70D in an effort to emulate it as ID A. unfortunately, that doesn't work like intended. Planning to do some testing and sniffing tonight. I was wondering if you had already sniffed the ID out. Do you also happen to know some information about Keypad 2x4 ? tried 58A and 58B tests but not joy.
kindly regards,
Met vriendelijke groeten, Tolunay Gul
From: Blake McBride @.> Sent: Sunday, March 19, 2023 14:57 To: analoghan/haltech_keypad_emulator @.> Cc: tolunay gul @.>; Author @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Good day,
Glad that the code I shared was at least a little helpful! I'm happy to have anyone fork it and work based on it, my goal with sharing was that my work could benefit others.
Regards,
Blake
From: tolunay gul @.> Sent: Sunday, March 19, 2023 7:55 AM To: analoghan/haltech_keypad_emulator @.> Cc: digitalsolo ls1fc.com @.>; Comment @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Dear Blake,
its been a while since you had sended this email. It was a "few weekends" project for me and today i released the first version of this project on github with a fork from you. Is this ok for you, if no then i will remove it ! https://github.com/tolunaygul/haltech_keypad_emulator_inputs
I am also working on emulator software for the IO box A and/or B. Those will be posted on github as wel.
Met vriendelijke groeten, Tolunay Gul
From: Blake McBride @.> Sent: Sunday, February 26, 2023 13:15 To: analoghan/haltech_keypad_emulator @.> Cc: tolunay gul @.>; Author @.> Subject: Re: [analoghan/haltech_keypad_emulator] more information about emulating the keyboard (Issue #1)
Are you doing the “handshake” section as well? The keepalives are needed after you do initial handshake/setup.
this is done in the “Keypad Configuration Section” and is all of the boot up “conversation” so that the ECU sees a keypad. Then there is the 1805 and 1421 keepalives.
— Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fanaloghan%2Fhaltech_keypad_emulator%2Fissues%2F1%23issuecomment-1445346467&data=05%7C01%7C%7Cd2a7a2ccff6f4086eaf608db17f32d26%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130105410967764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qKoxiMG70%2FnFG6NNGoznFGstG6%2FRj76UShQk3DkBOF4%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQG7BU2BYTGCEJHIVHAV273WZNCOXANCNFSM6AAAAAAVIHF22M&data=05%7C01%7C%7Cd2a7a2ccff6f4086eaf608db17f32d26%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638130105410967764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h0PNeSrN%2Buy%2FsxgKNWWyjCH6vsMOl0NB1Jok0R2AM5I%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://github.com/analoghan/haltech_keypad_emulator/issues/1#issuecomment-1475223881, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHIERZ7TGVZWINIJSCXNRUDW43X3NANCNFSM6AAAAAAVIHF22M. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://github.com/analoghan/haltech_keypad_emulator/issues/1#issuecomment-1475268393, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQG7BU43TAJ2F4HPIOOHODTW44GC7ANCNFSM6AAAAAAVIHF22M. You are receiving this because you authored the thread.Message ID: @.***>
Can you enlighten how to emulate the keypad. I scanned the can data that the keypad is transmitting via my peak can interface. Found that the keypad is transmitting a heartbeat at ID1805 with 1 byte with 05 as value. And 1 stream at 397 with 3 bytes for key pressed information. When i send those back to the haltech ecu the ecu is not detecting the key pad. Am i missing some streams to the ecu ? I see that you are sending an extra stream at 1805 but cannot understand the function of that.
Are you able to clarify this can stream ? I want to emulato the keypad B for extra inputs so that i can use them for light switch inputs to drive the headlights via PD16 and IO box A+B. The IO boxed i have pretty much fully working on arduino and esp32 with can interface.
https://user-images.githubusercontent.com/68022483/221391349-cc213dac-1dfd-4f1b-aacc-72f87b59b49e.mp4