DC 12V KK-P25/20 8KG Lifting Solenoid Electromagnet Documentation
The DC 12V KK-P25/20 8KG Lifting Solenoid Electromagnet is a high-power solenoid electromagnet designed for lifting and holding heavy loads up to 8kg. It operates on a 12V DC power supply and features a compact design with a P25/20 mm size. This component is ideal for applications such as industrial automation, robotics, and DIY projects requiring high-force actuation.
The DC 12V KK-P25/20 8KG Lifting Solenoid Electromagnet has two pins:
Positive Pin (VCC): Connect to 12V DC power supply
Negative Pin (GND): Connect to ground
Length: 25 mm
Width: 20 mm
Height: 15 mm
Operating Characteristics
Operating Voltage: 12V DC
Maximum Current: 1.5A
Lifting Force: Up to 8kg
Duty Cycle: 100% (continuous operation)
Temperature Range: -20C to 80C
### Example 1: Basic Control using Arduino
In this example, we'll demonstrate a simple on/off control of the solenoid electromagnet using an Arduino board.
Arduino Board (e.g., Arduino Uno)
DC 12V KK-P25/20 8KG Lifting Solenoid Electromagnet
12V DC power supply
Breadboard and jumper wires
```cpp
const int solenoidPin = 9; // Connect the solenoid to digital pin 9
void setup() {
pinMode(solenoidPin, OUTPUT);
}
void loop() {
digitalWrite(solenoidPin, HIGH); // Turn the solenoid on
delay(1000); // Hold for 1 second
digitalWrite(solenoidPin, LOW); // Turn the solenoid off
delay(1000); // Hold for 1 second
}
```
### Example 2: Pulse-Width Modulation (PWM) Control using Raspberry Pi
In this example, we'll demonstrate PWM control of the solenoid electromagnet using a Raspberry Pi.
Raspberry Pi (e.g., Raspberry Pi 4)
DC 12V KK-P25/20 8KG Lifting Solenoid Electromagnet
12V DC power supply
Breadboard and jumper wires
```python
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
solenoid_pin = 18 # Connect the solenoid to GPIO 18
GPIO.setup(solenoid_pin, GPIO.OUT)
while True:
# Set PWM frequency to 50 Hz
pwm = GPIO.PWM(solenoid_pin, 50)
# Increase the lifting force by increasing the duty cycle
for dc in range(0, 101, 10):
pwm.start(dc)
time.sleep(0.5)
# Decrease the lifting force by decreasing the duty cycle
for dc in range(100, -1, -10):
pwm.start(dc)
time.sleep(0.5)
```
Note: Ensure proper connection and protection of the solenoid electromagnet and other components to prevent damage or electrical shock. Consult the datasheet and safety guidelines for more information.