Skip to content
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

What am I do wrong ? #4

Open
jacoqq opened this issue Oct 26, 2023 · 1 comment
Open

What am I do wrong ? #4

jacoqq opened this issue Oct 26, 2023 · 1 comment

Comments

@jacoqq
Copy link

jacoqq commented Oct 26, 2023

First of all: Luuk great work, congrats.
I'm not programmer, it's only my hobby. I own Volvo S60 with RTI and I did all step by step. I use: MCP2551, ESP32-WROOM, Logic converter 3,3-5V and RPi3B+ with Crankshaft auto. Yes I know, I should use Open Auto, like luuk do, but Crankshaft is free soft and I change it when everything will work. Relays and camera is not used temporary till it all wok. Everything is connected according to diagram. ESP and RPi has 5v power, composite video is connected directly to RTI pin10, pin7 to GND, and pin4 via logic converter to ESP TX2. MCP2551 is connected to OBD socket pin 6 and 14. Unfortunately nothing happend. The RTI won't rise, steering wheel buttons do nothing, connected phone do nothing, put the car in reverse gear do nothing.
When I connect ESP to PC serial monitor on Arduino UNO shows me only something like this:
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:1344 load:0x40078000,len:13964 load:0x40080400,len:3600 entry 0x400805f0 Volve~V1 luuk.cc ,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x05 ,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00
I don't know if it's good or not. I don't know how to listen ESP.
One more thing. There is a EventMonitor, but luuk don't explain what to do with it. Where do I need to put this scripts ? What is it for ?
Is there anyone know what to do please help, I'll be grateful.
Sorry for my english, i do my best.

@felazuris
Copy link

I would start debugging with checking that CAN messages are being received, for that you could print out received can messages to serial. If no messages are received, then it will not see if you are pressing buttons on steering wheel or putting gear lever in reverse to raise up display.

To check if connection to display part is correct you could use simplest code that sends command to rise display i.e. here - https://github.com/laurynas/volvo/blob/master/arduino/rti_serial/rti_serial.ino

Event Monitor script is thing that needs to be running on Raspberry Pi, it listens for serial input on Raspberry pi side and if receives commands from ESP then does some action, like, moves, etc. In my setup I configured EventMonitor as service which will be automatically started when Pi boots up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants