Search results

  1. J

    Teensy 4.0 / High Voltage Heater

    Thanks guys. I cleaned up the code this morning so I can get some useful information on the serial monitor. Here are some readings from this morning over a period of 5 minutes: RequestedPower:3520, ActualPower:0 WaterTempIn:64, WaterTempOut:64, CurrentConsumption:0, LowVoltageReading:13...
  2. J

    Teensy 4.0 / High Voltage Heater

    SO . . . I have HOT water. I spent the afternoon checking and re-checking everything and questioning the whole setup and wiring. I went into the older code we were using and tried that to no avail. Then I looked at the coding for 0x33 and was reworking the binary calculations. 0x33...
  3. J

    Teensy 4.0 / High Voltage Heater

    So I ran the below code: #include "lin_bus.h" LIN lin; int lin_cs = 32; // cs and serial port set for skpang LIN / FDCAN board int led1 = 23; int lin_fault = 28; uint8_t data[4]; uint8_t CRC = 0; void setup() { pinMode(LED_BUILTIN, OUTPUT); pinMode(lin_fault, INPUT); pinMode(lin_cs...
  4. J

    Teensy 4.0 / High Voltage Heater

    Thanks Paul. I will do this and report back. Hopefully my oscilloscope settings from the last time will still be intact. I will make sure the baud rate is correct. Do you know if I can use my CSS CL1000: CAN Bus Logger & USB Interface along with SAVVYCAN to capture LIN signals? Also, in...
  5. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. Thank you for reviewing the additional information and decoding it. Unfortunately, the new code did not produce heat, BUT I did take readings off of 0x27 and I thought it would be helpful to share. responseID:27,Response Data:0x20 0x3E 0x00 0x83 0x3E 0x02 0x00 0xF5 ,CRC:0 Byte...
  6. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. Well we have another response from China. A lot of information to share. On the Checksum / Counter issue (as you suspected): Regarding 0x33 being listed as 3 bytes: Regarding the initialization sequence: From the LDF file the references to HvHeatrPwrCnsDes are below...
  7. J

    Teensy 4.0 / High Voltage Heater

    I think the HV has to be present first because as soon as I start the car, the HV contactors open up and the HV becomes available for the AC compressor, heater and DC/DC components. I think the next question is from the LDF on the timing and if any of this info matters: Nodes { Master...
  8. J

    Teensy 4.0 / High Voltage Heater

    I wrote to them again and hope they respond with something helpful. In the meantime, is there any type of sniffing routine we could run again to see if there is some combination of bytes and bits to get some sign of life?
  9. J

    Teensy 4.0 / High Voltage Heater

    Thanks Paul. Me too! The CRC gives an error all the time on 3 bytes, 0s all the time on 4 bytes and 104 on 2 bytes, BUT in no configuration, do I jump off of 0x00 for the data we need to change. If 0x17 is 10+10 bits, it has to be 3 bytes, but I feel the issue is still in the initialization...
  10. J

    Teensy 4.0 / High Voltage Heater

    If I change ID7 to 2 bytes, I get: responseID:17,Response Data:0x00 0x00 ,CRC:255 responseID:17,Response Data:0x00 0x00 ,CRC:255 responseID:17,Response Data:0x00 0x00 ,CRC:104 (power on)
  11. J

    Teensy 4.0 / High Voltage Heater

    Yes it does. When I change the ID17 back to 4 from3 it gives a 0 for CRC when power is applied, but still 0x00 for the temp. responseID:17,Response Data:0x00 0x00 0x00 0x68 ,CRC:0
  12. J

    Teensy 4.0 / High Voltage Heater

    I imported the above code and here was the response without 12V (along with HV ready): responseID:17,Response Data:0x00 0x00 0x1B ,CRC:255 responseID:17,Response Data:0x00 0x00 0x1B ,CRC:255 responseID:17,Response Data:0x00 0x00 0x1B ,CRC:255 Once the 12V was applied to the heater (along with...
  13. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. Thanks for the update. I love the folks at CSS. They answered a lot of questions for me when I was converting my brake booster analog signal to CAN so I could control the creep function on the car through the Open Inverter can bus. I will try this out and let you know, BUT since...
  14. J

    Teensy 4.0 / High Voltage Heater

    Thank You! That makes total sense and I really appreciate the thorough answer and explanation, as my way of doing it, while correct in this instance, would not have been in other instances. Reading Left (7) to Right (0) makes the whole process much easier for me to not mess it up. I really...
  15. J

    Teensy 4.0 / High Voltage Heater

    Paul, can you help me understand how you de-code the HEX feedback on on byte consisting of various bits? For this response: responseID:27,Response Data:0x20 0x3F 0x00 0x83 0x3F 0x80 0x00 0x75 ,CRC2:0 I am curious how to understand how Byte 0 reading 0x20 gives me the answer to how each of the...
  16. J

    Teensy 4.0 / High Voltage Heater

    Ah. That makes sense. Well, darn. I think my next step might be to go back to the testing you and I did for the other heaters, but knowing we have the right IDs and baud rate. I wonder if we work to see if we can get the heater feedback to show something like power input by running...
  17. J

    Teensy 4.0 / High Voltage Heater

    Thanks Paul. I am confused about PWM. Can we bypass the LIN BUS roadblock and just change our programming to act like PWM or are you saying the LIN and PWM are interconnected and we cannot program for PWM as an alternative to PWM? I understood them to say either was available. If we can...
  18. J

    Teensy 4.0 / High Voltage Heater

    Thanks again Paul. I have reached out once more with the above response to see if they can help us understand their logic and also if they can provide us with the initialization sequence. Will report back. In the meantime, I wondered if we should try the PWM route to see if that works...
  19. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. I heard back from the engineer in China. Hope this information is helpful. Additionally, on our code we are using, they had this feedback: Similarly: Of course, the problem is that when I make the above changes back to 3s and 7, it compiles, but the CRCs stay at 255 and never...
  20. J

    Teensy 4.0 / High Voltage Heater

    Thanks Paul. Sorry I didn't understand the issue with checksum. I am wondering if the key again will be the "enable" command in 0x33 and confirming if it worked. I will say that one item I was able to decode from the received data that made sense to me was in responseID:27, byte 3 ( Heater...
  21. J

    Teensy 4.0 / High Voltage Heater

    Manual attached, along with other specs provided. Hope this is helpful to you.
  22. J

    Teensy 4.0 / High Voltage Heater

    Thanks again Paul. I will make sur line 463 is commented out. Thanks also for the updated code. I will give it a whirl. I will try to get you this entire manual as well. In the meantime, I have asked about the checksum and no response yet, but here is an explanation of the checksum and...
  23. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. I hooked up everything this morning. Had to rewire connectors for the new heater and get my test bench back up and running. When I turned things on, the CRCs all went from 255 to 0, which is good. No heat though. Here is the feedback I was getting from the system. Hopefully...
  24. J

    Teensy 4.0 / High Voltage Heater

    Paul, thank you so much for doing this. The heater just arrived at my office, so I will take it home and hook it up to the test bench I was using before and fire it up and see what happens with this code. Maybe we will get lucky on the first pass. I really appreciate your time and...
  25. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. The new heater arrives today and I plan to try to get this one working, since we were provided with valuable information we did not have on the other heaters, such as baud rate (19200) and the IDs that are supposed to send and receive the signals. Also, I was able to obtain the LDF...
  26. J

    Teensy 4.0 / High Voltage Heater

    Thanks again Paul. I do not believe I have any info on calculating the checksum. I will ask the seller and look for anything in what they sent to me. Just so I understand better, on ID22, is the 0xD0 (208) because in byte 3, there are 2 1s and then a 0 to finish out that command then one...
  27. J

    Teensy 4.0 / High Voltage Heater

    Hi Paul. Hope all is good with you. I put down the heater work for a few months because the weather was no longer cold. I was going to jump into it this summer and get this working before the cold comes back, so I am looking at things again. I found a heater that is very similar to the...
  28. 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 :)
  29. 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...
  30. 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{...
  31. 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...
  32. 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...
  33. 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...
  34. 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...
  35. 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...
  36. 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...
  37. 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...
  38. 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...
  39. 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/
  40. 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...
  41. 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.
  42. 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...
  43. 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...
  44. 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.
  45. J

    Teensy 4.0 / High Voltage Heater

    I just pasted your code and ran it. I did comment out the lin.order command.
  46. 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?
  47. J

    Teensy 4.0 / High Voltage Heater

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

    Teensy 4.0 / High Voltage Heater

    OK! Here is the frame:
  49. J

    Teensy 4.0 / High Voltage Heater

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

    Teensy 4.0 / High Voltage Heater

    I have to turn horizontal to the left to get data to show up.
Back
Top