J
Reaction score
0

Latest activity Postings About

    • J
      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 :)
    • J
      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...
    • J
      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...
    • J
      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...
    • J
      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...
      • 1711290010130.png
      • PXL_20240323_221355235.jpg
    • J
      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...
      • 1710679448843.png
    • J
      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...
      • 1710602954015.png
    • J
      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...
    • J
      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...
    • J
      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...
    • J
      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...
    • J
      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/
    • J
      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...
    • J
      Sorry, this started as a thread about the serial plotter issue I was having on a high voltage heater. I renamed the post.
    • J
      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...
    • J
      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...
    • J
      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.
      • 1708890006136.png
    • J
      I just pasted your code and ran it. I did comment out the lin.order command.
    • J
      Since we are taking any lin.response, isn't it possible that the 0x3C and 0x3D are giving us status messages?
    • J
      zooming out more I get the lines with data:
      • 1708888709737.png
    • J
      OK! Here is the frame:
      • 1708888520380.png
    • J
      got the slope falling and zoomed in. Turned Trigger knob to increase to 6V.
      • 1708888235210.png
    • J
      I have to turn horizontal to the left to get data to show up.
      • 1708887207803.png
    • J
      4.5V
      • 1708886968941.png
    • J
      I reset the scope. Check out these readings. Hopefully more of what you were looking for:
      • 1708885105436.png
      • 1708885119007.png
    • J
      scope is definitely on 19200.
      • 1708884655781.png
    • J
      With Lin.Order commented out: I see variance in E3 E4 and D4 and 3C and 3B
      • 1708883760861.png
      • 1708883855655.png
      • 1708884156290.png
    • J
      Here is the response withe new code you sent:
      • 1708883081291.png
      • 1708883178259.png
      • 1708883198534.png
    • J
      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.
      • 1708873810093.png
      • 1708875150173.png
      • 1708875170479.png
      • 1708875189842.png
      • 1708875205443.png
      • 1708875223194.png
    • J
      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...
    • J
      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...
    • J
      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...
    • J
      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...
    • J
      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...
    • J
      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 :(
      • 1708724042153.png
      • 1708724115994.png
      • 1708724171778.png
      • 1708724189893.png
    • J
      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...
    • J
      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:
      • 1708648197068.png
      • 1708648275206.png
      • 1708648275409.png
      • 1708648394662.png
    • J
      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.
    • J
      jsimonkeller reacted to PaulS's post in the thread Teensy 4.0 / High Voltage Heater with Like Like.
      Hi Jordan, It may be wise to stick to the basic code that I listed in message #77 intially. Once we see a sign of life [a valid CRC] there, we can go back to your code. Paul
    • J
      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...
      • 1708622346246.png
      • 1708622383667.png
    • J
      jsimonkeller reacted to PaulS's post in the thread Teensy 4.0 / High Voltage Heater with Like Like.
      Excuse me, I meant to say "you may want to comment out line 463" like //_stream->read();. I corrected my other post as well. Paul
    • J
      Thanks Paul. I am confused as the link you provided shows that line already uncommented.
    • J
      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.
      • 1708619502773.png
      • 1708619599387.png
      • 1708619620243.png
    • J
      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...
    • J
      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...
      • 1708573986958.png
    • J
      Hi Paul. My Oscilloscope arrived tonight and I tried to replicate your above readings and I think I was successful.
      • 1708570355681.jpeg
    • J
      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.
    • J
      Paul, thank you for getting this equipment and testing it. When you run the heater code, would you see anything on the oscilloscope?
    • J
      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...
      • 1708282398349.png
      • 1708282444048.png
    • J
      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...
  • Loading…
  • Loading…
Back
Top