LED

RevivingIndia Meena bazar, Patna, India

What is LED ? LED stands for Light Emitting Diode. It's a semiconductor device that emits light when an electric current passes through it. Things to do Connect Annode (+) part of Led to Digital pin of Arduino i.e 13 Connect Cathode(-) part of Led to Groundpin of Arduino Interfacing Diagram Interface a microcontroller, like an Arduino, with external components, you typically use a combination of wiring and programming. Here's a short overview of the basic steps: Identify the components you want to interface with the Arduino, such as sensors, LEDs, motors, etc. Determine the electrical requirements of these components (voltage, current, signal levels). Connect the components to the appropriate pins on the Arduino board using jumper wires, breadboard, or soldering depending on your setup. Write a program (sketch) in the Arduino IDE to control and interact with these components. This involves configuring pins, reading sensor data, and sending signals…

Read more

Programming Question

RevivingIndia Meena bazar, Patna, India

String Programming Question What is the purpose of string indexing in Python? How do you access the first character of a string? How do you access the last character of a string using negative indexing? How do you access the second character of a string? How do you access a character at index 3 in a string? What happens if you try to access an index that is out of range in a string? How do you slice a string to get the substring from index 2 to index 5? How do you slice a string to get the first three characters? How do you slice a string to get the last three characters? How do you slice a string to get every second character? How do you slice a string to get the characters from index 2 to index 7 with a step of 2? How do you reverse…

Read more

RGB

What is RGB? RGB, short for Red Green Blue, is a color model used in digital imaging to represent colors on screens. It combines different intensities of red, green, and blue light to create various colors. How to use RGB Interior Lighting Art Projects Signage and Displays Gaming Stage Lighting Automotive Lighting Home Automation Prototyping Components Required: Microcontroller (Arduino) RGB Jumper Wires USB Cable Working Interface: The RGB LED is connected to the Arduino via jump wires on a breadboard. Arduino code, controls the LED's colors based on input, like touch or proximity sensors Example Code: void setup() { pinMode(8,OUTPUT); // Red led pin pinMode(9,OUTPUT); // Green led pin pinMode(10,OUTPUT); // Blue led pin } void loop() { digitalWrite(8,HIGH); // Red led ON digitalWrite(9,LOW);  // Green led OFF digitalWrite(10,LOW); // Blue led OFF delay(1000); digitalWrite(8,LOW);  // Red led ON digitalWrite(9,HIGH);  // Green led OFF digitalWrite(10,LOW);  // Blue led OFF delay(1000);…

Read more

Presentation

RevivingIndia Meena bazar, Patna, India

Presentation: Engage, inform, captivate, convey, With slides and speech, pave the way. Audience hooked, from start to end, A presentation, a message to send. Our presentation today, we embark on a journey into the fascinating world of Python and robotics—an intersection where technology and creativity converge to shape the future. Imagine a world where machines come to life, guided by lines of code written in Python—a language known for its simplicity, versatility, and power. With Python as our tool, we unlock endless possibilities in the realm of robotics, from autonomous vehicles to intelligent machines that enhance our daily lives. As we delve deeper, let us explore how Python serves as the backbone of robotic development. Its intuitive syntax and extensive libraries empower both novice and seasoned engineers to design, prototype, and deploy robotic systems with unprecedented efficiency and precision

IR Sensor

RevivingIndia Meena bazar, Patna, India

What is an IR Sensor? IR sensor with Arduino and interface it with some components like an LED and a buzzer. We'll make a setup where the LED lights up and the buzzer sounds when motion is detected by the IR sensor. Components Needed. 1.Arduino board 2.IR sensor module 3.LED 4.Buzzer 5.Jumper wires Wiring Connections: Connect the VCC pin of the IR sensor module to the 5V pin of the Arduino. Connect the GND pin of the IR sensor module to the GND pin of the Arduino. Connect the OUT pin of the IR sensor module to digital pin 2 of the Arduino. Connect the positive (anode) leg of the LED to digital pin 3 of the Arduino through a current-limiting resistor (220-330 ohms). Connect the negative (cathode) leg of the LED to the GND pin of the Arduino. Connect one terminal of the buzzer to digital pin 4 of…

Read more