Přejít na obsah
  • Aktuální cíle darů

Recommended Posts

  • O 2 týdny později...
  • O 2 týdny později...
Odesláno (upraveno)

Takže update, dodělal jsem převodník, napevno nainstaloval do auta a zjistil jsem, že se mi po vyndání klíčku ze spínačky a zamknutí auta stále budí panel klimatizace viz video. Zkratování pinů 4-5 a 17-18 je řešení? Piny 4-5 jsou na konektoru ISO B, piny 17-18 se nachází kde? Dále je tu ta komunikace VAN CAN přes Bluetooth terminál, je nefunkční... 

 

 

Upraveno uživatelem VojtouNerCZ
Odesláno

Špendlíky by měly být zkratovány na konektoru původního displeje (pokud jej chcete odebrat), a nikoli na ISO B. A / C přejde do diagnostického režimu, protože můj software z něj dotazuje vnitřní teplotu. Můžete ji zakázat ze souboru config.h (QUERY_AC_STATUS). Pro připojení Bluetooth nemám nápad. Můžete to vyzkoušet připojením ESP32 k vašemu PC pomocí USB a zkuste se připojit k bluetooth mimo auto. A také otázka týkající se tohoto: zkusili jste s jiným ESP32? Protože každý ESP32 má na obrázku jiné ID, jedná se o C88F. Možná to ale pochází z jiné jednotky, ale terminál Bluetooth zařízení uložil do mezipaměti zařízení se starým ID.

---

Pins should be shorted on the connector of the original display (if you are going to remove that) and not on the ISO B. The A/C goes to diagnostics mode because my software queries the internal temperature from it. You can disable it from the config.h file (QUERY_AC_STATUS ) For the bluetooth connection I don't have an idea. You can test that by connecting the ESP32 to you PC with USB and try connecting to the bluetooth outside the car. And also a question regarding this: have you tried with another ESP32? As every ESP32 has a different ID on the picture it is C88F. But maybe that is from another unit, but the bluetooth terminal cached the device with an old ID.
 

IMG_20191130_121333.jpg

  • O 3 týdny později...
Odesláno (upraveno)

Ahoj. Měl bych malou prosbu @morcibacsi

Mohl by jsi mi poslat přesnou kopii knihoven z tvého PC a dále zjistit verzi firmware ESP kterou používáš? Dostal jsem pár tipů že by tohle mohlo dělat problémy :) Díky. 

 

Hello. I have a little request @morcibacsi

Could you send me an exact copy of the libraries from your PC and find out the version of the ESP firmware you are using? I got a few tips that this could cause problems Thanks.

Upraveno uživatelem VojtouNerCZ
Odesláno

Ahoj,

Jaký máte problém?

Mám nainstalovaný Arduino v1.8.12 s balíčkem ESP32 v1.0.4. Nainstaloval jsem balíček desky na základě těchto pokynů: https://randomnerdtutorials.com/instal-the-esp32-board-in-arduino-ide-windows-instructions/ Knihovny jsem také připojil ze svého počítače (mám pouze tyto nainstalované ve složce Dokumenty) a nejnovější VanCanBridge ze stránky github. Toto nastavení pro mě funguje dobře.

---orig.eng.text---

Hi,

What problem do you have?

I have Arduino v1.8.12 installed with the ESP32 v1.0.4 package. I installed the board package based on this instructions: https://randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/ I also attached the libraries from my computer (I have only these installed in my documents folder), and the latest VanCanBridge from my github page. This setup works fine for me.

libraries.zip

Odesláno (upraveno)

Děkuji. Po práci vyzkouším. Problémů je několik. První je ten problém s CAN busem a odpojujici se ESP od telefonu. Další problém je, že pohyb v palubním PC nereaguje na stisk ale na delší podržení tlačítka ,což vede k resetu hodnot. A poslední problém je ten, že pokud na displeji svítí hláška o dveřích, chyba atd, tak  svítí tak dlouho ,dokud ji nepřepnu páčkou a dokonce to vede k tomu ,že pokud auto s tímto zamknu ,displej nepřetržitě svítí a nezhasne. 

 

Thank you. I will try after work. There are several problems. The first is the problem with the CAN bus and the ESP disconnecting from the phone. Another problem is that the movement in the on-board PC does not respond to a press but to a longer press of the button, which leads to a reset of values. And the last problem is that if the display shows a door message, an error, etc., it stays on until I switch it with the lever, and it even leads to the fact that if I lock the car with the key, the display is constantly turned on and does not go out till economy mode. 

Upraveno uživatelem VojtouNerCZ
Odesláno

Bluetooth spojení mezi telefonem a ESP32 by mělo být docela stabilní. Problémy však mohou nastat, pokud se znovu připojíte ručně (v tom případě se ESP32 v určitém okamžiku restartuje). Ale poté by to mělo být v pořádku pro několik spojení. Spolehlivost stisknutí tlačítka pro palubní cumputer byla problémem, ale byla opravena před několika týdny (vyžadovala novou verzi knihovny TSS463). Stisknutím tlačítka Next track a Previos track na dálkovém ovladači rádia získáte stejnou funkčnost jako řešení. Na vyskakovacích oknech se objevil i několik oprav od kolegy z Polska, takže to by mělo být v pořádku. Pokud problém přetrvává s knihovnami, které jsem připojil, as nejnovější verzí, můžete mi poslat nějaké záběry sběrnice VAN, zatímco tam jsou problémy, a pokusím se je prozkoumat. Chcete-li provést takový záznam, musíte komentovat (nebo odebrat) #define USE_BLUETOOTH_SERIAL řádek ze souboru config.h. Poté aplikace pošle pakety VAN na sériový monitor Arduino. V takovém případě musí být ESP32 napájen z USB portu (stejně jako při nahrávání firmwaru), ale 12V vyjmuto z desky ze strany auta.

---orig.eng.text---

The bluetooth connection between the phone and the ESP32 should be pretty stable. However issues can occur if you reconnect by hand several times (in that case the ESP32 will restart at some point). But after that it should be fine again for several connections. The button press reliability for the onboard cumputer was an issue, but it has been fixed a few weeks ago (it required a new version of the TSS463 library). Pressing the Next track and Previos track button on the radio remote stalk offers the same funcionality as a workaround. There was some fixes by a fellow Polish guy on the popups as well so that should be also fine. If the issue still occurs with the libraries I attached and with the latest version you can send me some VAN bus captures while the problems are there and I try to investigate them. To do such capture you need to comment (or remove) the #define USE_BLUETOOTH_SERIAL line from the config.h file. After that the application will send the VAN packets to the Arduino serial monitor. In that case the ESP32 must be powered from the USB port (just like when uploading the firmware), but the 12V removed from the board from the car side.

Odesláno (upraveno)

Ok. Your libraries + new version of SW fixed the button + now I got this :) But still as you can see on video. Tomorrow I will try VAN capture. 

 

Screenshot_20200518-191955.png

Upraveno uživatelem VojtouNerCZ
Odesláno

Zajímavý. Zkuste to s POPUP_HANDLER nastaveným na 1 a 2 také v config.h. A pokud dokážete tento problém zítra reprodukovat, pak data zachyťte, abych vám je mohl prozkoumat.

---orig.eng.text---

Interesting. Please try with POPUP_HANDLER set to 1 and 2 also in config.h. And if you can reproduce this issue tomorrow, then capture the data, so I can investigate it for you.

Odesláno

So I did it now because tomorrow i am probably going for new car, but i am not sure if this is OK :D I did what you wrote. Disconnect car 12V, connect device to car, connect arduino through USB to PC, uploaded file with commented //#define USE_BLUETOOTH_SERIAL.

Snímek obrazovky (52).png

Odesláno (upraveno)

Nastavte přenosovou rychlost na 500 000. A opakujte kroky, které jste provedli v předchozím videu. (Otevřete dveře1, otevřete dveře2, zavřete dveře2, zavřete dveře 1 atd.) A připojte soubor jako text.

 

image.thumb.png.48b51bbc044df9ad27485bc3721e9f10.png

 

 

---orig.eng.text---

Set the baud to 500000. And repeat the steps you did on the previous video. (Open door1, open door2, close door2, close door 1, etc...) And attach the file as text.

 

 

Upraveno uživatelem morcibacsi
Odesláno (upraveno)

Díky, že se na to podívám. Mimochodem, plánujete vyměnit auto za nové? Co dělat / model? Je to veřejné?

---orig.eng.text---

Thanks I will look into it. By the way are you planning to replace your car with a new one? What make/model? Is it public?

Upraveno uživatelem morcibacsi
Odesláno (upraveno)

I am not gonna replace, but my girlfrient will get a driver licence, so she will need some big car to drive our 4 kids, so I am gona buy old trustworthy 406 sedan, 1.9 td, 1995 for me. So the "new" world wasnt right :) It is going to be "old new" car :D But if I bought a new car, I would stay with Peugeot (or Citroën) and take a Rifter or Multispace

Upraveno uživatelem VojtouNerCZ
Odesláno

Aha, chápu. I když se chystáte vyměnit váš 307.

Takže jsem se podíval na přiložený soubor žurnálu, ale zdá se, že byly otevřeny pouze jediné dveře najednou. Nebylo to tak jako ve videu předtím. Bohužel je docela těžké replikovat podobné věci, takže musíme být trochu důkladnější. Potřebuji, abys byl mým „rozšířenýma rukama a okem“. Pokud máte čas, zaznamenejte prosím logfile jako předtím, zatímco nahráváte, co děláte v autě. Video, které jste nahráli dříve, bylo v pořádku, ale potřebuji záznam i video ze stejného času. Takže mohu „přehrát“ vaše snímky na mém počítači a zkontrolovat, zda to dělá to samé jako na videu, nebo zda dělá to, co musí udělat. Omlouváme se za nepříjemnosti, které lze tyto věci doladit. 😕

Hodně štěstí při získání auta.

 

---orig.eng.text---

 

Ah I see. I though you are planning to replace your 307.

So I took a look on the log file you attached, but it seems that only one door was open at a time. So it wasn't exactly like in the video before. Unfortunately it is pretty hard to replicate stuff like this so we need to be a little bit more thorough. I need you to be my "extended arms and eye". If you have time, please capture a logfile like before, while you are recording what you are doing in the car. The video you uploaded before was fine, but I need the capture and the video from the same time. So I can "replay" your frames on my computer and check if it does the same thing as on the video, or it does what it needs to do. Sorry for the inconvenience these stuff is pretty hard to debug. 😕

Good luck on getting the car.

Odesláno

I am 100% sure that i opened both front doors :) I'll do it with the video next time. And it is OK :) Those cars are so different even if it comes to pre-facelift with VAN (I have 2002, which means the oldest technology, oldest and stupidest BSI...) that it could be even problem in compatibility. 

Odesláno

Nahrál jsem novou verzi PSAVanCanBridge, která zaznamenává zprávy, které obsahují chybu CRC. Možná nám to pomůže ladit. Pokud zachytíte pakety, použijte tuto verzi.

---orig.eng.text---

I have uploaded a new version of the PSAVanCanBridge which logs the messages which contain CRC error maybe that will help us debugging. If you capture the packets, please use this version.

Zúčastnit se diskuse

Můžete odpovědět a až poté se registrovat If you have an account, sign in now to post with your account.

Návštěvník
Odpovědět na toto téma...

×   Byl vložen obsah s formátováním.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Kdo si právě prohlíží tuto stránku   0 registrovaných uživatelů

    • Žádný registrovaný uživatel si neprohlíží tuto stránku
×
×
  • Vytvořit...