Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Tanauan City College: Examples, Pinouts, and Specs

Image of Tanauan City CollegeDesign with Tanauan City College in Cirkit Designer

Introduction

Explore Projects Built with Tanauan City College

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Arduino UNO Bluetooth-Controlled Servo with LDR Feedback: A project utilizing Tanauan City College in a practical application
Arduino UNO Bluetooth-Controlled Servo with LDR Feedback

This circuit features an Arduino UNO microcontroller interfaced with a Bluetooth HC-06 module for wireless communication, a Tower Pro SG90 servo motor for actuation, and a Module LDR for light intensity sensing. The Arduino controls the servo based on the data received from the LDR or Bluetooth module. The Bluetooth module enables remote control or data exchange, while the LDR provides environmental feedback to the Arduino.

Open Project in Cirkit Designer
Image of Arduino-Controlled Servo with Light Sensing: A project utilizing Tanauan City College in a practical application
Arduino-Controlled Servo with Light Sensing

This circuit features an Arduino UNO microcontroller interfaced with two photocells (LDRs) and a servo motor. The photocells are connected to analog inputs A0 and A1, and their average light intensity reading is used to control the position of the servo motor connected to digital pin D9. The circuit is powered by a pair of 18650 Li-ion batteries, which are also connected to a TP4056 charging module that can be charged via a solar cell, providing a renewable energy source for the system.

Open Project in Cirkit Designer

Technical Specifications

Key Technical Details

Parameter Value/Range
Operating Voltage 5V, 12V, or 24V (depending on model)
Coil Resistance Typically 70Ω to 400Ω
Switching Voltage Up to 250V AC or 30V DC
Switching Current Up to 10A
Contact Configuration SPDT (Single Pole Double Throw) or DPDT (Double Pole Double Throw)
Isolation Electrical isolation between control and load circuits

Pin Configuration

Pin Number Pin Name Description
1 Coil+ (VCC) Positive terminal of the relay coil
2 Coil- (GND) Negative terminal of the relay coil
3 Common (COM) Common terminal for the load circuit
4 Normally Open (NO) Open circuit when the relay is inactive; closes when activated
5 Normally Closed (NC) Closed circuit when the relay is inactive; opens when activated

Usage Instructions

  1. Connecting the Relay to a Circuit:

    • Connect the relay's coil terminals (Coil+ and Coil-) to the control circuit. Ensure the voltage matches the relay's operating voltage (e.g., 5V, 12V).
    • Connect the load circuit to the Common (COM) terminal and either the Normally Open (NO) or Normally Closed (NC) terminal, depending on the desired behavior.
  2. Important Considerations:

    • Always check the relay's voltage and current ratings to ensure compatibility with your circuit.
    • Use a flyback diode across the relay coil to protect the control circuit from voltage spikes when the relay is deactivated.
    • Ensure proper electrical isolation between the control and load circuits to prevent damage to sensitive components.
  3. Using a Relay with Arduino UNO: Below is an example of how to control a relay using an Arduino UNO:

    // Example: Controlling a relay with Arduino UNO
    const int relayPin = 7; // Pin connected to the relay module
    
    void setup() {
      pinMode(relayPin, OUTPUT); // Set the relay pin as an output
      digitalWrite(relayPin, LOW); // Ensure the relay is off initially
    }
    
    void loop() {
      digitalWrite(relayPin, HIGH); // Turn the relay on
      delay(1000); // Keep it on for 1 second
      digitalWrite(relayPin, LOW); // Turn the relay off
      delay(1000); // Keep it off for 1 second
    }
    
    • Note: Use a relay module with built-in driver circuitry when connecting directly to an Arduino. This ensures the Arduino can safely drive the relay.

Troubleshooting and FAQs

Common Issues

  1. Relay not activating:

    • Cause: Insufficient voltage or current to the relay coil.
    • Solution: Verify the control circuit's voltage and current match the relay's specifications.
  2. Load not switching:

    • Cause: Incorrect wiring of the load circuit.
    • Solution: Double-check the connections to the Common (COM), Normally Open (NO), and Normally Closed (NC) terminals.
  3. Arduino resets when activating the relay:

    • Cause: Voltage spikes from the relay coil affecting the Arduino.
    • Solution: Add a flyback diode across the relay coil and ensure proper power supply decoupling.
  4. Relay makes a buzzing sound:

    • Cause: Insufficient or unstable voltage to the relay coil.
    • Solution: Use a stable power supply and ensure the control circuit provides the required voltage.

FAQs