morcibacsi / PSAVanCanBridge

VAN - CAN protocol bridge (V2C) for cars made by PSA Group (Peugeot, Citroen)
GNU General Public License v3.0
116 stars 27 forks source link

Compatibility question #23

Closed Marc-- closed 1 year ago

Marc-- commented 3 years ago

Hello,

Thank you for your amazing work !! It'll help me a lot with my project, but a have some questions if you have time to answer it.

I own a 2004 VAN 307 (Navtech). My EMF Type CT was dead, so i remove it and the RT3. Now, i use a non PSA stereo, and can't read the car messages anymore (fuel autonomy, open doors, engine problems etc...).

My plan is to buy an EMF Type C screen, build your converter, and hook it up on the VAN network.

Did i miss something ? As i don't use a PSA stereo, i think i won't be able to configure the screen.

I'll now read again the hardware part and try to find the components !

morcibacsi commented 3 years ago

Hi,

You are right, without a PSA headunit, you won't be able to setup the display. I have another project which hosts a webpage on the ESP32. You can connect to it with your smartphone and adjust the date and time, change between the display modes. You can find it here: https://github.com/morcibacsi/PSAWifiDisplayControl In theory it is possible to merge the two projects into one, but haven't had the time to work on it yet.

Marc-- commented 3 years ago

Thanks for your reply. If i'm correct, even without the PSA headunit, i'll be able to see the messages on the display, as they are send on the VAN network by the BSI (i don't know if it's the good name in english).

I've just received a type C screen, PCB's are on the way as the smd components. I'll also check your "configurator" for the screen.

Thanks for all your work.

morcibacsi commented 3 years ago

Yes, there is no need for the original headunit or display. The messages are there, so having my board and the new display alone works.

Marc-- commented 3 years ago

Hello, components soldered, just need some cleaning on smd chips.

I've a question about R5 / R6 values. On the BOM you wrote "10k" and below "4.7k". What is the good value ? I soldered 4,7k and i don't have 10k in stock :( 2021-08-27 00_16_56-morcibacsi_PSAVanCanBridgeHW at v1 4

morcibacsi commented 3 years ago

It is 10K (also fixed on the page, thanks for spotting that). Btw don't bother building the full board, it was never tested. The minimal setup works just fine for almost 2 years now in my car.

Marc-- commented 3 years ago

Hi there, i finaly found some 10k smd in my garage ! Everything is wired and, great news, no smoke on first test !

But the screen stays black. I'll check wiring again, mine is a little different as my 307 is a "Navtech" wich was equiped with a RT3 (Fakra Quadlock connector on car side).

If i power the screen only with GND and +12v, is it supposed to turn on, or do i need to send something on the CAN pins, with your PSAWifiDisplayControl for exemple ? (I forgot to order a SN65HVD230...)

Edit: Ok after some researches, the screen need a wake up signal from the CAN bus. So it is very likely a bad soldering job and / or a bad upload on the ESP32 as the screen is powered with +12v.

As i order 5 PCBs, i'll solder a new one with only the minimum components.

morcibacsi commented 3 years ago

Hi,

Yes, it does need a wake up signal. For a quick test you can use this project:

PSAWifiDisplayControl

Make sure to uncomment this line, so the board sends the required messages. https://github.com/morcibacsi/PSAWifiDisplayControl/blob/master/Config.h#L21

Marc-- commented 3 years ago

Hi, finished the soldering of the second board. This time only the minimal components ! And it works ! Thank you a lot !

Do you have a paypal adress ? I'll like to send you a little something for the time you spend and the sharing of this project !

Some minor changes, the step down converter died, so i replace it with a LM7805 that was laying around.

Now i will try to find a way to add the "Wifi controler" programto this board, as all the 4 SN65HVD230 i bought are defective :/

My goal is to activate wifi for the first 5 minutes, so i can configure the screen just after powering the board, and then cut it. 1631870038570

morcibacsi commented 3 years ago

Thank you for the update, glad you suceeded :) It is always nice to see when people implement my project. My paypal address is the same as my email address (pinterpeti@gmail.com), however I didn't make the project for profit. But of course if you feel like donating, it is welcome :D It gives motivation to keep improving the project.

Unfortunately those SN65HVD230 transceivers aren't that reliable. At least in my experience from 10 pieces there are more defectives than working ones. In later designs I replaced them with MCP2551 and TJA1040/TJA1050 and the like.

Creating a wifi controller inside this project is a long-planned feature, I just haven't had the time to implement it :( So feel free to experiment with that, as currently I am quite busy with real life matters.

Chaozzmax commented 3 years ago

Hi, finished the soldering of the second board. This time only the minimal components ! And it works ! Thank you a lot !

Do you have a paypal adress ? I'll like to send you a little something for the time you spend and the sharing of this project !

Some minor changes, the step down converter died, so i replace it with a LM7805 that was laying around.

Now i will try to find a way to add the "Wifi controler" programto this board, as all the 4 SN65HVD230 i bought are defective :/

My goal is to activate wifi for the first 5 minutes, so i can configure the screen just after powering the board, and then cut it. 1631870038570

i'm waiting for this additional program :-)

now i'm using 2pcs esp32, 1 for Van2Can program and another esp32 for wifi control wifi control just for setting in the beginning