12V STC-3028 Dual Digital Thermostat Temperature Humidity Control
12V STC-3028 Dual Digital Thermostat Temperature Humidity Control
The 12V STC-3028 Dual Digital Thermostat Temperature Humidity Control is a high-precision, dual-channel temperature and humidity controller designed for IoT-based applications. This component provides accurate and reliable temperature and humidity control, making it ideal for use in various industries, including HVAC, industrial automation, and smart home systems.
The STC-3028 is a microcontroller-based thermostat that measures and controls both temperature and humidity levels. It features two independent channels, allowing users to monitor and control temperature and humidity simultaneously. The device is equipped with a high-accuracy temperature sensor (0.5C) and a humidity sensor (5%RH), ensuring precise readings.
12V DC
200mA
-50C to 120C
0.5C
10% to 90% RH
5% RH
2x SPDT Relays, 250V AC/5A, 30V DC/5A
Yes, with adjustable setpoints
3-Digit, 7-Segment LED Display
70mm x 35mm x 20mm
HVAC Systems
Industrial Automation
Smart Home Systems
Greenhouse Automation
Laboratory Equipment
Food Storage and Processing
RoHS Compliant
CE Certified
1-Year Limited Warranty
The 12V STC-3028 Dual Digital Thermostat Temperature Humidity Control is a versatile and reliable component suitable for a wide range of IoT-based applications. Its high-accuracy sensors, advanced control capabilities, and compact design make it an ideal choice for applications requiring precise temperature and humidity control.
12V STC-3028 Dual Digital Thermostat Temperature Humidity Control DocumentationOverviewThe 12V STC-3028 Dual Digital Thermostat Temperature Humidity Control is a versatile IoT component designed to regulate temperature and humidity levels in various applications. This component features two independent channels, allowing for the control of two separate temperature and humidity zones. It is suitable for use in home automation, greenhouses, laboratories, and other environments where precise temperature and humidity control is essential.Pinout and ConnectionsThe STC-3028 has the following pinout:VCC: 12V power supply
GND: Ground
CH1_TEMP: Temperature sensor input for Channel 1
CH1_HUM: Humidity sensor input for Channel 1
CH2_TEMP: Temperature sensor input for Channel 2
CH2_HUM: Humidity sensor input for Channel 2
OUT1: Relay output for Channel 1
OUT2: Relay output for Channel 2
RX: Serial communication input (9600 bps)
TX: Serial communication output (9600 bps)Code Examples### Example 1: Basic Temperature Control using ArduinoIn this example, we will demonstrate how to use the STC-3028 to control a temperature zone using an Arduino board.Hardware Requirements:Arduino Uno or compatible board
STC-3028 Dual Digital Thermostat Temperature Humidity Control
DS18B20 temperature sensor (connected to CH1_TEMP)
Relay module (connected to OUT1)Software Code:
```cpp
#include <SoftwareSerial.h>// Define STC-3028 pins
#define STC_RX 2
#define STC_TX 3// Create a SoftwareSerial object for STC-3028 communication
SoftwareSerial stcSerial(STC_RX, STC_TX);void setup() {
// Initialize STC-3028 serial communication
stcSerial.begin(9600);// Set temperature setpoint for Channel 1 to 25C
stcSerial.print("CH1_TEMP_SET 25
");
}void loop() {
// Read temperature from DS18B20 sensor
int temp = readTemperature();// If temperature is above setpoint, turn relay ON
if (temp > 25) {
digitalWrite(OUT1, HIGH);
} else {
digitalWrite(OUT1, LOW);
}delay(1000);
}int readTemperature() {
// Read temperature from DS18B20 sensor (implementation omitted)
return 0; // Replace with actual temperature reading
}
```
### Example 2: Humidity Control using Raspberry Pi (Python)In this example, we will demonstrate how to use the STC-3028 to control a humidity zone using a Raspberry Pi.Hardware Requirements:Raspberry Pi (any model)
STC-3028 Dual Digital Thermostat Temperature Humidity Control
DHT11 humidity sensor (connected to CH2_HUM)
Relay module (connected to OUT2)Software Code:
```python
import serial
import time# Define STC-3028 serial communication port
stc_port = '/dev/ttyUSB0'# Initialize STC-3028 serial communication
stc_serial = serial.Serial(stc_port, 9600, timeout=1)# Set humidity setpoint for Channel 2 to 60%
stc_serial.write(b'CH2_HUM_SET 60
')while True:
# Read humidity from DHT11 sensor
humidity = readHumidity()# If humidity is above setpoint, turn relay ON
if humidity > 60:
stc_serial.write(b'OUT2_ON
')
else:
stc_serial.write(b'OUT2_OFF
')time.sleep(1)def readHumidity():
# Read humidity from DHT11 sensor (implementation omitted)
return 0 # Replace with actual humidity reading
```
Note: In both examples, the STC-3028 is configured to use its default settings. Please refer to the STC-3028 datasheet for a comprehensive list of commands and settings.