Search results

  1. J

    Teensy 4.0 / High Voltage Heater

    That would make sense. I tried to lin.read this ID but get the error that this is PRIVATE. Not sure if that is even possible :)
  2. J

    Teensy 4.0 / High Voltage Heater

    Not sure if it matters, but when I turn off 12V power to the heater and then turn it back on, here is the reading on ID 23 over the first few seconds: orderID:34,responseID:23,CRC:255 254,255,255,255,105,32,8,0 orderID:34,responseID:23,CRC:255 0,32,0,0,72,32,8,0...
  3. J

    Teensy 4.0 / High Voltage Heater

    Yes, I did this. I removed the lin2x from the lin response commands to test out classic checksum and it did not change the response. Could it possibly be the delay timing? I have been using either a delay (10) or delay (20) because of the LDF file schedules: Node_attributes { HVH_100{...
  4. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. I wanted to keep you updated on my progress with the HVH50 from the Chrysler Pacifica. Now that I am getting more comfortable with the coding and trying to incorporate what I have learned about what the slave is looking for and some of the clues from the HVH100 LDF, I created a new...
  5. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. I am now convinced I got hear through dumb luck and wish to re-create it but with solid understanding and the ability to re-create it on command. I went back to the beginning and followed all of our steps again. This time, I used the the scope to help me. At this point, I have...
  6. J

    Teensy 4.0 / High Voltage Heater

    Thanks for that explanation Paul. I was considering whether the HVH100 LDF file could be used for our purposes, but I think you are saying that the HVH50 programming may be completely different, so without the HVH50 LDF file, I am stuck with trial and error on the order command within those 4...
  7. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. I saw your comment about the Github fix that is needed for the bit shifting. Thanks! Also, I am embarrassed to say that the heater has not been working again and I am having trouble recreating the results I got on 3-3. I wanted to ask this question. In the PDF manual, it...
  8. J

    Teensy 4.0 / High Voltage Heater

    I HAVE HOT WATER!!!!!! So I went to bed last night thinking about what I was missing and woke up with the thought that there might be info hidden in DATA[0] since DATA[1] was used to calculate temp and I recall Johan mentioning that the on status would be in byte 0, so I modified the code to...
  9. J

    Teensy 4.0 / High Voltage Heater

    Thanks Paul. I changed up the code to print out each of the numbered data lines [1]-[8] and this is the printout: 61,0,0,61,192,0,100,1 61,0,0,60,192,0,100,0 61,0,0,60,192,0,100,1 61,0,0,60,192,0,100,0 61,0,0,60,192,0,100,1 61,0,0,60,192,0,101,0 61,0,0,60,192,0,100,1 61,0,0,60,192,0,100,0...
  10. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. Unfortunately not so. I am only testing one of the heaters at the moment and will try the other two today, but on the one that was returning 0s at ID 39, here is what I know at the moment. 1. On the linbus.cpp file, I modified this line per a Github suggested change from 2023...
  11. J

    Teensy 4.0 / High Voltage Heater

    OK! So I reinstated the original Open Inverter code with some modifications and hooked everything up to water, 320V and 12V and ground. I had the controller run through all IDs on the lin.order command and used ID 39 for the lin.response, since this is the only ID that does not return -1...
  12. J

    PTC Heater Programming Help / Arduino Teensy 4.0

    I am renaming the forum that actually has more information about this topic, so please continue at this post . . . https://forum.pjrc.com/index.php?threads/teensy-4-0-high-voltage-heater.74432/
  13. J

    PTC Heater Programming Help / Arduino Teensy 4.0

    I was reviewing that as well. Of course, it is the earlier version of lin (lin 2.0), so not sure if that changes the lin2.x checksum or it would be same. Hopefully not, but I would assume the manual is accurate as a framework and the only changes would be their choices of which IDs to use and...
  14. J

    Teensy 4.0 / High Voltage Heater

    Sorry, this started as a thread about the serial plotter issue I was having on a high voltage heater. I renamed the post.
  15. J

    Teensy 4.0 / High Voltage Heater

    I tested all 3 of my HVH heaters and on all three of them at 19200 baud, at ID 27 (HEX), it finally popped some response when sending a brute force write to all of the IDs using 1,85, 0, 8. FF down the line on all other response ids, but Heater one returned a 0 at ID 27(HEX) Heater two returned...
  16. J

    Teensy 4.0 / High Voltage Heater

    I converted back from Hex to Decimal to make it easier for me and when writing to all IDs but letting the response go through ID 39, I see that the data comes through as follows: 0 0 62 0 124 61 80 0 207 0 0...
  17. J

    Teensy 4.0 / High Voltage Heater

    I am not sure about a response from 0x27 but will look. Thanks for the time and have a nice evening. I will play around some more, but glad there is some communication I suppose . . . Here is one more frame I caught.
  18. J

    Teensy 4.0 / High Voltage Heater

    I just pasted your code and ran it. I did comment out the lin.order command.
  19. J

    Teensy 4.0 / High Voltage Heater

    Since we are taking any lin.response, isn't it possible that the 0x3C and 0x3D are giving us status messages?
  20. J

    Teensy 4.0 / High Voltage Heater

    zooming out more I get the lines with data:
  21. J

    Teensy 4.0 / High Voltage Heater

    OK! Here is the frame:
  22. J

    Teensy 4.0 / High Voltage Heater

    got the slope falling and zoomed in. Turned Trigger knob to increase to 6V.
  23. J

    Teensy 4.0 / High Voltage Heater

    I have to turn horizontal to the left to get data to show up.
  24. J

    Teensy 4.0 / High Voltage Heater

    I reset the scope. Check out these readings. Hopefully more of what you were looking for:
  25. J

    Teensy 4.0 / High Voltage Heater

    scope is definitely on 19200.
  26. J

    Teensy 4.0 / High Voltage Heater

    With Lin.Order commented out: I see variance in E3 E4 and D4 and 3C and 3B
  27. J

    Teensy 4.0 / High Voltage Heater

    Here is the response withe new code you sent:
  28. J

    Teensy 4.0 / High Voltage Heater

    Something finally happened! On the Volvo heater, at 9600 baud, all FF all the time!!! At 19200, suddenly getting a 0 response at Hex 27 on every ID ordered, Every one (0 through 63). Strange readings on the scope.
  29. J

    Teensy 4.0 / High Voltage Heater

    I am wondering about changing gears and focusing on the Status signal from ID 23(40) instead of 22(24). I found a post from another site where the user was trying to get the HVH100 Webasto (Mine are the HVH50, 50 Plus and 70) running using PCAN-LIN and it talks about the ldf (lin description...
  30. J

    Teensy 4.0 / High Voltage Heater

    Me too! I am moving on to try an brute force every ID on send against every ID on response for something. I edited the code as set out below, but it is only doing a check of ID 1 order against ID 1 response. 1 1 FF 2 2 FF 3 3 FF vs. 1 1 FF 1 2 FF 1 3 FF If you have a suggestion to...
  31. J

    Teensy 4.0 / High Voltage Heater

    I know it seems odd, but I can only get a signal on the scope with my extended code: #include "lin_bus.h" // Create an IntervalTimer object IntervalTimer myTimer; int ledState = LOW; // ledState used to set the LED unsigned long interval = 200000; // interval at which to...
  32. J

    Teensy 4.0 / High Voltage Heater

    Thanks for all of that information Paul. The 0x18 is HEX for 24 and 0x16 is HEX for 22. I am leaving my scope on 1X because that is the only way I get a reading at the moment that matches your readings. Sounds I like I need to probe all of the other ids to see if anything else brings a...
  33. J

    Teensy 4.0 / High Voltage Heater

    I am a novice with the oscilloscope. I just pushed auto adjust and tried to match your photo settings . . . not sure how to get get to 10x either. I can switch on the probe, but it stays as 1x on the scope. Also, not sure how to set those other items . . .
  34. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. I was having some difficulty getting a LIN signal on that code but after a few tries, I did get a similar reading to you, but no response :(
  35. J

    Teensy 4.0 / High Voltage Heater

    I will try your code. I have been adding in the code to make the teensy still blink the amber light when compiled, but I guess I don't need to have that to run this code. Also, the guy on Open Inverter said, "'I'd remove the code that sets heater power and only keep the code that queries the...
  36. J

    Teensy 4.0 / High Voltage Heater

    Ok, so I put your code back into the sketch and ran it in 9600 and 19200 and the result was FFFFFFFF. in 9600 baud In 19200 baud the readings were not the same on the write side:
  37. J

    Teensy 4.0 / High Voltage Heater

    My only question on that code is whether we need to run it through ALL IDs (1 to256) and not just 22 and 24 and order from 1 to 256 and not just 21 and 35.
  38. J

    Teensy 4.0 / High Voltage Heater

    I tested with the commented out line, but still just getting ffffffff in HEX or -1 without HEX. I just wish there was a way to get any sign that the heater is receiving a LIN signal. Is the -1 a CRC error or coding issue or just no response from the HVH which could be a malfunction or...
  39. J

    Teensy 4.0 / High Voltage Heater

    Thanks Paul. I am confused as the link you provided shows that line already uncommented.
  40. J

    LIN bus 2.1, working example?

    I am running the heater Sketch you built Paul with the CPP file uncommented and I am getting 55 as a response now instead of FFFFFFFF oscilloscope responses with HV on and 12V on.
  41. J

    LIN bus 2.1, working example?

    Not sure if this is any help, but the CPP file that was used on the STM32 HVH heater project with open inverter looks like this: /* * This file is part of the stm32-... project. * * Copyright (C) 2021 Johannes Huebner <dev@johanneshuebner.com> * * This program is free software: you can...
  42. J

    Teensy 4.0 / High Voltage Heater

    Unfortunately, I am getting -1 responses still :( Ran at both 9600 and 19200 I have one more heater to try that I ordered that was on a Volvo . . . since that might be the one used on OI. Also, I will try other wires on the harness, but the manual is pretty clear about which one is LIN...
  43. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. My Oscilloscope arrived tonight and I tried to replicate your above readings and I think I was successful.
  44. J

    Teensy 4.0 / High Voltage Heater

    Excellent. I will give this a go and report back to you. My oscilloscope arrives tomorrow, so hopefully I will be able to share some screenshots that look like yours.
  45. J

    LIN bus 2.1, working example?

    Paul, thank you for getting this equipment and testing it. When you run the heater code, would you see anything on the oscilloscope?
  46. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. Thanks for the additional info on the linTXdata. On the other points, I can address some of them. HV is connected when testing. Not all the time, but I do have it hooked up to the heater and can turn on the car to engage it. I usually test with LV or HV and then with just LV...
  47. J

    Teensy 4.0 / High Voltage Heater

    I am sure I am mucking this up, but with the below code I am getting the following response with NOTHING hooked up: #include "lin_bus.h" uint16_t Power = 175; // set to required power uint8_t Temperature = 45; // set to required temperature // Create an IntervalTimer object...
  48. J

    Teensy 4.0 / High Voltage Heater

    Thanks Paul. That makes sense. I appreciate the link to the line. I was wondering if we should take a step back and retrace the steps taken by Johan to first get a response at an ID and do a brute force program to go through all of the 256 IDs and see which returns something. Sending out...
  49. J

    Teensy 4.0 / High Voltage Heater

    Paul, we added a serialprint line to the code on the lin.response which adds one digit to the printout. In my case it is a -1 which confirms no action on the heater, right? #include "lin_bus.h" uint16_t Power = 175; // set to required power uint8_t Temperature = 45; // set to required...
Back
Top