HM 4.2.4 schematic image missing from wiki/picassa


 
The pin 5 test on the ATMega sounds like its worth pursuing, which one is it?
Bill

The first image that google came up with;

Atmega328-pinout.png


This a top view BTW.
 
Pin5 is the pin that the blue line runs to in the troubleshooting image I posted, the one that has the note that says "blower control voltage"....
 
So I skimmed through the thread a bit in attempt to get a grasp of what you have going on, ended up more confused! LOL
First of all I guess I should ask if you've cured the problem where the rPi reboots when you plug in your fan/damper? That is how we started...
Then I see you have some issues with the blower circuit and some odd voltage readings in that area, and your initial voltages seem to be the opposite of what you have now...
With all that in mind, I think we are on the right coarse here with the Pin5 test, that will tell us if it a problem in the blower driver circuit or something more systemic going on with the HM, because it will isolate the ATMega pin that controls the blower so we can see if it is doing what it is expected to do... From there we can either work through the blower circuit or work through the config settings or whatever may be screwing up the logic here. From time to time, particularly when a HM has problems on the first boot, an ATMega will get a bad flash and something will just be haywire...
 
The first image that google came up with;

Atmega328-pinout.png


This a top view BTW.

Thank you, Peter.

So I skimmed through the thread a bit in attempt to get a grasp of what you have going on, ended up more confused! LOL
First of all I guess I should ask if you've cured the problem where the rPi reboots when you plug in your fan/damper? That is how we started...
Then I see you have some issues with the blower circuit and some odd voltage readings in that area, and your initial voltages seem to be the opposite of what you have now...
With all that in mind, I think we are on the right coarse here with the Pin5 test, that will tell us if it a problem in the blower driver circuit or something more systemic going on with the HM, because it will isolate the ATMega pin that controls the blower so we can see if it is doing what it is expected to do... From there we can either work through the blower circuit or work through the config settings or whatever may be screwing up the logic here. From time to time, particularly when a HM has problems on the first boot, an ATMega will get a bad flash and something will just be haywire...

Ralph, did as you suggested, I isolated pin 5 of the ATMega by bending it out and re-seating it. Fan @ 0% I get 0v, fan @ 100% I get 3.3v. sigh. While I have the pin pulled re running the tests on Q1 & Q3. With fan at 0% on Q1 - left pin 0v, center/top pin .001v, right pin 12.28v. Q3 left pin 12.12v, middle pin .881v, right pin 12.12v. With fan @ 100% I get the same results on Q1, however, Q3 center pin I get a slight rise in voltage. From .881v to .906.
 
So that tells you your ATMega is doing what it is supposed to do as the voltages on isolated Pin5 are correct (ranging from 0V to 3.3v at 0 and 100% respectively). Measuring the voltages on the transistors while Pin5 is isolated is somewhat irrelevant, since they are not getting the control voltage from the ATMega I would expect the Q1 top pin to be 0V (as it is).
So it seems you have a problem with the blower driver circuit after all. At this point you want to put Pin5 back in the socket and get down to the hard work of figuring out what is driving down that voltage on the top pin of Q1. You SHOULD be seeing voltages like you measured on Pin5 on the top pin of Q1 when Pin5 is inserted back in the socket.
 
Bill, are you the guy that had to replace the BS170 at Q1 with an NTE equivalent? Q2 is a BS170 that just drives the buzzer, so you can always steal Q2 and put it in the Q1 spot if you suspect the transistor you are using in the Q1 spot is bad. (Q2 is beside the buzzer)
If you do end up pulling Q1, while it is removed take the opportunity to check the voltage on the hole where the top pin would go. It should read just like PIN5 did on the ATMega when you had it pulled from the socket....
 
Bill, are you the guy that had to replace the BS170 at Q1 with an NTE equivalent? Q2 is a BS170 that just drives the buzzer, so you can always steal Q2 and put it in the Q1 spot if you suspect the transistor you are using in the Q1 spot is bad. (Q2 is beside the buzzer)
If you do end up pulling Q1, while it is removed take the opportunity to check the voltage on the hole where the top pin would go. It should read just like PIN5 did on the ATMega when you had it pulled from the socket....

Nope, not me. I went over my board again with the meter, checking resistance. I found the resistor, R13 - 68k, was reading 20k from the underside of my board. I removed it and took another reading, it read 67k. Should I expect R13 to read 20k, a 48k deficit, while attached to the board? I probed from pole to pole. Would that 48k deficit cause the odd voltages I'm seeing in Q1 and Q3? Unfortunately, as I was probing this part it flew off into my carpet. So now I am without said resistor until mouser delivers a new one. On the plus side, this is a good opportunity to replace the green LED i burnt out with a 9volt battery while trying to figure out the positive and negative leads. heh, good times!
 
While in circuit there could be other paths for current to flow that would effect the value measured for components, hard to say for sure without analyzing the circuit, but most likely it is not the problem. That resistor is in the feedback circuit, so I am pretty sure if you have the blower set to PULSE mode it should work without it. What you need to be looking at are Q1, Q3, D2, R14, these are the components in charge of powering the blower. You need to see the voltage on the top pin of Q1 responding like you saw on Pin5 of the ATMega when it was removed from the socket. Did you take any voltage measurements on that pin since you put that pin back in place? Honestly, the first thing I would suspect would be Q1 or a short somewhere. Personally I would have suggested you order a couple spare BS170's when you placed your order, and suggest you pull the one in the Q1 spot and see how the voltages run on the top pin with that transistor removed. (after you measure voltages there with that transistor in place).
 
This is the blower circuit with some notes added. Everything to the right of where it says "To Blower Positive Lead" is the feedback circuit, which is not required when the HM is in PULSE mode. Again, Q1, Q3, R14, D2, these are the items I would focus on, and anything that could short out a trace that connects to these components.
HMv4.2_BlowerDriver.jpg
 
This is the blower circuit with some notes added. Everything to the right of where it says "To Blower Positive Lead" is the feedback circuit, which is not required when the HM is in PULSE mode. Again, Q1, Q3, R14, D2, these are the items I would focus on, and anything that could short out a trace that connects to these components.
HMv4.2_BlowerDriver.jpg

Update: Got my Mouser order today and have replaced the 68k resister I lost in my carpet. I also removed Q1 and tested its switching functionality. I found a video on youtube that showed me how. I wasn't able to test its current delivery since I don't have a breadboard or other parts/pieces for that kind of test. With Q1 removed i re ran some of the aforementioned tests. Blower @ 0% I get 0v on center contact of Q1. Left is ground, Right 12v. Blower @ 100% I get 3.3v on center pin, 12v on right. So Im not sure if I'm getting 12v on the right most pin because the bs170 is not installed or if thats a function of the other circuitry. Q3, with Q1 removed, blower @ 0% seems to test the same as ever. Left 12v, center .85v, right 12v. I get the same readings on Q3 with blower @100%. Bad mosfet-p? Is there a way to test that? If I remove the misfit-p in Q3, and re-test the voltages at its pin locations should I see 12v,0v,12 @0% fan and 0v,12v,12v @100%?

I appreciate the circuit diagram above. However, at this time, my skills are not up to the level required to use it effectively. I'm kinda confused on one thing, should I be running these test with the blower set to voltage or pulse mode? I've been testing in voltage mode.
 
First, are you saying "left" and "right" pins as looking from the top of the heatermeter (with all the components on the other side)? Because BS170 placement (with no part installed) from the component side should read 12V 0V 0V at 0% and 12V 3.3V 0V at 100% so it sounds like you're reading them reversed so I am going to assume you've got it flipped over. I would think that the center pin would read closer to 0V. On my heatermeter it runs about 0.080V but quickly dissipates down to 0.010V. This charge comes from the electrochemical reation in the capacitor remembering having a charge but is quickly drained through the impedance of the multimeter. If you're getting 0.85V there, it seems current is leaking into that part of the circuit from somewhere, potentially through Q3.

If you remove Q3 yes you should see 12V 0V 12V at 0% and ~0V 12V 12V at 100% (with Q1 installed) or 12V 0V 12V at 100% (without Q1 installed). You should be able to run the tests in either mode, but the 100% value will be slightly different in pulse vs voltage. I think I measured 10.5V on the Q5 gate at 100% with no blower attached. Pulse mode should be ~0V at Q5 gate with nothing attached.
 
Last edited:
Update: Got my Mouser order today and have replaced the 68k resister I lost in my carpet. I also removed Q1 and tested its switching functionality. I found a video on youtube that showed me how. I wasn't able to test its current delivery since I don't have a breadboard or other parts/pieces for that kind of test. With Q1 removed i re ran some of the aforementioned tests. Blower @ 0% I get 0v on center contact of Q1. Left is ground, Right 12v. Blower @ 100% I get 3.3v on center pin, 12v on right. So Im not sure if I'm getting 12v on the right most pin because the bs170 is not installed or if thats a function of the other circuitry. Q3, with Q1 removed, blower @ 0% seems to test the same as ever. Left 12v, center .85v, right 12v. I get the same readings on Q3 with blower @100%. Bad mosfet-p? Is there a way to test that? If I remove the misfit-p in Q3, and re-test the voltages at its pin locations should I see 12v,0v,12 @0% fan and 0v,12v,12v @100%?

I appreciate the circuit diagram above. However, at this time, my skills are not up to the level required to use it effectively. I'm kinda confused on one thing, should I be running these test with the blower set to voltage or pulse mode? I've been testing in voltage mode.

I suggest you do the testing with the HM in PULSE Mode, in Voltage mode the readings can kinda float a bit (particularly when no blower is attached). It seems your control voltage for Q1 is responding as expected, so that's a good thing. Personally I would put a new/different BS170 in the Q1 spot and resolder R14 on BOTH sides of the board (I had one HM blower circuit trouble me and it turned out no matter how many times I soldered R14 from the solder side it did not make the connection on the component side of the board). If that doesn't fix things then perhaps you might want to give Q3 a look, or swap it out... and give D2 a close check as well.

Bryan, yes, he is reading the voltages on Q1 from the solder side of the board, where the left pin is ground...
 
First, are you saying "left" and "right" pins as looking from the top of the heatermeter (with all the components on the other side)? Because BS170 placement (with no part installed) from the component side should read 12V 0V 0V at 0% and 12V 3.3V 0V at 100% so it sounds like you're reading them reversed so I am going to assume you've got it flipped over. I would think that the center pin would read closer to 0V. On my heatermeter it runs about 0.080V but quickly dissipates down to 0.010V. This charge comes from the electrochemical reation in the capacitor remembering having a charge but is quickly drained through the impedance of the multimeter. If you're getting 0.85V there, it seems current is leaking into that part of the circuit from somewhere, potentially through Q3.

If you remove Q3 yes you should see 12V 0V 12V at 0% and ~0V 12V 12V at 100% (with Q1 installed) or 12V 0V 12V at 100% (without Q1 installed). You should be able to run the tests in either mode, but the 100% value will be slightly different in pulse vs voltage. I think I measured 10.5V on the Q5 gate at 100% with no blower attached. Pulse mode should be ~0V at Q5 gate with nothing attached.

I suggest you do the testing with the HM in PULSE Mode, in Voltage mode the readings can kinda float a bit (particularly when no blower is attached). It seems your control voltage for Q1 is responding as expected, so that's a good thing. Personally I would put a new/different BS170 in the Q1 spot and resolder R14 on BOTH sides of the board (I had one HM blower circuit trouble me and it turned out no matter how many times I soldered R14 from the solder side it did not make the connection on the component side of the board). If that doesn't fix things then perhaps you might want to give Q3 a look, or swap it out... and give D2 a close check as well.

Bryan, yes, he is reading the voltages on Q1 from the solder side of the board, where the left pin is ground...

Hey guys, got my mouser order! YAY. I replaced my lost 68k resister(R13). So now I have Q1 AND Q3 removed(what a pain that was. I got a solder sucker and some solder wick but it still wasn't easy). Bryan, my voltages almost match what your saying I should have @ Q3 accept the center pin. Im getting 0.146v on Q3 center pin @ 0% & 100%. Q1 seems to be behaving as expected with @ both 0 and 100% fan. Could this be the float Ralph references in when in voltage mode? Im kinda leery about hooking mi rPI up and changing settings with my board missing components as it is.

Taking a reading from the left most leg of R13, fan at both 0 & 100%, getting 0.139v. Well, like I said, got my mouser order and as Ralph suggested I will be replacing Q1 and Q3 just because I have new ones. But I would like to hear your input before I do so.

Thanks again!
 
I've never personally measured voltages on the Q3 spot when the transistor is removed so I can't really say if that tiny bit of voltage is normal. That said, it is a TINY bit of voltage (0.146V), not like a dead short to 12v or anything, could just be some residual charge from the electrolytic capacitors? As for the floating voltage I referred to, that would be when the transistors were installed, I don't think you would see this with these two transistors removed... but the blower circuit is easier to decipher in Pulse mode in my experience.

At any rate, what I would do next is install Q1 and then measure the output voltage (on the right pin) at 0% and 100% and also measure the left pin of Q3 when you do this (it should read the same as the right pin of Q1). If you are getting a voltage ranging from 0V to roughly 12V then the Q1 part of the circuit is working. At this point I would install the new Q3 and test with the blower connected, see if you get proper control. When you install Q3 there is no need to solder the back tab to the HM board, skip that, it only increases the likelihood that you will damage the transistor.

Good luck! Post back your findings if you need additional help and I will try to respond ASAP so we can get this done once and for all so you can move on to the fun part of BBQing!

PS Since you said you had a rough go removing the transistors, before you install the new ones you might poke around with your meter in continuity mode, test the connection between each hole where the transistors go and the next component they connect to for continuity, test adjacent holes on the transistors for shorts.... Just to make sure you didn't break a trace or cause a short while removing the transistors... (do this without power connected to your HM board of coarse)
 
Last edited:
I've never personally measured voltages on the Q3 spot when the transistor is removed so I can't really say if that tiny bit of voltage is normal. That said, it is a TINY bit of voltage (0.146V), not like a dead short to 12v or anything, could just be some residual charge from the electrolytic capacitors? As for the floating voltage I referred to, that would be when the transistors were installed, I don't think you would see this with these two transistors removed... but the blower circuit is easier to decipher in Pulse mode in my experience.

At any rate, what I would do next is install Q1 and then measure the output voltage (on the right pin) at 0% and 100% and also measure the left pin of Q3 when you do this (it should read the same as the right pin of Q1). If you are getting a voltage ranging from 0V to roughly 12V then the Q1 part of the circuit is working. At this point I would install the new Q3 and test with the blower connected, see if you get proper control. When you install Q3 there is no need to solder the back tab to the HM board, skip that, it only increases the likelihood that you will damage the transistor.

Good luck! Post back your findings if you need additional help and I will try to respond ASAP so we can get this done once and for all so you can move on to the fun part of BBQing!

PS Since you said you had a rough go removing the transistors, before you install the new ones you might poke around with your meter in continuity mode, test the connection between each hole where the transistors go and the next component they connect to for continuity, test adjacent holes on the transistors for shorts.... Just to make sure you didn't break a trace or cause a short while removing the transistors... (do this without power connected to your HM board of coarse)

Heya Ralph, did as you said - after I removed Q1 & Q3 I went over all the pads(wholes) with my meter in continuity mode. I didn't find any unexpected bridges. I just finished installing a new BS170 and it seems to be responding differently than the original(thats a good thing). The right pins voltage moves up and down as expected; blower @0% 12v, blower @100% .016v. Close enough. The old BS170 didn't do this. Testing the Q3 pads with the new BS170 installed in Q1; Fan @0% left to right - 12v, .146v, 12v. Q3, fan @100% left to right, 0v, .146, 12.25v.

If I'm reading Bryans post correctly, he stated, with Q1 installed, I should be getting 0, 12, 12 with fan @100%? Thats not happening :(
 
OK, that's progress, Q1 is doing what it is supposed to...
When you measured the center pin of Q3 did you have the Q3 transistor installed or not? You wont see the expected voltage there unless Q3 is installed. Since the proper control voltage is now being applied to the left pin of Q3 and the supply voltage is applied to the right pin, the center pin should be responding as expected and going from no volts to 12v when the HM goes from 0% to 100%...
 
OK, that's progress, Q1 is doing what it is supposed to...
When you measured the center pin of Q3 did you have the Q3 transistor installed or not? You wont see the expected voltage there unless Q3 is installed. Since the proper control voltage is now being applied to the left pin of Q3 and the supply voltage is applied to the right pin, the center pin should be responding as expected and going from no volts to 12v when the HM goes from 0% to 100%...

I did not have Q3 installed. It sounds like I'm on track. When I get home from work, tonight, I'll put in a new Q3 and report back.

Thanks!
 
OK, you are on track then... I think it is going to work when you install Q3. Remember to skip soldering the back tab to the board, that is totally unnecessary and only increases the chances that you will overheat the transistor during soldering.
 
Sorry to say, I managed to destroy my board while trying to clean out some old solder from Q3. I did get the replacement Q3 installed but I tore up some traces in the process. sigh. I appreciate the time you all took in helping me to troubleshoot the issues I had. After I get done being angry at myself, maybe I'll order another kit and try again.

Thanks again.
 
You can probably salvage it using some jumper wires to re-make the end to end connections on those with torn traces. The nice thing about the HM board is that it's not overly complex or jam packed with components.
 
Last edited:

 

Back
Top