-
Notifications
You must be signed in to change notification settings - Fork 5
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
Not connected #8
Comments
Hello. Thank you for your feedback. First of all, if you are going to use altserial, you should not change the pin numbers, so it should stay that way.
|
And you cant use AltSerial with Wemos |
If you are using Wemos I think there is no way to see the data in the serial monitor because Wemos only has one UART and you have to use it to take data from your car. The two cannot work simultaneously from one wart, both taking data from the car and printing it out in the serial monitor is not possible. |
You need to delete the Serial.print and Serial.ptintln codes everywhere, also everything about AltSerial and declare the pins like this:
|
Thx for your answer, So how can i monitor the result? |
In screen or in webserver |
I made a code for ESP8266 you can test this code. but first you need to upload the web page to the file storage (SPİFFS) |
thx for the answer, I have no experience in coding displays and web servers, what about 13 & 15, those are rxd2 and txd2, can I use them? |
OK, if you don't mind, I'll try it |
İf you dont know how to upload data to SPİFFS you can check this link: https://randomnerdtutorials.com/install-esp8266-filesystem-uploader-arduino-ide/ |
OK, it's as easy as the ESP32 I've tried |
tomorrow I'll try to connect to my car |
I'm glad everything is going well so far 😊. Write me back after you test it with your car. |
how do i check it? |
|
|
On obd2 i have pin 4, 5, 7, 9, 16 |
İO3 and İO1 are the RX and TX pins, are you using them because people sometimes confuse and use D3 and D1. If everything is correct, try changing the protocol from the settings page first to İSO14230 Fast and then to İSO9141. |
The bad thing is that without a serial monitor it is very difficult to understand the problem. I had tried a WebSerial but it wasn't very good. if you still have problem i will make a WebSerial code and you will try it for debuging. |
I'll try change the protocol setting tommorow, thx for your help |
That's why I asked you the first time because I wanted to check this car with a serial monitor, whether my car could be detected or not |
No problem i will help you until it works. Do you have an Arduino Uno or Nano or ESP32 with them you will be able to find out what the problem is more easily because you will also have a serial monitor. |
Thx friend, i have ttgo tdisplay & arduino promini |
Did you manage to read the data? |
I use arduino pro mini |
I tried it and I had the same problem. Change the protocol from Automatic to İSO14230_Fast and it will work. The problem is when the protocol is on Automatic. I'll fix it today. |
Just use this code and everything should work for you. |
Ok my friend thx, i'll try tomorrow |
|
still 0 |
Hmm, now your car is responding but with an error. Could you please try the same code with İSO9141 protocol and send me a screenshot again. To find out if the protocol is correct. |
FYI i have try elm327 bluetooth to scan my car but just DTC working, the live data not working, the protocol detect iso14230-4 Ok i'll try iso9141 tommorow |
It is strange that it shows only DTCs. If it says the protocol is ISO14230 and shows DTCs, then the protocol should be ISO14230, but you can still try ISO9141 in my code. And yes uncomment line String protocol = "ISO9141"; and comment other protocols. |
Hello friend, i try the basic code with my wemos d1 mini n transistor BC547 but did't work
This is the result
I just modified little code
#include "PIDs.h"
//#include <AltSoftSerial.h>
//AltSoftSerial Alt_Serial;
//#define K_Serial Alt_Serial
/////////////
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
// SCL GPIO5
// SDA GPIO4
#define OLED_RESET 0 // GPIO0
Adafruit_SSD1306 display(OLED_RESET);
#define NUMFLAKES 10
#define XPOS 0
#define YPOS 1
#define DELTAY 2
/////////////
#include <SoftwareSerial.h>
SoftwareSerial Alt_Serial;
#define K_Serial Alt_Serial
#define K_line_RX 12
#define K_line_TX 13
#define Led 2
The text was updated successfully, but these errors were encountered: