এসএসআর হিটার কন্ট্রোল — রিলের ক্লিক ক্লিক শব্দ নেইSSR Burst-Fire Heater Control
যান্ত্রিক রিলে সেকেন্ডে পাঁচবার ক্লিক করলে দ্রুত নষ্ট হয়। SSR নিঃশব্দে দ্রুত সুইচ করে, তাই sketch টা burst-fire করে — ২ সেকেন্ডের চক্রে হিটার ঠিক নবের শতাংশ সময় জ্বলে।
A mechanical relay clicking five times a second dies young. A solid-state relay switches silently and fast, so the sketch burst-fires: over a 2-second cycle the heater is ON for exactly the knob percentage.
সার্কিট ডায়াগ্রাম · Circuit diagram
যা যা লাগবে · Parts you need
- 1 × Arduino Uno R3 Arduino Uno
- 1 × Knob (potentiometer) নব (Potentiometer)
- 1 × Solid-state relay (SSR-25DA / SSR-40DA) সলিড স্টেট রিলে (SSR-25DA / SSR-40DA)
- 1 × Light bulb বাল্ব
- 1 × Resistor 330Ω Resistor
- 1 × LED (red) LED বাতি
- 11 × Jumper wires জাম্পার তার
তার লাগানো · Wiring
| Knob (potentiometer) 1 | → | Arduino Uno R3 5V |
| Knob (potentiometer) 2 | → | Arduino Uno R3 GND |
| Knob (potentiometer) W | → | Arduino Uno R3 A0 |
| Arduino Uno R3 D7 | → | Solid-state relay (SSR-25DA / SSR-40DA) DC+ |
| Solid-state relay (SSR-25DA / SSR-40DA) DC- | → | Arduino Uno R3 GND |
| Light bulb a | → | Arduino Uno R3 5V |
| Light bulb b | → | Solid-state relay (SSR-25DA / SSR-40DA) AC1 |
| Solid-state relay (SSR-25DA / SSR-40DA) AC2 | → | Arduino Uno R3 GND.3 |
| Arduino Uno R3 D13 | → | Resistor a |
| Resistor b | → | LED A |
| LED K | → | Arduino Uno R3 GND.3 |
Code (Arduino C++)
// SSR heater control: a mechanical relay clicking 5 times a second dies young
// and drives everyone mad. A solid-state relay switches silently and fast, so
// the sketch "burst-fires" instead: over a 2-second cycle the heater is ON for
// exactly the knob's percentage. 40 percent setpoint = 0.8 s heat, 1.2 s rest,
// on average — smooth temperature with zero moving parts.
void setup() {
Serial.begin(9600);
pinMode(7, OUTPUT); pinMode(13, OUTPUT);
}
void loop() {
int duty = map(analogRead(A0), 0, 1023, 0, 100); // percent heat
long phase = millis() % 2000; // 2-second burst cycle
bool on = phase < duty * 20; // ON slice of the cycle
digitalWrite(7, on ? HIGH : LOW);
digitalWrite(13, duty > 5 ? HIGH : LOW);
Serial.print("Heat: "); Serial.print(duty);
Serial.print("% | SSR: "); Serial.println(on ? "ON" : "rest");
delay(50);
}
আরো project · More projects
- এল২৯৮এন দিয়ে মোটরের দিক কন্ট্রোল — সামনে পিছনেMotor direction control with the L298N (forward and reverse)
- এসডি কার্ডে তাপমাত্রার ডেটালগার — প্রতি সেকেন্ডে এক লাইনTemperature datalogger to an SD card (CSV, one row a second)
- গ্যাস চুলার ফ্লেম গার্ড — আগুন নিভলে গ্যাস কেটে দেয়Gas-stove flame guard (cuts the gas if the flame dies)
- সিঁড়ির বাতি নিজে নিজে বন্ধ হয় — PIR সেন্সর দিয়েStair light that switches itself off (PIR + lamp)