Male to Female Jumper Wires (20cm) (20pcs)
Male to Female Jumper Wires (20cm) (20pcs)
The Male to Female Jumper Wires (20cm) is a set of 20 pre-cut, pre-stripped jumper wires with a 20cm (7.87 inch) length, designed to connect devices and components in various electronics and IoT projects. These jumper wires feature a male pin on one end and a female socket on the other, allowing for secure and flexible connections between breadboards, PCBs, and other electronic components.
The primary function of these jumper wires is to establish connections between components in prototyping, testing, and development stages of electronics and IoT projects. They enable users to quickly and conveniently connect and disconnect devices, sensors, and modules without the need for soldering or dedicating permanent connections.
20cm (7.87 inches)
Insulated copper
Male pin (2.54mm/0.1 inch spacing) and female socket (2.54mm/0.1 inch spacing)
20 pieces
| Color-Coded | Yes |
These jumper wires are compatible with most breadboards, PCBs, and electronic components with 2.54mm (0.1 inch) spacing.
By providing a reliable and flexible connection solution, the Male to Female Jumper Wires (20cm) (20pcs) are an essential tool for electronics and IoT enthusiasts, professionals, and educators.
Male to Female Jumper Wires (20cm) (20pcs)OverviewThe Male to Female Jumper Wires (20cm) (20pcs) are a set of 20 jumper wires, each 20cm in length, with male headers on one end and female headers on the other. These wires are commonly used in prototyping and development of IoT projects, allowing for easy connections between breadboards, Arduino boards, Raspberry Pi, and other electronic components.Physical CharacteristicsLength: 20cm
Wire gauge: 20 AWG
Insulation: PVC
Header type: Male (on one end) and Female (on the other end)
Number of wires: 20Technical SpecificationsOperating temperature: -20C to 80C
Voltage rating: 250V AC
Current rating: 1ACode Examples### Example 1: Connecting an LED to an Arduino Board using Male to Female Jumper WiresIn this example, we will connect an LED to an Arduino board using the Male to Female Jumper Wires.Hardware RequirementsArduino Board (e.g. Arduino Uno)
LED
Male to Female Jumper Wires (20cm) (20pcs)
BreadboardCode
```c
const int ledPin = 13; // Choose a digital pin on the Arduino boardvoid setup() {
pinMode(ledPin, OUTPUT); // Set the pin as an output
}void loop() {
digitalWrite(ledPin, HIGH); // Turn the LED on
delay(1000); // Wait for 1 second
digitalWrite(ledPin, LOW); // Turn the LED off
delay(1000); // Wait for 1 second
}
```
ConnectionsConnect the male end of a jumper wire to digital pin 13 on the Arduino board.
Connect the female end of the jumper wire to the anode (positive leg) of the LED.
Connect the cathode (negative leg) of the LED to the GND pin on the breadboard using another jumper wire.
Connect the GND pin on the breadboard to the GND pin on the Arduino board using another jumper wire.### Example 2: Connecting a Sensor to a Raspberry Pi using Male to Female Jumper WiresIn this example, we will connect a temperature sensor to a Raspberry Pi using the Male to Female Jumper Wires.Hardware RequirementsRaspberry Pi (e.g. Raspberry Pi 4)
Temperature sensor (e.g. DS18B20)
Male to Female Jumper Wires (20cm) (20pcs)
BreadboardCode
```python
import RPi.GPIO as GPIO
import time# Set up the GPIO library
GPIO.setmode(GPIO.BCM)# Define the pin for the temperature sensor
temp_pin = 17# Set up the pin as an input
GPIO.setup(temp_pin, GPIO.IN)while True:
# Read the temperature data from the sensor
temp_data = GPIO.input(temp_pin)
print("Temperature: ", temp_data)
time.sleep(1)
```
ConnectionsConnect the male end of a jumper wire to GPIO pin 17 on the Raspberry Pi.
Connect the female end of the jumper wire to the VCC pin on the temperature sensor.
Connect the GND pin on the temperature sensor to the GND pin on the breadboard using another jumper wire.
Connect the GND pin on the breadboard to the GND pin on the Raspberry Pi using another jumper wire.Note: The code examples provided are for illustrative purposes only and may require modification to work with specific hardware and software configurations.