Home
About Us
Achievement
Home
Raspberry-Pi Projects
_Raspberry Pi 4 Complete Guide
Arduino Project
_All Projects
Esp8266 Project
_All Projects
Esp32 Project
_Automation-with-feedback
How to Make a Conveyor Belt System | Counter Machine
Just Do Electronics
July 16, 2022
Block Diagram :-
Circuit Diagram :-
Code :-
//Prateek //www.prateeks.in //https://youtu.be/LA65y0QgLNQ #include "LiquidCrystal.h" LiquidCrystal lcd(12, 11, 10, 9, 8, 7); int irPin = 6; int count1 = 0; int irPin2 = 5; int count2 = 0; boolean state = true; boolean state1 = true; void setup() { Serial.begin(9600); lcd.begin(16, 2); pinMode(irPin, INPUT); lcd.setCursor(0, 0); lcd.print(" Hi Welcome To"); lcd.setCursor(0,1); lcd.print("JustDoElectronics"); delay(2000); lcd.setCursor(0, 0); lcd.print("Counter Machine"); lcd.setCursor(0, 1); lcd.print("..............."); delay(2000); lcd.clear(); } void loop() { if (!digitalRead(irPin) && state) { count1++; state = false; lcd.setCursor(0, 0); Serial.print("Large Bottle: "); lcd.print("Total Bottle:"); Serial.println(count1); lcd.setCursor(14, 0); lcd.print(count1); delay(100); } if (digitalRead(irPin)) { state = true; delay(100); } if (!digitalRead(irPin2) && state) { count2++; state1 = false; lcd.setCursor(0, 1); Serial.print("Large Bottle: "); lcd.print("Small Bottle:"); Serial.println(count2); lcd.setCursor(14, 1); lcd.print(count2); delay(100); } if (digitalRead(irPin2)) { state1 = true; delay(100); } }
Video
Result
0 Comments
Newer
Older
Build Your Own Gps Tracking System using Arduino
How To Make RFID & Keypad Based Door Lock
IoT Based Fingerprint Biometric Attendance System Using NodeMCU (Esp8266)
ESP32 Interfacing With LDR Sensor
Ultrasonic Sensor as a Counter with Arduino
IoT Based Patient Health Monitoring System Using Blynk App
Nodemcu Interfacing With Em-18
OTP Based Door Lock Using Arduino And SIM800L
Esp32 Cam Based Face Unlock
Measure CO2 Level in Air Using Arduino
YouTube
Like on Facebook
Follow on Twitter
Follow on Google+
Follow on Instagram
Subscribe on Youtube
Hi WelCome To My Website If you have a creative mind and want to learn Electronics even without studying it then FRIENDS this Website And Youtube Channel is for you, I am crazy creators who love making Electronics things. I have a bunch of more than 130 Tutorial Videos on My YouTube Channel and I upload a new Tutorial every Sunday.
Tags
Arduino Project
Esp32 Project
Esp8266 Project
0 Comments