Jump to content
Looking for Staff Members

Me78569

Unpaid Member
  • Joined

  • Last visited

Everything posted by Me78569

  1. lol that's a new way to post. Any codes? White / blue smoke is typically oil. How thick is the smoke? Hows your turbo doing?
  2. read the realtime values for the IAT with the switch in off position.
  3. Jacob built all new units to fix the old issues. I still wouldn't suggest you jump start without unplugging it, but it should be much better now.
  4. We will make sure you know about the next run. I have 50 more switches on my desk ready to go, but we are waiting for the harness's.
  5. edge is more plug and play, quad can tune somewhat. You can make different tunes to make it run diferently.
  6. So it appears that the elm327 isn't talking to the truck. :banghead: If I use the elm327 via bluetooth to my laptop I can send the serial command "atsp0" through terminal and get a response from the obd saying "ok" which means I know the protocol and how to talk to the truck. If I do the same thing via the arduino nothing ever happens. Via the laptop I can spit commands at the truck all day long, arduino.... nope. I must be talking to the elm327 wrong.... from the arduino. time to read the elm327 datasheet....ugh Edit, well I feel dumb......I was issuing the commands without "\r"........I was hitting Enter on the laptop for the truck to talk......... Time to see what I can do now. Yep, adding \r to my serial print or using serial.println("atsp0"); works. I am not talking with the ecm. Still speaking french in terms of what I want, but communication is the first step.... #include <LiquidCrystal_I2C.h> #include <Wire.h> LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); int line; void setup() { // put your setup code here, to run once: Serial.begin(38400); lcd.begin(20,4); char data[20]; lcd.setCursor(0,0); lcd.print("Starting OBD Link"); delay(1500); lcd.clear(); Serial.flush(); lcd.setCursor(0,0); lcd.print("Sending Serial"); Serial.print("atz\r"); //tells the elm327 to reset delay(1500); lcd.clear(); if (Serial.available()) { lcd.setCursor(0,0); lcd.print("serialisthere"); delay(1000); line = Serial.read(); lcd.clear(); lcd.setCursor(3,0); lcd.print(line); delay(1000); } lcd.clear(); lcd.setCursor(0,0); lcd.print("Sending Serial"); Serial.flush(); Serial.print("atsp0\r"); //tells the elm327 to auto find protocol. delay(1500); if (Serial.available()) { lcd.clear(); lcd.setCursor(0,0); lcd.print("serialisthere"); delay(1000); line = Serial.read(); lcd.clear(); lcd.setCursor(3,0); lcd.print(line); delay(1000); } Serial.print("ath0\r"); //set echo off delay(1500); Serial.flush(); lcd.clear(); } void loop(){ //you code here } there the setup code to connect an arduino via TX/RX ports to a ELM327 and making it connect to the dodge ECM. Remember it is returning bytes so it doesn't make sense, but I am working on it.
  7. Alright Cowboy, I hope you can help me out here. I got my loop time down to 56 ms (which includes a 50ms delay) so 6 ms. but I am not reading anything from the obd port. Code is void loop() { time_start1 = millis(); timer++; Serial.flush(); SentMessage = "01 11"; Serial.println("01 11"); delay(500); //while(Serial.available() != '\r'){ if (Serial.available() > 0){ if (SentMessage=="01 0C") { WorkingString = BuildINString.substring(7,9); A = strtoul(WorkingString.c_str(),NULL,16); WorkingString = BuildINString.substring(10,12); B = strtoul(WorkingString.c_str(),NULL,16); DisplayValue = ((A * 256)+B)/4; lcd.setCursor(5 , 0); lcd.print(DisplayValue); } //else {Serial.flush();} //Throttle position if (SentMessage=="01 11") { A = Serial.read(); //WorkingString = BuildINString.substring(7,9); //A = strtol(WorkingString.c_str(),NULL,0); DisplayValue = A; //DisplayString = String(DisplayValue) + " % "; lcd.setCursor(5, 1); lcd.print(DisplayString); } //} } lcd.setCursor(0,2); lcd.print(timer); time_finished1 = millis(); time_elapsed1 = time_finished1 - time_start1; lcd.setCursor(5,3); lcd.print(time_elapsed1); } Issue is that I see that I am sending the command out "0111" which means to our trucks give me the tps reading. but I am not seeing anything come back. I think my issue is that A = Serial.read(); isn't grabbing any data. I can communicate with the truck directly via the scanner and terminal program so I know the truck responds with an answer.
  8. we expect the next run hopefully within the month or two max.
  9. I like mine, always have. I can tune a lot of the smoke out of my driving with it.
  10. Yep they have been for a few months. Jacob is handling it well.
  11. Yea, to ready my sensors takes 2ms when they are wired to the arduino directly. I read them one time per cycle then advance to the next sensor so each sensor gets read once every 5 times the program runs. I might end up with another arduino reading the canbus, I wanted to go with an arduino DUe but it is only 3.3 v vs 5v so I couldn't run the sensors off of it.
  12. Here's a Great triple step song
  13. Yes, but I really want to avoid having wires all over the engine bay waiting to get caught up in something or whatever. Plus each Connection to a sensor takes another wire, plug, a pin on the arduino. If I can read 5 or 6 sensors from the OBD I can free up a ton of wire, and connections. UGH, another update, my shaft speed RPM stopped working today. time to chase wires.
  14. Go with an 8. The heat exhanger users an 8 the cooler is just 1/2" so just use hone clamp. The side of the trans uses1/4" thread.
  15. You can use a wire terminal eye to crimp onto the TV cable. Works (yes I said works) for me lol. It's good enough to get you going.
  16. Well some bad news. I did get the ecm info ported into the arduino. HOWEVER it takes FOREVER, to read the RPM value from the ecm takes 175 MS. I know it doesn't seem like a lot but in terms of calculating Turbo shaft speed at 140,000 rpm that 140 ms might as well be 20 years. Not sure where to go from here. I might test another method of talking with the elm327. I need another set of eyes on this lolol.
  17. Wow, If they can do a ECM we might be able to send them a ton of business.
  18. Well another snag. The reader I got supports 250k29b canbus but not j1939...... ugh. so it is junk. Now I am looking to connect my OBD reader to the arduino and send AT commands to the PCM to read, RPM, IAT, ECT, TPS, and load. I can use the computer to talk to the ecm Via terminal program, so I know it is possible to do. Working through the arduino code to send and receive AT commands using serial pins 0 + 1 on the arduino at the Baudrate 9600. Not going as smooth as I would have hoped, but making progress. The key to all of this is we are able to communicate with the PCM via the ELM327 using AT commands In short on the arduino / terminal serial.print("atz"); tells us the 327 version serial.print("atsp0") connects the 327 serial.print("0100"); returns a list of PID's that we can read / supported. 01 is the canbus mode, 00 is the command serial.print("010c"); will return engine RPM in HEX via 2 bytes. use rpm= ((values[0]*256)+values[1])/4 to convert to rpm. Anyways it is getting there, just have to get it all into the arduino and see if i can read data in a timely manner from the pcm.
  19. I would agree with Moparman, the recent trend of news that travels as quickly as it does makes the world seem like a terrible place no matter the day. No doubt things are getting worse, people are angrier, etc etc, but I think a lot of that might be driven by the news. People that are wanting to be angry, or have a lot of negative thoughts they hold in will tend to grab onto anything bad going on and use it as an excuse to be who they want to be. I feel like they think to themselves " this worlds gone to crap so why should I be good?"
  20. Nice, Only took a month to get it installed? lol
  21. New toy in the mail.... Woot time to slap in the obd code and see what I can read.
  22. Nope the biggest perk to the projectors is the extremely wide beam of light. the halogens do a better job of the throw of the light.