Stufin
Home Quick Cart Profile

Arduino UNO 21-in-1 Starter Kit compatible

Buy Now

Arduino UNO Board Compatibility

The kit is designed to work with the Arduino UNO board, which has the following specifications
+ MicrocontrollerATmega328P
+ Operating Voltage5V
+ Input Voltage7-12V
+ Digital I/O Pins14
+ Analog Input Pins6
+ DC Current per I/O Pin40mA

Components and Modules

The kit includes a range of components and modules with varying specifications. Please refer to the individual component documentation for detailed technical specifications.

Conclusion

The Arduino UNO 21-in-1 Starter Kit is an ideal starting point for anyone looking to explore the world of electronics, IoT, and microcontrollers. With its comprehensive set of components and modules, easy-to-use design, and extensive documentation, this kit provides a solid foundation for learning and building a wide range of projects.

Pin Configuration

  • Arduino UNO 21-in-1 Starter Kit Compatible: Pinout Explanation
  • The Arduino UNO 21-in-1 Starter Kit is a popular starter kit for beginners and hobbyists, compatible with the Arduino UNO board. The kit includes a variety of components and modules, but this documentation will focus on explaining the pins of the Arduino UNO board, which is the brain of the kit.
  • Digital Pins (0-13)
  • 1. Digital Pin 0 (RX): This pin is the serial input (RX) pin, used for serial communication. It is connected to the TX pin of a serial device, such as a computer or another microcontroller.
  • Connection structure: RX (Arduino) -> TX (Serial Device)
  • 2. Digital Pin 1 (TX): This pin is the serial output (TX) pin, used for serial communication. It is connected to the RX pin of a serial device.
  • Connection structure: TX (Arduino) -> RX (Serial Device)
  • 3. Digital Pin 2: This is a general-purpose digital input/output pin.
  • Connection structure: Dependent on the project requirements
  • 4. Digital Pin 3: This is a general-purpose digital input/output pin, also used as the interrupt pin.
  • Connection structure: Dependent on the project requirements
  • 5. Digital Pin 4: This is a general-purpose digital input/output pin.
  • Connection structure: Dependent on the project requirements
  • 6. Digital Pin 5: This is a general-purpose digital input/output pin, also used as the PWM (Pulse Width Modulation) output pin.
  • Connection structure: Dependent on the project requirements
  • 7. Digital Pin 6: This is a general-purpose digital input/output pin, also used as the PWM output pin.
  • Connection structure: Dependent on the project requirements
  • 8. Digital Pin 7: This is a general-purpose digital input/output pin.
  • Connection structure: Dependent on the project requirements
  • 9. Digital Pin 8: This is a general-purpose digital input/output pin.
  • Connection structure: Dependent on the project requirements
  • 10. Digital Pin 9: This is a general-purpose digital input/output pin, also used as the PWM output pin.
  • Connection structure: Dependent on the project requirements
  • 11. Digital Pin 10: This is a general-purpose digital input/output pin, also used as the SPI (Serial Peripheral Interface) SS (Slave Select) pin.
  • Connection structure: Dependent on the project requirements
  • 12. Digital Pin 11: This is a general-purpose digital input/output pin, also used as the SPI MOSI (Master Out Slave In) pin.
  • Connection structure: Dependent on the project requirements
  • 13. Digital Pin 12: This is a general-purpose digital input/output pin, also used as the SPI MISO (Master In Slave Out) pin.
  • Connection structure: Dependent on the project requirements
  • 14. Digital Pin 13: This is a general-purpose digital input/output pin, also used as the LED indicator pin.
  • Connection structure: Dependent on the project requirements
  • Analog Input Pins (A0-A5)
  • 1. Analog Input Pin A0: This is an analog input pin, used to read analog signals from sensors or other devices.
  • Connection structure: A0 (Arduino) -> Sensor/Device Output
  • 2. Analog Input Pin A1: This is an analog input pin, used to read analog signals from sensors or other devices.
  • Connection structure: A1 (Arduino) -> Sensor/Device Output
  • 3. Analog Input Pin A2: This is an analog input pin, used to read analog signals from sensors or other devices.
  • Connection structure: A2 (Arduino) -> Sensor/Device Output
  • 4. Analog Input Pin A3: This is an analog input pin, used to read analog signals from sensors or other devices.
  • Connection structure: A3 (Arduino) -> Sensor/Device Output
  • 5. Analog Input Pin A4: This is an analog input pin, used to read analog signals from sensors or other devices, also used as the I2C (Inter-Integrated Circuit) SDA (Serial Data Line) pin.
  • Connection structure: A4 (Arduino) -> Sensor/Device Output or I2C Device
  • 6. Analog Input Pin A5: This is an analog input pin, used to read analog signals from sensors or other devices, also used as the I2C SCL (Serial Clock Line) pin.
  • Connection structure: A5 (Arduino) -> Sensor/Device Output or I2C Device
  • Power Pins
  • 1. VIN (Voltage In): This pin is used to supply an external power source to the Arduino board.
  • Connection structure: External Power Source -> VIN (Arduino)
  • 2. 5V: This pin provides a regulated 5V output from the Arduino board.
  • Connection structure: 5V (Arduino) -> Device/Module
  • 3. 3V3: This pin provides a regulated 3.3V output from the Arduino board.
  • Connection structure: 3V3 (Arduino) -> Device/Module
  • 4. GND (Ground): This pin is the ground pin, used as a common reference point for the circuit.
  • Connection structure: GND (Arduino) -> Device/Module
  • Communication Headers
  • 1. USB (Universal Serial Bus): This is the USB interface, used for programming and communication with a computer.
  • Connection structure: USB Cable -> Computer
  • 2. ICSP (In-Circuit Serial Programming): This is the ICSP header, used for programming the Arduino board using an external programmer.
  • Connection structure: ICSP Programmer -> ICSP Header (Arduino)
  • When connecting components to the Arduino UNO board, ensure that you match the pinouts correctly and follow proper circuit design and safety guidelines to avoid damage to the board or components.

Code Examples

Arduino UNO 21-in-1 Starter Kit Compatible
Overview
The Arduino UNO 21-in-1 Starter Kit is a comprehensive bundle that includes the popular Arduino UNO microcontroller board and a range of components, sensors, and accessories to get started with IoT and robotics projects. This documentation provides an overview of the kit, its components, and code examples to demonstrate its usage in various contexts.
Kit Components
Arduino UNO microcontroller board
 Breadboard
 Jumper wires
 LEDs (5)
 Resistors (5)
 Push buttons (2)
 Potentiometer
 Photoresistor
 Buzzer
 9V battery and battery holder
 USB cable
 Sample projects and tutorials guide
Code Examples
### Example 1: Blinking LED with Potentiometer Control
In this example, we'll use the potentiometer to control the blinking frequency of an LED.
Components used:
Arduino UNO board
 Breadboard
 Jumper wires
 LED
 Potentiometer
 Resistors (1)
Code:
```c++
const int ledPin = 13;  // LED connected to digital pin 13
const int potPin = A0;  // Potentiometer connected to analog pin A0
void setup() {
  pinMode(ledPin, OUTPUT);
}
void loop() {
  int potValue = analogRead(potPin);  // Read potentiometer value (0-1023)
  int delayTime = map(potValue, 0, 1023, 50, 500);  // Map pot value to delay time (50-500ms)
  digitalWrite(ledPin, HIGH);
  delay(delayTime);
  digitalWrite(ledPin, LOW);
  delay(delayTime);
}
```
Explanation:
We read the potentiometer value using `analogRead()` and map it to a delay time between 50ms and 500ms using the `map()` function.
 The LED is turned on and off using `digitalWrite()` with a delay in between, creating a blinking effect.
 The potentiometer controls the blinking frequency, with a higher value resulting in a faster blink rate.
### Example 2: Simple Alarm System with Buzzer and Photoresistor
In this example, we'll create a simple alarm system that sounds a buzzer when light falls below a certain threshold, detected by the photoresistor.
Components used:
Arduino UNO board
 Breadboard
 Jumper wires
 Buzzer
 Photoresistor
 Resistors (1)
Code:
```c++
const int buzzerPin = 9;  // Buzzer connected to digital pin 9
const int photoPin = A1;  // Photoresistor connected to analog pin A1
const int threshold = 300;  // Light threshold value (adjust to desired level)
void setup() {
  pinMode(buzzerPin, OUTPUT);
}
void loop() {
  int lightValue = analogRead(photoPin);  // Read photoresistor value (0-1023)
  if (lightValue < threshold) {
    tone(buzzerPin, 1000, 200);  // Produce a 1000Hz tone for 200ms
  }
  delay(50);
}
```
Explanation:
We read the photoresistor value using `analogRead()` and compare it to the threshold value.
 If the light level falls below the threshold, the buzzer is activated using `tone()` to produce a 1000Hz tone for 200ms.
 The `delay()` function is used to introduce a small delay between readings to prevent the buzzer from sounding continuously.
These examples demonstrate the versatility of the Arduino UNO 21-in-1 Starter Kit and its potential for a wide range of IoT and robotics projects.