Search found 60 matches

by jsimonkeller
Sun Mar 24, 2024 2:31 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

I am now convinced I got heated water 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 confirmed that...
by jsimonkeller
Mon Mar 04, 2024 4:58 am
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

you set power to 400 and wrote to an 8 bit variable If that is the case, do I need to change it from 8 to 16? The heater can handle up to 5000W on the HVH50 and 7000W on the HVH70. If I use the max 8 bit value of 255, by the formula of (255-256)*40 = -40, right??? Maybe check if ID 23 is Read Meas ...
by jsimonkeller
Sun Mar 03, 2024 7:16 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

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 print o...
by jsimonkeller
Tue Feb 27, 2024 4:01 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

OK! So I reinstated the royhen99 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. Power set for 1000, Temp...
by jsimonkeller
Tue Feb 27, 2024 2:02 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

EV_Builder wrote: Tue Feb 27, 2024 6:47 am Time to fed it HV , 12Vdc and turn it on?
HA! Yes. I am not sure what ID is the write ID though, so I guess I can modify the code to run through all IDs 0-64 . . .
by jsimonkeller
Tue Feb 27, 2024 4:27 am
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

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 a 21...
by jsimonkeller
Sun Feb 25, 2024 11:15 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

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 0 62 0 123 61 80 0 208 1 0 0 62 0 123 61 80 0 208 2 0 0 62 0 123 61 80 0 208 3 0 0 62 0 123 ...
by jsimonkeller
Sun Feb 25, 2024 7:50 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

Another update on my saga. We ran the below code to brute force all IDs on request and all IDs on reponse. #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...
by jsimonkeller
Fri Feb 23, 2024 12:37 am
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

Thanks Johan. I am still getting no response with 3 different heaters on the test bench... 300V . . . 12V and LIN connected . . . . grounded . . . I will certainly have extra to share when I finally crack this. :D We wrote a shorter SKETCH to do what you suggested above. I know you said to take out ...
by jsimonkeller
Thu Feb 22, 2024 5:28 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

As way of an update, I got my Oscilloscope and was able to at least see the LIN command is going out to the HVH with no response. image.png Updated code for a CRC response and still getting -1 image.png I assume it could not be something in the CPP file that is not working as it should, but here is ...
by jsimonkeller
Mon Feb 19, 2024 3:37 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

Thanks! Just set the temperature and power that you require. So the below would be correct if I wanted 5000W of power and 85 degree water temp? uint16_t Power = 5000; // set to required power uint8_t Temperature = 85; //set to required temperature I don't know why I thought I needed to adjust, but t...
by jsimonkeller
Mon Feb 19, 2024 2:03 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

Johan, while I continue troubleshooting my issues, I wanted to ask a few questions: 1. Was your Webasto heater from a Volvo? Do you recall the year? If you still have the heater on hand, can you post a picture of the heater and label? 2. For power and temp settings, I was using 175 and 45. Am I doin...
by jsimonkeller
Sun Feb 18, 2024 9:32 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

BTW have you solidly grounded the HVA via the ground stud and also connected up the grounds of your Teensy and the HVH? Yes, the post on the HVH is grounded as well as the teensy. Besides the outer grounding post on the HVH (circled in green), is there another ground wire you are referring to? When...
by jsimonkeller
Sat Feb 17, 2024 10:34 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

image.png
image.png
by jsimonkeller
Sat Feb 17, 2024 10:32 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

So based on the work done over here by you and Johan, the guys at the Teensy Forum put together a sketch with a feedback loop to see if we could get a reaction from the HVH. I compiled and ran the below code in both 9600 and 19200 baud on both of my HVH heaters. With and without power I only got a r...
by jsimonkeller
Sat Feb 17, 2024 4:47 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

Thank you for the reply and I totally understand that you are shooting in the dark to some extent. My expertise is well below yours :D I appreciate your continuing willingness to help. I will take this info back to the TEENSY Forum and see what they can add to help me cross the finish line and repor...
by jsimonkeller
Sat Feb 17, 2024 4:05 am
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

hello royhen99. I was hoping to pick this back up. I have now been able to test the teensy and breakout board with a slave RGB board and LIN is being transmitted to make the slave board LED go Green, Blue and Red. Here is that working code. /* * * Teensy 4.0 CAN FD and LIN-bus demo. * * For use with...
by jsimonkeller
Sun Feb 11, 2024 3:54 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

OK . . . so Paul suggested I revise the code as follows: #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 blinkLED to run every 0.2 seconds LIN lin; int...
by jsimonkeller
Sun Feb 11, 2024 2:12 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

thanks for the response and explanation of the FFFFFFFF response. So if I am getting the -1 response, what are my options to troubleshoot? I am trying both baud rates with the 22 @ 9600 and 24 @ 19200. I will restore the lin.order command on your explanation of why it is needed. I am glad your trans...
by jsimonkeller
Sat Feb 10, 2024 11:16 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

Hi guys. So I spent most of the day troubleshooting the heater with the help of one of the members of the Teensy forum (Paul). It was very helpful. Some things we learned today. In the Webasto LIN document you attached in message #32, I see this: 1707598924472.png HVH shall be a LIN slave node follo...
by jsimonkeller
Sat Feb 10, 2024 3:45 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

Actually, I am now realizing that my new code certainly puts the UDC, POWER and TEMP into the PLOTTER at all times, but that undoes the reason for the IF command. I assume that the original placement of the braces was intended such that is a FALSE response was returned, nothing would show up in the ...
by jsimonkeller
Fri Feb 09, 2024 3:46 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

OK. So I solved the Serial Plotter issue by asking for help on the Teensy forum and after some troubleshooting, I just needed to move a set of braces and edit the serial print commands. Updated code attached. Teensy_LIN_bus_heater_V2.ino So now I am seeing Power, Temp and UDC but they are staying st...
by jsimonkeller
Thu Feb 08, 2024 2:53 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

Thanks for the explanation of about the baud rate. I am seeing the "Sending power and temperature" on the serial monitor from start-up, so that is good. I am still not getting hot water, but will try different combinations again. I was hoping to come up with a way to see feedback from the ...
by jsimonkeller
Thu Feb 08, 2024 1:41 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

This may seem basic, but just to make sure, if I choose LIN l(&Serial3, 19200), then should everything below it also use the 19200 options and likewise if LIN l(&Serial3, 9600) is selected, everything below it also use the 9600 options? I assume so, but from the above posts, I could not tell...
by jsimonkeller
Wed Feb 07, 2024 11:23 pm
Forum: General
Topic: Webasto HVH50
Replies: 81
Views: 13362

Re: Webasto HVH50

Thanks guys. I will give this new version a try this evening.

I do not think I have anything to read the output messages. Not sure if that is something I can access in the IDE program or need something else.

Thanks!