Hi Ioannis,
Yes, i have added the lines Fratello told me in order to activate the outputs.
Hi Ioannis,
Yes, i have added the lines Fratello told me in order to activate the outputs.
It should not do this. The code has some kind of hysteresis which prevents the play at he output.
What if you increase this hysteresis?
Ioannis
I made tens of this thermostat, for all my friends, relatives....without troubles. Maybe it's time to show us Your schematic !
May we ALSO see your FULL code ???
...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Yes sure, i will upload the code soon, and i will also make a small video if you want.
On the output, i have done the following configurations.
1) only an LED
2) light the LED through resistor.
3) light the LED through a transistor.
In case number 1. the 3MM LED does not go ON but it flashes very low with some pulses, it is not noticeable. (the 5 mm goes on)
In case number 2. the LED works just fine
In case number 3. the LED works just fine
My question is, if anyone understands why it does not light up straight from the PIC (pin) output with no transistor or resistor.
thanks a lot and sorry for the trouble
I can only assume an overload with some kind of interference with something else around...
I would never load directly PIC output pins.
Ioannis
My opinion : MUST connect the LED trough resistor (R=U/I ; where U=5V and I depend on LED colour) ...
Bookmarks