-
Notifications
You must be signed in to change notification settings - Fork 5
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
Missing g_dev in stable branch #2
Comments
Hi Shtutnik, I already replied via E-Mail, but I'll be answering here, too ;) So yes, you are right, I removed some debugging code and seems like I discarded that line by accident. I added it back in master, but I should probably port that change to stable. You can either add that line locally, or just try using the master branch. While it should not wreck your hardware, it is not guaranteed to emulate MD/CD or even build. But I believe the state here on github should be fine (haven't worked on it/pushed in a while). Sadly, I am a bit stuck (even though I got an extra head unit to tinker with on my desk), and I can't figure out why the HU seems to hate me - having no documentation makes this really difficult. |
Hi, |
I am not an electrical engineer, only a software guy. So I just wired it up directly. Maybe due to my extra step-down converter I have less noise, or my board might be just less noisy. Or I am simply lucky, but it works that way (but might be the reason why I am unable to send? Will check). But IIRC putting a 100 Ohm resistor on the three Melbus lines should improve the signal (in line, Arduino PIN -> resistor -> HU). Others are doing this, so you should try it, too. Also, due to your post I took a look at http://gizmosnack.blogspot.de/2015/11/aux-in-volvo-hu-xxxx-radio.html again, and there is some fresh code which seems to send. Soooo, maybe I will be able to improve after all, using that code as a Melbus-Reference :) |
I see.. well actually that is a bit weird.. Anyway, I will do what you suggested with the resistors. Actually I am powering the arduino from the USB port of my laptop and not from the HU because the HU gives me 9V and I didn't think that it matters. But I will try using a step down converter and use the USB only for serial debugging and see if that helps. I really think that your code is correct and does manage to send commands back since I saw a lot of code which tries to "talk" MELBUS and I think you have it right. But we will have to keep on trying our luck I guess.. I'll write back once I do more testing |
Hey,
Just wondering if this is on purpose or not.
The stable branch seems to be missing "g_dev = &(g_devices[i]);" line in protocol.h
Is this on purpose?
There seems to be other stuff missing the the stable branch.
Should I just use the master branch instead?
Thanks! Really appreciate this project! 👏
The text was updated successfully, but these errors were encountered: