-50C to 120C
-50C to 120C
0.5C
0-100% RH
3%
110-220V AC, 50/60Hz
3A, 250V AC
-10C to 50C
-20C to 60C
72mm x 36mm x 65mm
Approx. 200g
Applications
| The STC-3028 Digital Temperature Humidity Controller is suitable for use in various applications, including |
Greenhouse climate control
Agricultural automation
Livestock breeding
Industrial automation systems
Laboratory environments
Food storage and processing facilities
Museums and art galleries
Server rooms and data centers
STC-3028 Digital Temperature Humidity Controller 110-220V DocumentationOverviewThe STC-3028 is a digital temperature and humidity controller designed for various applications, including HVAC, refrigeration, and industrial automation. This device features a wide input voltage range of 110-220V, making it suitable for use in diverse environments. The STC-3028 provides accurate temperature and humidity control, with programmable setpoints and hysteresis values.Technical SpecificationsInput Voltage: 110-220V AC
Temperature Measurement Range: -20C to 60C
Humidity Measurement Range: 0-99% RH
Temperature Accuracy: 0.5C
Humidity Accuracy: 5% RH
Output Relay: 10A, 250V AC
Communication Interface: NonePinoutThe STC-3028 has the following pinout:| Pin | Function |
| --- | --- |
| 1 | VCC (110-220V AC) |
| 2 | GND (Ground) |
| 3 | Temperature Sensor Input |
| 4 | Humidity Sensor Input |
| 5 | Relay Output ( Normally Open) |
| 6 | Relay Output ( Normally Closed) |Code Examples### Example 1: Basic Temperature Control using ArduinoIn this example, we will use the STC-3028 to control a temperature-based fan system using an Arduino board.Arduino Code:
```c++
const int tempSensorPin = A0; // Temperature sensor input pin
const int relayPin = 9; // Relay output pinvoid setup() {
pinMode(relayPin, OUTPUT);
}void loop() {
int tempReading = analogRead(tempSensorPin);
float temperature = tempReading 0.488; // Convert to Celsiusif (temperature > 25) {
digitalWrite(relayPin, HIGH); // Turn on the fan
} else {
digitalWrite(relayPin, LOW); // Turn off the fan
}
delay(1000);
}
```
### Example 2: Humidity-Based Ventilation System using Raspberry PiIn this example, we will use the STC-3028 to control a humidity-based ventilation system using a Raspberry Pi.Python Code:
```python
import RPi.GPIO as GPIO
import timeGPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT) // Relay output pinwhile True:
humidity = get_humidity() // Read humidity value from STC-3028
if humidity > 60:
GPIO.output(17, GPIO.HIGH) // Open the ventilation system
else:
GPIO.output(17, GPIO.LOW) // Close the ventilation system
time.sleep(1)
```
Note: The above code examples assume that the STC-3028 is properly connected to the microcontroller/board and that the temperature and humidity sensors are connected to the respective input pins.These examples demonstrate how to use the STC-3028 in different contexts, highlighting its flexibility and ease of integration into various IoT applications.