
The circuit consists of two rotary encoders (Kalamoyi P3022-V1-CW360) connected to two STG adapters. Each encoder's VCC, OUT, and GND pins are connected to the corresponding STG adapter, facilitating signal transmission and power supply management.
The YCC-2S is a compact, dual-channel current sensor designed for precise measurement of electrical currents in various applications. It features high accuracy, a wide operating range, and a robust design, making it suitable for both industrial and consumer electronics. The YCC-2S is commonly used in power monitoring systems, battery management systems, motor control circuits, and energy-efficient devices.

The circuit consists of two rotary encoders (Kalamoyi P3022-V1-CW360) connected to two STG adapters. Each encoder's VCC, OUT, and GND pins are connected to the corresponding STG adapter, facilitating signal transmission and power supply management.

This circuit is a battery management and charging system for a 2S lithium-ion battery pack, which powers multiple MG996R servos. The TP5100 module charges the battery pack from a 12V power supply, while the 2S 30A BMS ensures safe operation and distribution of power to the servos.

This circuit appears to be a complex control system centered around an Arduino Mega2560 R3 Pro microcontroller, which interfaces with multiple sensors (XKC-Y26-V non-contact liquid level sensors and an LM35 temperature sensor), servo motors, a touch display, and an IBT-2 H-Bridge motor driver for controlling a planetary gearbox motor. The system also includes a UART TTL to RS485 converter for communication, likely with the touch display, and a power management subsystem with a switching power supply, fuses, and circuit breakers for safety and voltage regulation (XL4016). The absence of embedded code suggests that the functionality of the microcontroller is not defined within the provided data.

This circuit integrates two RTC DS3231 real-time clock modules with a Glyph C3 microcontroller. The RTC modules are connected to the microcontroller via I2C communication protocol, using the SCL and SDA lines for clock and data respectively. Both RTC modules and the microcontroller share a common power supply (3V3) and ground (GND), indicating that they operate at the same voltage level.
The YCC-2S offers reliable performance with the following key specifications:
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V to 5V |
| Current Measurement Range | ±30A per channel |
| Accuracy | ±1% |
| Channels | 2 |
| Output Type | Analog Voltage |
| Bandwidth | 50 kHz |
| Operating Temperature | -40°C to +85°C |
| Dimensions | 25mm x 15mm x 5mm |
The YCC-2S has a total of 6 pins, as described in the table below:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V to 5V) |
| 2 | GND | Ground connection |
| 3 | OUT1 | Analog output for Channel 1 current measurement |
| 4 | OUT2 | Analog output for Channel 2 current measurement |
| 5 | IN+ | Positive input for current sensing (shared for both channels) |
| 6 | IN- | Negative input for current sensing (shared for both channels) |
Below is an example of how to connect and read data from the YCC-2S using an Arduino UNO:
// Define the analog input pins for the YCC-2S outputs
const int channel1Pin = A0; // Channel 1 output connected to A0
const int channel2Pin = A1; // Channel 2 output connected to A1
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
// Read the analog values from the YCC-2S outputs
int channel1Value = analogRead(channel1Pin);
int channel2Value = analogRead(channel2Pin);
// Convert the analog values to current (example calculation)
// Assuming a sensitivity of 66mV/A and a 5V reference voltage
float current1 = (channel1Value * 5.0 / 1023.0) / 0.066;
float current2 = (channel2Value * 5.0 / 1023.0) / 0.066;
// Print the current values to the Serial Monitor
Serial.print("Channel 1 Current: ");
Serial.print(current1);
Serial.println(" A");
Serial.print("Channel 2 Current: ");
Serial.print(current2);
Serial.println(" A");
delay(1000); // Wait for 1 second before the next reading
}
No Output Signal:
Inaccurate Readings:
Output Voltage Saturation:
Q: Can the YCC-2S measure both AC and DC currents?
A: Yes, the YCC-2S can measure both AC and DC currents within its specified range.
Q: What is the sensitivity of the YCC-2S?
A: The sensitivity is typically 66mV/A, but refer to the datasheet for precise values.
Q: Can I use the YCC-2S with a 3.3V microcontroller?
A: Yes, the YCC-2S operates with a supply voltage of 3.3V to 5V, making it compatible with 3.3V systems.
Q: How do I protect the sensor from overcurrent?
A: Use a fuse or current-limiting resistor in your circuit to prevent currents exceeding the sensor's range.