I have been wanting to add a feature to my car for a long time its currently an Audi A5 2.0 TDI. I am getting rid of it in the next few weeks and purchasing a new Peugeot e-208. I would like to continue the work and see if I can interface to the new car.
I've printed a bracket for my project which as I mentioned was designed to fit the rear windscreen of the Audi, I will probably need to re-print for the Peugeot. The printed item is a bracket that will fit at the top of the rear windscreen. It holds three rows of RGB neopixels that are connected to a micro-controller. I have various CAN-BUS boards and cables but so far I haven't been very succesful at all in interfacing to the CANBUS. Can I use the resources and products hear to achieve this?
I want to pick up and act on the following:
Left / Right indication
Reverse
Brakes
Lights, both side lights and normal lights.
Then depending on which signal is detected my system will create an animation sequence displayed on the three rows of RGB LED's. I started work on this quite a few years ago and its been an on and off project which I've revisited several times, my work was done before Volkswagen, Audi and others started producing LED animations in there cars....
Here are some videos of what I've done on YouTube:
Thank you,
Can anyone tell me if what I want to do is possible with the tools available here?
Yes, that would be possible. Reading vehicle status information via CAN and making that available for further processing is what the OVMS is about.
You will need to decode the Peugeot e-208 CAN bus first as there is no vehicle adaptation for that car yet.
The OVMS can assist in that task as it contains a range of tools to analyze and/or help analyzing CAN communication. It makes accessing the CAN bus(es) of a car very simple, and adding a new vehicle adaptation is also quite easy. There are some templates you can use and we'll help you in the process.
Use the developer mailing list for this, this forum isn't meant for developer support.
I recommend checking if someone has already decoded the e-208 CAN communication scheme, if so you would only need to implement that.
Regards,
Michael
Thank you Michael, other than this post what else could I do to explore or find out if someone else has done this?
I've already spent quite a lot of money of various shields, cables and can interface modules, I've also got a CAN-Crocodile, so far all attempts at getting any data from CAN bus have failed.
Most vehicles use high level communication protocols & CAN gateways, so you can't just read the data from the bus but need to query information by sending specific requests.
The OVMS implements the most common protocols (ISO-TP / OBD-II UDS, CANopen, VW TP 2.0) and comes with tools to support detecting and testing devices using these protocols.
I've written some intro on this here: https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/255#issuecomment-835379478
Thank you, I'm very new to this site, is there somewhere I get a background / understanding of what OVMS is about, what it is and the options?
Hi Splatten
I can't directly help you but I can tell you that Italian company Powercruisecontrol has cracked it because they have an OBD-II adaptor + Bluetooth ELM canbus that works on electric Peugeot cars (I have an E-Expert and basically it's the same architecture for all electric Peugeots and other brands owned by Stellantis, ie Opel, Vauxhall, Citroen) using the CMP2 platform. Their app, which is very useful, tells you the real state of charge, 12V battery voltage, temperatures and individual cell variance on the 400V traction battery pack plus what you're likely to have at the end of your journey. However it doesn't give you other info that you are looking for including fault codes etc and I haven't managed to get this adapter recognised by other apps like Torque. As a commercial company they may not be interested in helping you but you never know! But I'd get their adaptor for Peugeot as a starting point (this swaps a couple of wires to make it work with their ELM Bluetooth unit). If you get anywhere let me know!
Max
Thank you Max, what is OVMS ?
Sorry, doing my research now on https://www.openvehicles.com/aboutus
Is it permissable to purchase the hardware, figure out how it does what it does then use the elements that I require to recreate a cut down version that does exactly what I want to do? The reason for this is price for my project needs to be less than the price of the OVMS hardware.
We are completely open source hardware and software. You can do whatever you want with it (within the limits of the open source license).
If you just need a single CAN bus and microcontroller (no modem, gps, etc), then you could certainly build something based on ESP32 WROVER module and use cut-down OVMS firmware.
Thank you, I will certainly look into this.
Last year, I was involved in a terrible accident, my Peugeot e-208 was a complete loss, a BMW turned right across the Dual Carriageway with no signal, I hit the BMW at 40MPH, my car was a complete right off. I now have a Tesla Model 3. I have created a new post today as since owning the Tesla I have progress much further, but am still trying to identify specific CAN-BUS messages.