0% found this document useful (0 votes)
11 views3 pages

Arduino Code Smart Bin 2

The document outlines the materials required to create an Arduino Smart Dustbin, including an Arduino Nano, ultrasonic sensor, and servo motor. It also references links to purchase the necessary components. Additionally, it mentions related posts about Arduino projects such as a car parking system and other Arduino code examples.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views3 pages

Arduino Code Smart Bin 2

The document outlines the materials required to create an Arduino Smart Dustbin, including an Arduino Nano, ultrasonic sensor, and servo motor. It also references links to purchase the necessary components. Additionally, it mentions related posts about Arduino projects such as a car parking system and other Arduino code examples.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Arduino Smart Dustbin

- January 07, 2023

Arduino Smart Dustbin

Materials Required:-
Plastic Waste Bin: - [Link]

MDF Board: - [Link]

Arduino Nano: -[Link]

Ultrasonic Sensor: - [Link]

9G Servo Motor: - [Link]

9V HW Battery: - [Link]

Jumper Wires :- [Link]

25V 2200uf Capacitor:- [Link]

Comments

Popular posts from this blog

Arduino Code Car Parking System

- March 07, 2024

// Created by Simple Circuits #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C


lcd(0x27,16,2); #include <Servo.h> Servo myservo; int IR1 = 2; int IR2 = 3; int Slot = 4; //Total
number of parking Slots int flag1 = 0; int flag2 = 0; void setup() { [Link](9600); [Link]();
//initialize the lcd [Link](); //open the backlight pinMode(IR1, INPUT); pinMode(IR2,
INPUT); [Link](4); [Link](100); [Link] (0,0); [Link](" ARDUINO ");
[Link] (0,1); [Link](" PARKING SYSTEM "); delay (2000); [Link](); } void loop(){
if(digitalRead (IR1) == LOW && flag1==0){ if(Slot>0){flag1=1; if(flag2==0){[Link](0); Slot =
Slot-1;} }else{ [Link] (0,0); [Link](" SORRY :( "); lc...

Read more

Arduino Code

- February 16, 2024

//define Pins #include <Servo.h> Servo servo; int trigPin = 11; int echoPin = 12; // defines variables
long duration; int distance; void setup() { [Link](13); [Link](180); delay(2000); //
Sets the trigPin as an Output pinMode(trigPin, OUTPUT); // Sets the echoPin as an Input
pinMode(echoPin, INPUT); } void loop() { // Clears the trigPin digitalWrite(trigPin, LOW);
delayMicroseconds(2); // Sets the trigPin on HIGH state for 10 micro seconds digitalWrite(trigPin,
HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); // Reads the echoPin, returns the sound
wave travel time in microseconds duration = pulseIn(echoPin, HIGH); // Calculating the distance
distance= duration*0.034/2; // Prints the distance on the Serial Monitor [Link]("Distance: ");
[Link](distance); if ( distance <= 25 ) // Change Distance according to Ultrasonic Sensor
Placement { [Link](180); delay(3000); ...

Read more

Circuit Diagram
- February 16, 2024

You might also like