- Видео 135
- Просмотров 346 108
DoIt.20
Непал
Добавлен 19 ноя 2022
Automatic Motion-Activated Light with Arduino & PIR Motion Sensor | English Subtitle | Example Code
Automatic Motion-Activated Light with Arduino & PIR Motion Sensor | English Subtitle | Example Code
Code : code is on the comment below.
Facebook : DoIt20-104218935882053
Please Subscribe my Channel. ThankYou!
Code : code is on the comment below.
Facebook : DoIt20-104218935882053
Please Subscribe my Channel. ThankYou!
Просмотров: 71
Видео
How To Make Clap Switch with Arduino and LM393 Sound Sensor | English Subtitle | Example Code
Просмотров 1082 месяца назад
How To Make Clap Switch with Arduino and LM393 Sound Sensor | English Subtitle | Example Code Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
How to Create an Automatic Parking Gate System with Arduino, Ultrasonic Sensor & Servo motor
Просмотров 903 месяца назад
Code : code is on the comment below. How to Create an Automatic Parking Gate System with Arduino, Ultrasonic Sensor & Servo motor Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
Automated Stair Lighting System with Arduino & Ultrasonic Motion Sensor | English Subtitle
Просмотров 824 месяца назад
Code : code is on the comment below. Automated Stair Lighting System with Arduino & Ultrasonic Motion Sensor | English Subtitle Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
How to make a smart door lock using your old mobile phone and Arduino / No need GSM Module
Просмотров 995 месяцев назад
Code : code is on the comment below. How to make a smart door lock using your old mobile phone and Arduino / No need GSM Module Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
3.5 Inch RPi Touchscreen Display with ESP32 | Example Code | English Subtitle
Просмотров 3415 месяцев назад
Code : code is on the comment below. 3.5 Inch RPi Touchscreen Display with ESP32 | Example Code | English Subtitle Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
Arduino DC Motor Speed Control with L298N and Potentiometer | English Subtitle
Просмотров 735 месяцев назад
Arduino DC Motor Speed Control with L298N and Potentiometer | English Subtitle Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
DS3231 RTC Module & OLED Display 0.96" I2C 128x64 SSD1306 with Arduino | English Subtitle
Просмотров 1546 месяцев назад
DS3231 RTC Module & OLED Display 0.96" I2C 128x64 SSD1306 with Arduino | English Subtitle Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
ESP32 LED Dimming Tutorial with Potentiometer | Control Brightness in Real Time | English Subtitle
Просмотров 1306 месяцев назад
ESP32 LED Dimming Tutorial with Potentiometer | Control Brightness in Real Time | English Subtitle Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
Arduino KY-023 Joystick Module Control for Dual SG90-HV Servo Motors | X and Y Axis Movement
Просмотров 1176 месяцев назад
Arduino KY-023 Joystick Module Control for Dual SG90-HV Servo Motors | X and Y Axis Movement Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
Simple LED Control with Button Press | ESP32 | Example Code | English Subtitle | Arduino IDE
Просмотров 896 месяцев назад
Simple LED Control with Button Press | ESP32 | Example Code | English Subtitle | Arduino IDE Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
Controlling SG90-HV Servo Motor with KY-023 Joystick Module | Arduino IDE | English Subtitle
Просмотров 1466 месяцев назад
Controlling SG90-HV Servo Motor with KY-023 Joystick Module | Arduino IDE | English Subtitle Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
Arduino Laser Security System with Buzzer and LED | Example Code | English Subtitle
Просмотров 1047 месяцев назад
Arduino Laser Security System with Buzzer and LED | Example Code | English Subtitle Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
Arduino Servo Motor Control with Potentiometer | Example Code | English Subtitle
Просмотров 627 месяцев назад
Arduino Servo Motor Control with Potentiometer | Example Code | English Subtitle Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
Arduino LED Dimming Tutorial with Potentiometer | Control Brightness in Real Time | English Subtitle
Просмотров 1007 месяцев назад
Arduino LED Dimming Tutorial with Potentiometer | Control Brightness in Real Time | English Subtitle Code : code is on the comment below. Facebook : DoIt20-104218935882053 Please Subscribe my Channel. ThankYou!
Arduino LED Brightness Control with KY-023 Joystick Module | Arduino IDE | English Subtitle
Просмотров 1417 месяцев назад
Arduino LED Brightness Control with KY-023 Joystick Module | Arduino IDE | English Subtitle
RCWL-0516 Microwave Radar Sensor & 16x2 I2C LCD Display with Arduino | Bathroom Occupancy Indicator
Просмотров 2147 месяцев назад
RCWL-0516 Microwave Radar Sensor & 16x2 I2C LCD Display with Arduino | Bathroom Occupancy Indicator
Arduino Bathroom Occupancy Detector with PIR Motion Sensor & 16x2 I2C LCD Display | English Subtitle
Просмотров 3367 месяцев назад
Arduino Bathroom Occupancy Detector with PIR Motion Sensor & 16x2 I2C LCD Display | English Subtitle
L298N DC Motor Driver & KY-023 Dual Axis Joystick with Arduino | Controlling Two Motors Left Right
Просмотров 2088 месяцев назад
L298N DC Motor Driver & KY-023 Dual Axis Joystick with Arduino | Controlling Two Motors Left Right
ESP-NOW Wireless LED Control with ESP32 & KY-023 Dual Axis Joystick | Arduino IDE | English Subtitle
Просмотров 4088 месяцев назад
ESP-NOW Wireless LED Control with ESP32 & KY-023 Dual Axis Joystick | Arduino IDE | English Subtitle
Magnetic Reed Sensor Module with ESP32 | Example Code | English Subtitle
Просмотров 3778 месяцев назад
Magnetic Reed Sensor Module with ESP32 | Example Code | English Subtitle
For Stairway Lighting: Arduino LED Control with Push Buttons | Example Code | English Subtitle
Просмотров 738 месяцев назад
For Stairway Lighting: Arduino LED Control with Push Buttons | Example Code | English Subtitle
Arduino Basics: LED ON/OFF with One Push Button | Example Code | English Subtitle
Просмотров 868 месяцев назад
Arduino Basics: LED ON/OFF with One Push Button | Example Code | English Subtitle
DHT22 Temperature & Humidity Sensor, DS3231 RTC Module & 128x32 I2C OLED Display with ESP32
Просмотров 1538 месяцев назад
DHT22 Temperature & Humidity Sensor, DS3231 RTC Module & 128x32 I2C OLED Display with ESP32
TTP224 4-Channel Touch Sensor Module with ESP32 | Touch-Activated Possibilities | English Subtitle
Просмотров 1288 месяцев назад
TTP224 4-Channel Touch Sensor Module with ESP32 | Touch-Activated Possibilities | English Subtitle
L298N DC Motor Driver & KY-023 Dual Axis Joystick with Arduino | Two Motors | English Subtitle
Просмотров 1728 месяцев назад
L298N DC Motor Driver & KY-023 Dual Axis Joystick with Arduino | Two Motors | English Subtitle
KY-026 Flame Sensor Module with ESP32 | Arduino | Example Code | English Subtitle
Просмотров 6969 месяцев назад
KY-026 Flame Sensor Module with ESP32 | Arduino | Example Code | English Subtitle
How to use Rotary Encoder KY-040 Module with Arduino | 128x32 I2C OLED Display | English Subtitle
Просмотров 2049 месяцев назад
How to use Rotary Encoder KY-040 Module with Arduino | 128x32 I2C OLED Display | English Subtitle
128x32 I2C OLED Display & 4x4 Matrix Keypad with ESP32 | Example Code | English Subtitle
Просмотров 1809 месяцев назад
128x32 I2C OLED Display & 4x4 Matrix Keypad with ESP32 | Example Code | English Subtitle
Arduino Alarm | DS3231 RTC Module, 128x32 I2C OLED Display, Push Button, LED, Buzzer | Example Code
Просмотров 3789 месяцев назад
Arduino Alarm | DS3231 RTC Module, 128x32 I2C OLED Display, Push Button, LED, Buzzer | Example Code
Sir code please........
Could you explain more.I am interested in this.
Can i make the same setup for 6 tubelights in one room
Gövdeyi nerden temin edebiliriz
Great video man, thanks a lot.
Hello, isn't it necessary to connect a capacitor between our voltage source and the driver? Most of the driver and stepper motor diagrams often include a capacitor in the circuit. I'd be more than grateful to know why it is not included in this case.
Can anyone explain me the procedure of doing this pleasee
can we use it without pc with battery
Use resistor 220ohm its work??
Works fine! Simple and real. Good job. Thank you from France (My config ESP32-Wroom-32D+HC-SR04)
const int pirPin = 2; // PIR sensor pin const int ledPin = 13; // LED pin (can change to another pin if needed) // Variable to store PIR sensor state int pirState = LOW; // Start with no motion detected unsigned long lastMotionTime = 0; // Tracks the last time motion was detected const unsigned long delayTime = 3000; // 3 seconds delay time void setup() { pinMode(ledPin, OUTPUT); // Set LED pin as output pinMode(pirPin, INPUT); // Set PIR sensor pin as input Serial.begin(9600); // Initialize serial monitor for debugging } void loop() { // Read the PIR sensor int sensorValue = digitalRead(pirPin); if (sensorValue == HIGH) { // If motion is detected if (pirState == LOW) { Serial.println("Motion detected!"); digitalWrite(ledPin, HIGH); // Turn on the LED pirState = HIGH; // Update state to show motion detected
Do you have the pin connection on the ESP32 board? Please share the code too.
Amazing!
Can you provide circuit picture please I have done everything but after uploading code current temperature not showing on LCD also set temperature increasing on its own .
Send the code
HELLO PLEASE REPLY CODE IS SHOWING THAT POSITIVE NOT DECLARED
how much cost will require for this project
5 thousand
บอร์ดชื้อได้ที่ไหนครับ
It is showing error, please use appropriate library
What about modules without i2c
Great build. Just a comment on video editing; you just need to show the process and end result in about 5-8 seconds per shot in order to keep the viewer engaged. It will give you more views and screen time
You must connect the joystick to the 3V not to the 5V. If you connect it to the 5v it will not work properly.
Dove posso avere la parte stampata in 3D?
Per favore, puoi condividere le risorse per provare a costruirne uno?
what software are you using for the foil patter?
Bro, how to Contact you?
Hello, can you share the code in the comment ? Btw. thanks for interesting projects
Bro where is code ?
Hi where can i find this libraries? <ClickEncoder.h> and <TimerOne.h>
Ur project is so useful sir. 🎉❤
const int soundSensorPin = 2; // Sound sensor digital output pin const int ledPin = 13; // LED pin int soundState = 0; // Variable to store the state of the sound sensor int lastSoundState = 0; // Variable to store the last state of the sound sensor int ledState = LOW; // Variable to store the state of the LED (LOW means OFF) unsigned long lastClapTime = 0; // Stores the time of the last detected clap const unsigned long debounceDelay = 500; // Time in milliseconds to wait after detecting a clap void setup() { pinMode(soundSensorPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); // For debugging purposes } void loop() { soundState = digitalRead(soundSensorPin); // Detect a rising edge: the moment the sound sensor goes from LOW to HIGH if (soundState == HIGH && lastSoundState == LOW && (millis() - lastClapTime) > debounceDelay) { ledState = !ledState; // Toggle the LED state digitalWrite(ledPin, ledState); // Set the LED to the new state Serial.println(ledState == HIGH ? "LED turned ON" : "LED turned OFF"); lastClapTime = millis(); // Update the last clap time } lastSoundState = soundState; // Update the last sound state }
Great 🙏🏼
Good vídeo 👌🫶🏼
Creative video, always keep it up, thank you :)
thank you sir for sharing your knowledge and the code .Sir can you please make a video to make menu using buttons if you can
Great video
What vcr did you get the motor from?
It was from a sony VCR, i couldn't remember the model number.
Works like a Charm.... Thanks a lot Bro
// Define pins const int motorIn1 = 2; const int motorIn2 = 3; const int enableA = 9; // for speed control const int buttonPin = 4; const int potPin = A0; // potentiometer connected to analog pin A0 // Variables to store button state and motor state int buttonState = 0; int lastButtonState = 0; bool motorRunning = false; void setup() { // Set motor control pins as outputs pinMode(motorIn1, OUTPUT); pinMode(motorIn2, OUTPUT); pinMode(enableA, OUTPUT); // Set button pin as input pinMode(buttonPin, INPUT); // Start with motor off digitalWrite(motorIn1, LOW); digitalWrite(motorIn2, LOW); analogWrite(enableA, 0); // Speed 0 } void loop() { // Read the state of the button buttonState = digitalRead(buttonPin); // Check if the button has been pressed (transition from LOW to HIGH) if (buttonState == HIGH && lastButtonState == LOW) { // Toggle motor state motorRunning = !motorRunning; // Debounce delay delay(50); } // Save the current button state as the last state lastButtonState = buttonState; // Read the potentiometer value and map it to the PWM range (0-255) int potValue = analogRead(potPin); int speed = map(potValue, 0, 1023, 0, 255); if (motorRunning) { // If motor is running, set the motor speed based on the potentiometer value digitalWrite(motorIn1, HIGH); digitalWrite(motorIn2, LOW); analogWrite(enableA, speed); // Set speed based on potentiometer value } else { // If motor is not running, stop the motor digitalWrite(motorIn1, LOW); digitalWrite(motorIn2, LOW); analogWrite(enableA, 0); // Speed 0 } }
Woah, thanks :)
#include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #include <RTClib.h> #define SCREEN_WIDTH 128 // OLED display width, in pixels #define SCREEN_HEIGHT 64 // OLED display height, in pixels #define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin) Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET); RTC_DS3231 rtc; void setup() { Serial.begin(9600); // Initialize the OLED display if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) { // Address 0x3C for 128x64 Serial.println(F("SSD1306 allocation failed")); for(;;); // Don't proceed, loop forever } // Initialize the DS3231 RTC if (!rtc.begin()) { Serial.println("Couldn't find RTC"); while (1); } if (rtc.lostPower()) { Serial.println("RTC lost power, let's set the time!"); // The following line sets the RTC to the date & time this sketch was compiled rtc.adjust(DateTime(F(__DATE__), F(__TIME__))); // Uncomment the next line to set the date & time manually // rtc.adjust(DateTime(2024, 5, 25, 12, 0, 0)); } display.display(); delay(2000); // Pause for 2 seconds display.clearDisplay(); } void loop() { DateTime now = rtc.now(); // Clear the buffer display.clearDisplay(); display.setTextSize(2); // Larger text size display.setCursor(22, 0); display.print("DoIt.20"); // Display the current date display.setTextSize(1); // Larger text size display.setCursor(0, 25); display.print("Date: "); display.print(now.year(), DEC); display.print('/'); if (now.month() < 10) display.print('0'); display.print(now.month(), DEC); display.print('/'); if (now.day() < 10) display.print('0'); display.print(now.day(), DEC); // Display the current time display.setTextSize(2); // Larger text size display.setTextColor(SSD1306_WHITE); display.setCursor(0, 40); // display.print("Time: "); if (now.hour() < 10) display.print('0'); display.print(now.hour()); display.print(':'); if (now.minute() < 10) display.print('0'); display.print(now.minute()); display.print(':'); if (now.second() < 10) display.print('0'); display.print(now.second()); // Show the buffer on the display display.display(); // Wait for a second before updating delay(1000); }
const int potPin = 34; // Analog input pin for potentiometer on ESP32 const int ledPin = 5; // PWM enabled pin for LED on ESP32 void configurePWM() { const int freq = 5000; // PWM frequency const int ledChannel = 0; // PWM channel const int resolution = 8; // PWM resolution (8 bits) // Configure LED PWM functionalities ledcSetup(ledChannel, freq, resolution); // Attach the channel to the GPIO to be controlled ledcAttachPin(ledPin, ledChannel); } void setup() { pinMode(potPin, INPUT); // Set the potentiometer pin as input configurePWM(); // Configure PWM for the LED } void loop() { int sensorValue = analogRead(potPin); // Read potentiometer value (0-4095 on ESP32) int brightness = map(sensorValue, 0, 4095, 0, 255); // Map potentiometer value to LED brightness (0-255) ledcWrite(0, brightness); // Set LED brightness using PWM on channel 0 }
hello i already sent to you a message in skype
hi good day i already sent a message to your skype
#include <Servo.h> // Define pins for servos and joystick #define X_AXIS_PIN A0 #define Y_AXIS_PIN A1 #define X_AXIS_SERVO_PIN 9 #define Y_AXIS_SERVO_PIN 10 Servo xServo; Servo yServo; // Define constants for controlling smoothness #define SERVO_STEP_DELAY 10 // Delay between each step (ms) #define SERVO_STEP_AMOUNT 2 // Amount to change angle in each step void setup() { // Initialize servos and joystick xServo.attach(X_AXIS_SERVO_PIN); yServo.attach(Y_AXIS_SERVO_PIN); pinMode(X_AXIS_PIN, INPUT); pinMode(Y_AXIS_PIN, INPUT); } void loop() { // Read joystick values int xValue = analogRead(X_AXIS_PIN); int yValue = analogRead(Y_AXIS_PIN); // Map joystick values to servo angles (0-180) int xTargetAngle = map(xValue, 0, 1023, 0, 180); int yTargetAngle = map(yValue, 0, 1023, 0, 180); // Gradually move servos to the mapped angles moveServoSmoothly(xServo, xTargetAngle); moveServoSmoothly(yServo, yTargetAngle); } void moveServoSmoothly(Servo &servo, int targetAngle) { int currentAngle = servo.read(); if (currentAngle != targetAngle) { int stepAmount = (targetAngle > currentAngle) ? SERVO_STEP_AMOUNT : -SERVO_STEP_AMOUNT; while (currentAngle != targetAngle) { currentAngle += stepAmount; servo.write(currentAngle); delay(SERVO_STEP_DELAY); } } }
pls reply to me as soon as possible we need yo thanks
Thank "s
const int ledPin = 14; // Pin to which LED is connected (you can change this pin) const int buttonPin = 15; // Pin to which button is connected (you can change this pin) bool ledOn = false; // Flag to indicate LED status unsigned long lastDebounceTime = 0; // Last time the button pin was toggled unsigned long debounceDelay = 50; // Debounce time in milliseconds void setup() { pinMode(ledPin, OUTPUT); // Set LED pin as output pinMode(buttonPin, INPUT_PULLUP); // Set button pin as input with pull-up resistor } void loop() { int buttonState = digitalRead(buttonPin); // Check if the button is pressed and debounce the input if (buttonState == LOW && (millis() - lastDebounceTime) > debounceDelay) { lastDebounceTime = millis(); // Button is pressed ledOn = !ledOn; // Toggle LED status // Update LED state digitalWrite(ledPin, ledOn ? HIGH : LOW); } }
#include <Servo.h> // Define pins for servo and joystick #define SERVO_PIN 9 #define JOYSTICK_X A0 #define JOYSTICK_Y A1 Servo myServo; void setup() { // Initialize servo and joystick myServo.attach(SERVO_PIN); pinMode(JOYSTICK_X, INPUT); pinMode(JOYSTICK_Y, INPUT); } void loop() { // Read joystick values int xValue = analogRead(JOYSTICK_X); int yValue = analogRead(JOYSTICK_Y); // Map joystick values to servo angles (0-180) int angle = map(xValue, 0, 1023, 0, 180); // Move servo to the mapped angle myServo.write(angle); // Delay for stability delay(50); }
Can the code be used on the mg996r servo?
Hi, please can I get the code to this project?
Download Link on the description
// Pin configurations const int transmitterPin = 10; // Pin connected to the laser transmitter const int receiverPin = 11; // Pin connected to the receiver const int ledPin = LED_BUILTIN; // Pin connected to the LED void setup() { // Initialize serial communication Serial.begin(9600); // Set transmitter pin as output pinMode(transmitterPin, OUTPUT); // Set receiver pin as input pinMode(receiverPin, INPUT); // Set LED pin as output pinMode(ledPin, OUTPUT); } void loop() { // Transmit laser signal digitalWrite(transmitterPin, HIGH); delay(10); // Adjust delay as needed // Check receiver int receiverState = digitalRead(receiverPin); // If receiver receives the laser, turn on LED, otherwise turn it off if (receiverState == HIGH) { Serial.println("Laser detected!"); digitalWrite(ledPin, HIGH); // Turn on LED } else { Serial.println("No laser detected."); digitalWrite(ledPin, LOW); // Turn off LED } // Delay before next loop iteration delay(1000); // Adjust delay as needed }