hi
My 'goal' would be the following:
When locking the door on an Astra J, the windows should automatically close.
and a few other functions that are based on an 'if this, then do that (or don't do that)' principle.
Ideally, program an Arduino with a CAN adapter that is connected to the OBD port.
Here's what I know:
- Programming Arduinos (though I have no experience with CAN).
- Theoretical knowledge of how CAN (Controller Area Network) functions.
- Electrical knowledge (trained electrician)
- Basic knowledge of Opel systems, including the three bus systems: Low Speed, Mid Speed, and High Speed, and which ECUs (Electronic Control Units) are connected to each. I don't know the specific IDs or other details.
- Good understanding of technical concepts and logical thinking; I grasp such things relatively quickly.
- very good at searching on Google
What I'm missing:
- Practical experience with CAN (Controller Area Network) technology.
- How I should best approach this.
What do you think, is something like that even feasible, or would I inevitably fail because the effort required to write on the bus is too high?
My thought is:
I'm monitoring the bus signals, pressing a button, and then hoping to see what was just sent in the message logs. I then send that same data using my controller to the bus, hoping that this function will also be executed.
So, as a practical example:
My 'logger' is connected and reading data. When I press the 'close window' button, it logs the information about closing the window. The same applies to locking the car; then, a simple 'if-then' program runs on the Arduino, and that's it.
Am I oversimplifying this, or should it be possible to do it this way?
Best regards,