sathishkumar
Published © Apache-2.0

Bug in Circuit: Learn Debugging with This IoT Relay Board

Bug in Circuit is an IoT relay board with a built-in bug—learn debugging, electronics, and IoT hands-on with real-world problem-solving!

BeginnerProtip116
Bug in Circuit: Learn Debugging with This IoT Relay Board

Things used in this project

Hardware components

ESP32S
Espressif ESP32S
×1
MINI RELAY SPDT 5 PINS 12VDC 10A 120V CONTACT
TaydaElectronics MINI RELAY SPDT 5 PINS 12VDC 10A 120V CONTACT
×1

Software apps and online services

Arduino IDE
Arduino IDE
Arduino IoT Cloud
Arduino IoT Cloud
Alexa Voice Service
Amazon Alexa Alexa Voice Service
Assistant SDK
Google Assistant SDK

Hand tools and fabrication machines

PCBWay 3D Printing
PCBWay 3D Printing
Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Custom parts and enclosures

3d model

Schematics

two channel relay

Code

Bug in Circuit Test Code

Arduino
// Sample sketch to control relay 1 via cloud
int relayPin = 13;

void setup() {
  pinMode(relayPin, OUTPUT);
  digitalWrite(relayPin, LOW); // Off by default
}

void loop() {
  // Replace with your IoT or logic control
  digitalWrite(relayPin, HIGH);
  delay(1000);
  digitalWrite(relayPin, LOW);
  delay(1000);
}

Credits

sathishkumar
7 projects • 18 followers
Successful Kickstarter, 2 patents, 10+ yrs R&D at IITM & HCL, EV, IoT, CAN, HVAC, product design & dev expert. Contact: 9952093701

Comments