Hey,
This blog is about the circuit that I've designed for my college project.
I've designed Object counter using PIC16F877 and used Op-Amp as comparator-LM324.
The circuit diagram and simulation is as under:
1).Sensor Circuit.
Working of Sensor:
2).Microcontroller Programming and Proteus Simulation:
I've done simulation in proteus. I couldn't find a way to give input from sensor to microcontroller for simulation. So, I've skipped that part and simulate only initialization of 16x2 LCD.
Programming is done in MPLAB using HI-Tech C Compiler. I've made my own library to use 16x2 LCD.I've made a simple mistake while programming that skips the counts of 10,20,30....etc.
So, whenever count reaches to 8,18,28..... it skips 9,19,29,..... and shows 10,20,30....etc.
The recording was done before I can edit my program.I made some modification after that and now the circuit works fine. So, hope you'll bear me for this video that was recorded before I can find my mistake.
Bill Of Materials
1 LDR
1 9V Battery
Some Photos
PS: To get proteus file or MPLAB coding file mail me or write your e-mail address in comment.
This blog is about the circuit that I've designed for my college project.
I've designed Object counter using PIC16F877 and used Op-Amp as comparator-LM324.
The circuit diagram and simulation is as under:
1).Sensor Circuit.
Working of Sensor:
- Resistance of LDR when light falls on it=7.8kΩ
- Resistance of LDR when light is blocked=19kΩ
- Voltage drop across R2 when light falls on LDR=1.42V
- Voltage drop across R2 when light is blocked by an object=0.7V
- Voltage given to comparator by potentiometer=1.38V
- Output Voltage from Comparator=2.17V
2).Microcontroller Programming and Proteus Simulation:
I've done simulation in proteus. I couldn't find a way to give input from sensor to microcontroller for simulation. So, I've skipped that part and simulate only initialization of 16x2 LCD.
Programming is done in MPLAB using HI-Tech C Compiler. I've made my own library to use 16x2 LCD.I've made a simple mistake while programming that skips the counts of 10,20,30....etc.
So, whenever count reaches to 8,18,28..... it skips 9,19,29,..... and shows 10,20,30....etc.
The recording was done before I can edit my program.I made some modification after that and now the circuit works fine. So, hope you'll bear me for this video that was recorded before I can find my mistake.
Bill Of Materials
U1 PIC16F877
U2 LM324
X1 4MHz Quartz Crystal
2 15pF Capacitor
1 16x2 JHD162A LCD
2 150Ω resistors
2 1kΩ resistors
2 IC Sockets
1 Yello LED in white
2 10k POT1 LDR
1 9V Battery
Some Photos
PS: To get proteus file or MPLAB coding file mail me or write your e-mail address in comment.
Hello sir i need the codes and simulation for the object counter could you please send it to my email raja000raja@gmail.com thank you.. i need it urgently
ReplyDeletehi... sir, do you mind share the proteus file and MPLAB coding with me. I am a student and interested to do this project. here my email zainur_5292@yahoo.com
ReplyDeletetq very much...
Hello sir i need the codes and simulation for the object counter could you please send it to my email nancy.cutin@gmail.com thank you.. i need it urgently for my project in Microprocessor.
ReplyDeleteYou have done a really great job..Can I get the code for the the counter? I would really appreciate it..I need it for my final year project..
ReplyDeleteMy email is nabil_2611@hotmail.com
ReplyDeletegreat job..here is my email jeffreyoaing@gmail.com
ReplyDeleteHello sir i need the codes and simulation for the object counter could you please send it to my email qzajmal@gmail.com thank you.. i need it with quad 7 segment display.
ReplyDeleteplease mail me the code and project details, thank you so much.
ReplyDeletesngh_stym@yahoo.com
Hello
ReplyDeleteYou did a great job. So if you don't mind can you send me the protus and the code.
My e-mail: kalarl@hotmail.com
And thank you very much.
hello ,
ReplyDeletethis is amaizng~ mind giving me the code and the protus
email : flower-child24@hotmail.com
thank u so much
vampiiluk@gmail.com
ReplyDeletearslanashraf46@gmail.com
ReplyDeletemarijastefanovski@yahoo.com
ReplyDeletehi sir nice project! i want the program please! vppadmanaban74@yahoo.in thank u!
ReplyDeletepls sir i need the code for bi-directional digital object counter for my project eaglesamchuks@yahoo.com, or eaglesamchuks@gmail.com, thanks
ReplyDeletesir pls send the code mplab
ReplyDeleteHi, can i have the proteus file and MPLAB coding file? Thankyou very much. my email address is je_14anne@hotmail.com
ReplyDeleteHi, can i have the proteus file and MPLAB coding file? Thankyou very much. my email address is je_14anne@hotmail.com
ReplyDeletenirmalmahen@gmail.com
ReplyDeleteI want coding and proteus file
ReplyDeleteHi, i would like the files my email is:
ReplyDeletecarlosmarinhobl@gmail.com
yassinechemingui4@gmail.com
ReplyDeleteHi..nice project..can i have the coding files? my email is aslamraub90@gmail.com.
ReplyDeletewaiting 4 ur good reply.tQ
nikkamil21@gmail.com
ReplyDeleteaks4arjun@gmail.com
ReplyDeleteerikluu.khailam@gmail.com
ReplyDeleteI am very thankful if you send me all the files of this project cause i am new to this. Thank you very much
Hi, can i have the proteus file and MPLAB coding file?
ReplyDeleteEmail-ID- mishras1132@gmail.com
Hello please can I have the code please :) >?
ReplyDeleteEmail : meguda25@gmail.com
Hi there ! Can I get the code for this project ? Thanks !
ReplyDeleteEmail : zombiemeaw@gmail.com
i need the codes email shubhampatna@gmail.com
ReplyDeleteHi, could your email the code to me?
ReplyDeletesoh2510@gmail.com
Plz mail me ...i am doing project of object counter using conveyor belt
ReplyDeleteyugalbhirud20@gmail.com
Deletehii sir i need proteus and hex file my mail is saichandu322@gmail.com
ReplyDeletegood day sir! can you send me the code and proteus file for this project. I am working on the same project right now. thanks in advance. email: claytoncrivera@gmail.com
ReplyDeleteCan you send me ir counter codes
ReplyDeletekasunm@sltc.edu.lk
hello can i get the codes?
ReplyDeleteEmail: yaan.uchiha29@gmail.com
Thanks!
This comment has been removed by the author.
ReplyDeleteHi, i would like to get the codes even though it's a long time after this post was uploaded.
ReplyDeleteEmail: nelson101096@gmail.com
Hello sir, would you plss send me the codes
ReplyDeleteHello sir,would you plss send me the codes
ReplyDeleteEmail-pravinrajbhar890@gmail.com
Hello sir i need the codes and simulation for the object counter could you please send it to my email kadamsiddhesh03@gmail.com thank you.. i need it urgently
ReplyDeleteHello sir I need the codes and simulation for the object counter can you send it to me? Thank you. This is my email rie123riee@gmail.com that would be a great help.
ReplyDeletehello sir would you please send the codes.
ReplyDeleteHello sir, i need the codes for object counter. Would you please send it to me. Thank you in advance. This is my email : srijisreenivasan6@gmail.com .
ReplyDeleteSaruntamilan16@gmail.com
ReplyDeleteHello sir i need the codes and simulation for the object counter could you please send it to my email sanjuweerawarna@gmail.com thank you.
ReplyDeleteHello sir, please can you share the codes to me and every other valuable material as I would love to recreate it, thanks so much in advance. My email is boluadediji@gmail.com
ReplyDeleteHi, can i have the proteus file and MPLAB coding file? my email address is rokfarm14@gmail.com
ReplyDeleteEmbedded Systems Institute in Delhi
ReplyDeletebiherbat@gmail.com please send to me code and proteus file
ReplyDeleteEmbedded Systems course in Gurgaon
ReplyDelete