Saturday, October 1, 2022
HomeiOS Developmentios - ESP8266-12e not activating pin at high temperatures

ios – ESP8266-12e not activating pin at high temperatures

[ad_1]

I have an ESP8266-12e which trips two TQ2-L2-V3 relays. The first relay is turned ON by making pin 13 HIGH then after a one second delay back to LOW. To turn it OFF I have pin 12 HIGH the one second delay and LOW.
The second relay works the same except I use pins 16 ON and 14 OFF.
The whole thing is powered by a 12-0-12 relay which I rectify using two 1N1004 and a 25V 1000uf capacitor. I use a L7812 voltage regulator to cut the power from 24v to 12v and then from that to a NTE1904 to further cut the power to 3v. I use this three volts to power the ESP8266-12e. I also use a NTE9 to power an ESP32-CAM.

One of the relays allows power from the NTE962 to turn on the ESP32-CAM and a 5v fan.
The other relay allows 24vac to flow to a valve and turn on a 3v LED.

All of this is controlled by an app. When the app is first launched the ESP8266-12e engages the relay for the camera and the fan.
When a button in the app is tapped the ESP8266-12e engages the relay to allow the flow of 24vac to the valve and turns on the LED. Tap the button again and they turn off.

When the app is closed the relay turns off the camera and the fan.

All of this works fine except when the temperature of the unit rises too high.

The weird thing is that no matter what the temperature when the app is launched the camera and fan turn on meaning the ESP8266-12e is working fine and so is the one relay.

However when the temperature is too high and I tap the button the ESP8266-12e does not activate the relay that controls the electrical flow to the valve and the LED.
If I close the app the ESP8266-12e activates the correct pin to turn off the camera and fan.
When the temperature returns to a lower range it starts working ok again.

I have tried using heat sinks on the L7812 and the NTE1904 to no avail.

I have tried removing the camera and the fan from the system so the current draw isn’t effected. But that had no effect.

I can’t figure out why the ESP8266-12e should activate the pin to turn on the camera/fan relay, not activate the pin to turn on the 24vac/LED relay, but then activate the pin to turn off the camera/fan relay.

Does anyone have any suggestions? I haven’t uploaded any code or schematic since the whole thing works fine except when the temperature goes above around 85-90º.

[ad_2]

Source link

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments