Tekko BDSimSimulatorProjects

এসএসআর হিটার কন্ট্রোল — রিলের ক্লিক ক্লিক শব্দ নেই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.

▶ ফ্রি চালিয়ে দেখো / Run it free Parts অর্ডার করো (WhatsApp)

সার্কিট ডায়াগ্রাম · Circuit diagram

SSR Burst-Fire Heater Control circuit diagram — Arduino Uno R3, Knob (potentiometer), Solid-state relay (SSR-25DA / SSR-40DA), Light bulb, Resistor 330Ω, LED (red), Jumper wires

যা যা লাগবে · Parts you need

তার লাগানো · 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