Powerful-Hango

SMART DUSTBIN USING ARDUINO

The smart dustbin is an Arduino based project which is an innovative method to keep the city clean, top of the dustbin will open automatically when a person approaches the dustbin and get closed when he returns

smart dust bin

Working principle

Ultrasonic sensor work based on the ultrasonic sound, ultrasonic sensor continuously monitor the echo signal and detect the obstacle in front of the device if the obstacle is within the threshold range by using a mathematical formula (Distance (in cm) = (duration/2) / 29). then microcontroller and make a decision to open the cap of the dustbin by using a servo motor ,

Components

hexcodeplus
Arduino-Uno-Board-Pin-Configuration

Arduino – an introduction

Arduino is an opensource platform which is an easy to use hardware-based development, This development boards are commonly used Atmel based microcontroller which is programmed by using Arduino IDE(Integrated Development Environment). This freeware can be downloaded from the Arduino official site or use can program in a web-based platform named as Arduino create

project training

Key features

  • 16Mhz CLK speed
  • 1Kb EEPROM
  • 5v operating voltage
  • Input voltage can be vary from 7v to 12V(recommended)
  • The input voltage ranges from 6v to 20V
  • 14 Digital input/output pins
  • 6 Analog i/p pins
  • 40 mA DC Current for each input/output pin
  • Flash Memory is 32 KB
  • SRAM is 2 Kb

Pin diagram of arduino uno

Hexcodeplus

Arduino programming

Once you purchase Arduino UNO (buy now ) you can connect with the computer after installing Arduino ide, Then you need to choose the development board and port from the tools option

Adruino was written in C++ also with some other functions and specific methods which are called as a sketch in Arduino IDE and then it process and compiles to machine language

Serial monitoring

For open serial monitoring option, we can see a magnifying glass icon in the right top of the Arduino IDE. This tool is mainly used for interacting the Arduino development board with the computer. Which means this tool help to debug and monitoring of the real-time program similarly like serial monitor Arduino also have a serial plotter which helps to plot the graph of a realtime running Arduino application

Hexcodeplus