-
Notifications
You must be signed in to change notification settings - Fork 64
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
Connect with Honda #5
Comments
Yes, as you may have read the library is not ready for Honda, yet. |
great, |
@man-go1 if you can double-check this sequence:
I can write a code for you, I will check with my logic analyzer and then I will send it to you |
i think so. what i did( see below) and i get a succes back. //initialise communications resState = BUSY;
} |
where does your code stuck? |
This part is okay. But I can’t get info out of tables. |
can you post what are you getting from the ECU? |
hi, now i just need to implement it with your code. `*/ //Status Flags // default variable //initialise communications messages //get info from ECU VFR Specific // needed to calculate checksum void setup() { } void loop() { unsigned long startedWaiting = millis();
} } } // Simple check the response to debug terminal //initialise communications resState = BUSY; byte getResponse(byte *rbuffer) { // After a request is send the timer is set
} this is the Result from the serial interface: Starting initialise Honda |
okkkk we have a starting point I can write some code about it but I need some explanation:
can you check if this is correct and fill the part that I don't know? |
hi, as i have learned. is this step an initialise: |
Okkk, in the next days I will write the code. Actually, it is something bad that the ECU doesn't answer back. We can't know if the initialization has gone well 😔 Can you give me a few samples of the data the ECU return when you send the table 16 and an explanation of them? For example I see that the rpm are between byte 4 and 5 |
If you have some other code to look at response I’m happy to try. But I can’t get a response back. About the other question. uint16_t varY = resbuf[5]; |
good news! I wrote the code and put it on a branch: https://github.com/aster94/Keyword-Protocol-2000/tree/honda I tested it with a logic analyzer and it looks good. You may wish to double-check it with https://sigrok.org/wiki/Downloads this is the file honda.zip a few example: send: 0xFE, 0x04, 0x72, 0x8C and wait 200ms send: 0x72, 0x05, 0x00, 0xF0, 0x99 send: 0x72, 0x07, 0x72, 0x16, 0x00, 0x06, 0xF9 (table 16) Also here there are a few other questions:
Please before trying the above code on your motorbike answer these questions |
Tnx, Will check tomorrow. 👍🏻 |
@man-go1 did you had time to check it? Any update? |
Hi, I don't have enough kwonledge about this, but I found this, maybe it could be help you to finalize the code :
|
Hi @Maximouss89 which motorbike do you have? The sequence is a little bit different (but still very similar) to the VFR 2010 of @man-go1 |
Hello, I have a 2010 - CBR1000RR. I would like to learn how to interact with my CBR and arduino |
If you have the code, I could try to test if code works. |
ok, which arduino board? do you have a board with 2 or more serial port? |
I have an Arduino UNO and Nano, but I could use other pins (10 an 11 for example) and SoftwareSerial Library right? |
hi there,
From my experience software serial is not good, often uses timers used by
other libraries, go for mega.
cheers
…On Mon, 26 Oct 2020 at 21:15, Maximouss89 ***@***.***> wrote:
I have an Arduino UNO and Nano, but I could use other pins (10 an 11 for
example) and SoftwareSerial Library right?
If it's necessary I'll buy a arduino mega.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKOIO3ENDOTIOBY7Z3YH45DSMVY6LANCNFSM4MZD46HA>
.
--
With Best Regards
Bartek Chrzanowski
mobile UK: (+44) 0 757 099 8842 <%28%2B44%29%2007570998842>
*e-mail: [email protected] <[email protected]> linked-in:
Bartek-Chrzanowski
<http://www.linkedin.com/pub/bartek-chrzanowski/33/121/987>*
( https://uk.linkedin.com/pub/bartek-chrzanowski/33/121/987 )
*-KJM-*
|
Yes, you can use a software serial but an hardware one would be better. I don't want you to spend this extra money for now, we can just try the software serial on the arduino Uno/nano and see if it will work In reply to @BartasCh I do agree that the soft serial is not good but we can run a test P.S: sorry I closed the issue for mistake |
Which board has 2 or more serial port ? I found : Arduino MEGA, et ZERO, right? Arduino Zero use 3.3V, doesn't matter? |
Yes, and also the arduino-compatible board like the stm32f103 as the bluepill |
I'll have a STM32F103 board tomorrow it's good 👼 |
yes these are my favourite boards! the ratio between price and power is awesome, I usually use them |
Hi, byte wakeup[]={0xFE, 0x04, 0xFF, 0xFF}; void setup() { void loop() { |
if you want you can use the library sorry but I can't check your code |
Hi,
Want to readout my bike using an Arduino.
I used some code to connect to it. But I can’t do anything past the handshake.
So I want to use you library. Can you help out?
The text was updated successfully, but these errors were encountered: