How to make Turn counter (object counter) | IR sensor Based Counting Circuit

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

Комментарии • 226

  • @borsi99
    @borsi99 Год назад

    Thank you so much for sharing your project with code to us all!🙏🏼All the best to you! Bo 🇨🇭

  • @mftest100
    @mftest100 3 года назад +4

    Hi, Great video - though I have one question, in the video 1:03 you're connecting the I2C to the lcd display. Where did you get the female/female pinhead socket to make this connection ?
    Best regards

    • @skillmake
      @skillmake  3 года назад +1

      any electronic store

  • @MrTryit69
    @MrTryit69 3 года назад +5

    If you add keypad to select number of turns you want to achieve and let the motor stop when target reached you have realy helpfull machine

    • @BlasterOfTaints
      @BlasterOfTaints Месяц назад +1

      doing this now to turn a paper feeder into an envelope counter. Saved $30,000 this way.

  • @TomSilver_42
    @TomSilver_42 12 дней назад

    Not quite sure about OUT (yellow wire) to I2C bracket as your code seamed to be reading A0 pin. Is that right, or I misunderstood your design?
    It was not working as I expected, and so I simple redefined it in setup() { pinMode(13, INPUT); } and in loop I do then digitalRead(13) to get state and signals from OUT of IR sensor. It works this way for me. Anyway, thanks a lot for very simple demonstration and hint how to use those collision sensors.

  • @mr.rananowactive2992
    @mr.rananowactive2992 9 месяцев назад

    U r a genius. Thanks bro....

  • @JLCPCB
    @JLCPCB 2 года назад +1

    Very nice video! Good job 😁

  • @lyric6371
    @lyric6371 2 года назад

    Ini yang saya cari.. terimakasih banyak

  • @miftaaljifary3045
    @miftaaljifary3045 26 дней назад

    Very nice .. ❤

  • @AthayaNaja
    @AthayaNaja 7 месяцев назад +3

    Hey, your video is awesome! But I would like to ask you something,,, how to reset the counter without pushing the reset button?

    • @TomSilver_42
      @TomSilver_42 12 дней назад

      How about to add push button and read its state on one digital pin and then simply on button press re-write a screen via " mylcd.setCursor(0, 1); mylcd.print(0); mylcd.print(" =turn(s) "); " piece of code ??

  • @armandofalcon4648
    @armandofalcon4648 Год назад +1

    Awesome video! Is it possible to add a module adding the time? I mean, can I associate the count with a specific time? I could watch this all day!

  • @MdHusen-uc9nl
    @MdHusen-uc9nl 7 месяцев назад

    The code given is counting when the signal goes from low to high and high to low, so when a object comes and goes the count will be 2 but we need count as only 1

  • @austafederico
    @austafederico 2 года назад +2

    hello, you are the best! Can I ask you a question? Stop a motor when the count is at 100 for example, can it be done?

  • @chandimasamaranayake7544
    @chandimasamaranayake7544 10 месяцев назад

    Thanks , its working.
    in initial start, this show turn count=1, How to start with number 0.

  • @RixtronixLAB
    @RixtronixLAB Год назад

    Creative video, thank you for sharing :)

  • @MrBostjanVidmar
    @MrBostjanVidmar 16 часов назад

    Niece! Works in second :) Today I found this video, and by pure chance, I have this sensor. Would it be possible to program the rotational frequency as well? After all, all the necessary data is detected.

  • @junkasan4788
    @junkasan4788 Год назад +1

    Great video. Can you add target number of turns? Then a relay activates when target turn is reached?

  • @inthiyazg8452
    @inthiyazg8452 14 дней назад

    can we adjust IR sensor reading range? because i want to set gap bt 1 or 2 cm

  • @m0v13s3
    @m0v13s3 Год назад +1

    A great video, but i just want to know how can I make the turn to start at 0?

    • @melanyreyes7226
      @melanyreyes7226 10 месяцев назад

      Estoy en busca de esoo

    • @bainsuss12
      @bainsuss12 7 месяцев назад

      ​@@melanyreyes7226lo conseguiste?

  • @paulmanhart4481
    @paulmanhart4481 Год назад +1

    Hi. I’m interested in this for a rpm meter on my lathe. But I can’t follow what products you are using. Are there two separate products or one? I found the IR emitter and the IR emitter and receiver but they don’t look like what you have. Can you spell out exactly what you used?
    Thanks,
    Paul

    • @carlitaponluisa625
      @carlitaponluisa625 Год назад

      Hello, sorry that you modified the code to make a tachometer

  • @rohanraut4742
    @rohanraut4742 2 года назад +2

    Does the code only opens in laptop/pc cause it doesn't open in phone

  • @ahmadayyadi1979
    @ahmadayyadi1979 3 года назад +2

    Hi, great video. Can you explain to me how to make the counter starting from 0. Because it start with number 1. Can you help me?

    • @skillmake
      @skillmake  3 года назад

      Hello dear friend, please subscribe to my second channel so that I can create the content you deserve. Thank you. Just click on the link and subscribe to it.🙏🙏🙏🙏 ruclips.net/channel/UCBoZGn08nBAxE9M5T53_UKg

  • @trevorn4935
    @trevorn4935 3 года назад +2

    Great video i have a question . Are you able to make 1 count equal a different number . I have a machine and one rotation is 50 points . was looking at something like this for that situation. Thanks Also would it be able to count backwards.

    • @skillmake
      @skillmake  3 года назад

      Hello dear friend, please subscribe to my second channel so that I can create the content you deserve. Thank you. Just click on the link and subscribe to it.🙏🙏🙏🙏 ruclips.net/channel/UCBoZGn08nBAxE9M5T53_UKg

  • @lawalmohammed83
    @lawalmohammed83 9 месяцев назад +1

    Please Sir could the project be used for counting the number of oscillations of a pendulum ?

    • @mr.rananowactive2992
      @mr.rananowactive2992 8 месяцев назад

      Yes it can be used. Just make sure u calibrate the sensor properly.

  • @bikerdave19148
    @bikerdave19148 Год назад

    I was thinking of adding a display to count finished reloads on my reloading machine, I'm wondering if there's a way to add a "plus" and "minus" button input to add or subtract from the count, and a reset to put it back to zero

  • @Demo-n4o
    @Demo-n4o Год назад

    if multiple objects passed it at the same time, would it still count them as 1? is there a way for it to notice multiple object passing and count them each as 1?

  • @Learnpresskiran
    @Learnpresskiran Год назад

    How to implement programmable with cut off.
    Mean, we set no of turns count and after creating a sound or relay to cut off.

  • @stjoosme
    @stjoosme 2 года назад

    Thank you so much, I am waiting for all the components to arrive. How do you reset the counter?

  • @kaavyasreedhasarath5881
    @kaavyasreedhasarath5881 8 месяцев назад +2

    the code link is not responding , that is , it is not suggesting a right to access it instead it's suggesting unrelated apps and also denying view access in it

  • @hazimjumaa3987
    @hazimjumaa3987 2 года назад

    Tkank you very very good❤

  • @ghufi8695
    @ghufi8695 2 года назад

    Hi, good one - can you add more coding here. i want to turn stepper motor shaft and count its total turns same as you. but here i want to stop stepper motor after 120 rounds complete, and reset again so on.
    in 2nd project your coding is also working, but i want to put some sensor that if some mechanical part with come in front of sensor then motor start and turn counter counting starts. and when same mechanical part with reach to that sensor after working, motor stop immediately and turn counter show total turns.

  • @Deviswaram
    @Deviswaram 2 года назад

    Bro if we want to run that program should we connect to laptop all the time

  • @miftaaljifary3045
    @miftaaljifary3045 26 дней назад

    Can you make counter with auto on off

  • @anggiharian1002
    @anggiharian1002 Год назад

    Is work if we use clear/transparent part ?

  • @abihaifa
    @abihaifa 2 года назад

    Would you teach me how to make programable counter with click button?
    I have an idea to make tasbeeh counter using microcontroller with oled display that can be programed when it need to notify me each several times.
    Thank you

  • @A̸shuerma
    @A̸shuerma Год назад

    Can u plz tell me that it is bidirectional or unidirectional???

  • @sahilthakkar1555
    @sahilthakkar1555 Год назад

    Is there a list of links for things to order? Can I get it off amazon?

  • @fenilmehta3408
    @fenilmehta3408 Год назад

    What is the smallest size IR sensor can detect? can it count small Plastic bead?

  • @pan7589
    @pan7589 Год назад +1

    How about 3 sensor???

  • @WilfTV
    @WilfTV 10 месяцев назад

    Can you give the list of materials we need please, thank you

  • @quangmi3402
    @quangmi3402 2 месяца назад

    Can you guide and write code on how to move forward and backward, with a button that returns to 0?

  • @manez9691
    @manez9691 2 года назад

    sir i have some question, this is my code for proximity sensor :
    int state = digitalRead(IR_Sensor);
    if ((state == 0) && (hitObject == false)) {
    counter++;
    hitObject = true;
    Serial.print(counter);
    when I simulated in serial monitor, the sensor only read once and does not count. Please can you help me sir?? Thank you so much.

  • @HIM-EY
    @HIM-EY Год назад

    hey so, how do i make this system without using the lcd screen(data on pc screen) and save the data for future access?

  • @manjotsanghera6993
    @manjotsanghera6993 Год назад +1

    what if u keep an object infront of it, does the count still increases

    • @shahad.al_tofan
      @shahad.al_tofan Год назад

      No
      Only if the object pass the sensor

    • @hakashiff2403
      @hakashiff2403 Год назад

      @@shahad.al_tofan do you still have the code ?

    • @shahad.al_tofan
      @shahad.al_tofan Год назад

      @@hakashiff2403 The code is available in the description

    • @hakashiff2403
      @hakashiff2403 Год назад +1

      @@shahad.al_tofan i have open the link in the description, but now it’s unavailable to use it , do you have any other code ?

    • @shahad.al_tofan
      @shahad.al_tofan Год назад

      @Hakashi FF
      How can I send you the code? I have the code, however, you may don't have a suitable app to open up the code

  • @seyedmahdi3412
    @seyedmahdi3412 Год назад

    How many centimeters does the sensor function range?

  • @tomli7535
    @tomli7535 2 года назад

    can i use a different type of ir sensor?

  • @luissandoval3609
    @luissandoval3609 2 года назад

    The sketch that I followed from you I can't get get to count everything else looks good

  • @gamikawijenayake7551
    @gamikawijenayake7551 Год назад

    please tale me what changers should i do count 5 by 5

  • @bivouacrecording3412
    @bivouacrecording3412 2 года назад

    Hi! I only see the squares on my lcd. It doesn't go to the next screen with the text. I am using arduino uno and I have installed the latest Liquid Crystal I2C library. The screen illuminates but only squares show. Any suggestions? Thanks!

    • @bivouacrecording3412
      @bivouacrecording3412 2 года назад +1

      I figured it out, I had to set my address to 0x3F instead of 0x27

  • @lucyform4050
    @lucyform4050 2 года назад

    Hello, why does the sensor capture 2 counts when an object passes when i try it? Please help

  • @mithunkgowda5866
    @mithunkgowda5866 3 года назад

    can i measure some liquid kind of thing (like purity wise ) using the same concept

    • @skillmake
      @skillmake  3 года назад

      Hello dear friend, please subscribe to my second channel so that I can create the content you deserve. Thank you. Just click on the link and subscribe to it.🙏🙏🙏🙏 ruclips.net/channel/UCBoZGn08nBAxE9M5T53_UKg

  • @TheRealDoubleA
    @TheRealDoubleA 2 года назад

    Hiii nice video i have a question how do i make this without the lcd display

  • @mftest100
    @mftest100 3 года назад

    Hi, in the video you have the command lcd.init(); mentioned twice in the void setup - but when I use your programme in IDE this command is not included. When I try to include it, I get error message: "class LiquidCrystal_I2C" has no member named "init" - do you know why ?

  • @azrihafiz3982
    @azrihafiz3982 Год назад

    hye what if im using nodemcu esp8266, where the sensor it gonna be?

  • @bhlynks
    @bhlynks 2 года назад

    Hello, can the sensor have a wider ranger let's say 25m?
    Thank you

  • @carlitaponluisa625
    @carlitaponluisa625 Год назад

    Hello, sorry that I should increase in the code to make a tachometer, which allows me to measure rpm.

  • @victorybolaryn6532
    @victorybolaryn6532 2 года назад

    Please can this system work with vehicles ?

  • @ThamasBalaji-v9g
    @ThamasBalaji-v9g 2 месяца назад

    how can we change into only human couter in place of object

  • @darkknight2178
    @darkknight2178 3 года назад

    Thanks for this, but i have a problem. I connect all lines, code uploaded but in LCD display it;s not give me output like "Turn Counter" is there any problem. Display on but didn't see anything. Any solution..?

    • @skillmake
      @skillmake  3 года назад

      Hello dear friend, please subscribe to my second channel so that I can create the content you deserve. Thank you. Just click on the link and subscribe to it.🙏🙏🙏🙏 ruclips.net/channel/UCBoZGn08nBAxE9M5T53_UKg

  • @babyayalew8059
    @babyayalew8059 2 года назад

    Hey bro can we make it on seven segment display

  • @om25396
    @om25396 2 года назад

    Can we use ir sensor for counting seed (small size)???

    • @skillmake
      @skillmake  2 года назад

      yes you can

    • @om25396
      @om25396 2 года назад

      @@skillmake can you explain how?

  • @vagishgpatil3013
    @vagishgpatil3013 3 года назад

    Can this be done with atitiny85?

  • @MYTechElectronic
    @MYTechElectronic 3 года назад

    क्या इस के साथ 4 डिजिट led डिस्प्ले ad कर सकते हैं क्या

    • @skillmake
      @skillmake  3 года назад

      Hello dear friend, please subscribe to my second channel so that I can create the content you deserve. Thank you. Just click on the link and subscribe to it.🙏🙏🙏🙏 ruclips.net/channel/UCBoZGn08nBAxE9M5T53_UKg

  • @aayushmaanmishra4749
    @aayushmaanmishra4749 2 года назад

    Why my Arduino doesn't show the same serial ports. It shows ttyam0 something!! How to fix this?

  • @GabTheGamerGT
    @GabTheGamerGT Год назад

    i have a problem my lcd when i run the code my lcd just blinks and does nothing

  • @bhaveshwasnik1543
    @bhaveshwasnik1543 2 года назад

    bro i have got an error message
    pls reply fast and give me the solution of that
    its showing file directory is not found

  • @muhedinhashani4081
    @muhedinhashani4081 3 года назад +1

    mine isn't visible
    how do u fix it?
    pls reply fast

    • @skillmake
      @skillmake  3 года назад

      Hello dear friend, please subscribe to my second channel so that I can create the content you deserve. Thank you. Just click on the link and subscribe to it.🙏🙏🙏🙏 ruclips.net/channel/UCBoZGn08nBAxE9M5T53_UKg

  • @ManojKumar-Urugonda
    @ManojKumar-Urugonda 11 месяцев назад

    Can we required laptop after code run

  • @jaydipjagtap2154
    @jaydipjagtap2154 2 года назад

    bro mine display is not showing any text, only showing pixel cubes, what can I do?

  • @sreenath242
    @sreenath242 2 года назад

    Hi i am trying to implement one mobile application can we send this rotional information to API and how much cost we need to buy all this

  • @dammikajayasekara2298
    @dammikajayasekara2298 3 года назад

    Hi my friend,
    Thank you very much for this tutorial 😍❤️
    i made it. it works fine 😃🤗🤗
    Friend, I hoping to improve it and use it to control a machine. Can you help me to improve it?

  • @electronicsideas1361
    @electronicsideas1361 Год назад

    good. how to store or save this cunter. what i want is need memory

  • @Sehajpreet12
    @Sehajpreet12 2 года назад +1

    Bro Code is not download please give another link

  • @nazimsheikh5033
    @nazimsheikh5033 Год назад

    Display Backlight ON but no data Showing, IR sensor module is working. what to do? how to Fix this Problem. Please, Help Me. Regards.
    @skill Make

  • @sanjoyroy6418
    @sanjoyroy6418 3 года назад

    Can you help such counting but different type of obstacles count

  • @chetan_KD
    @chetan_KD 2 года назад

    Error compiling for board Arduino uno ,is comming what to do

  • @EA2006ROHANDILIPKHANTE
    @EA2006ROHANDILIPKHANTE 11 месяцев назад +1

    after all the steps, we stuck on the counting screen. Please help us with it.

  • @pavanmylapalli1049
    @pavanmylapalli1049 2 года назад

    suprb work and i want to use it in my project could u please help me to finish my project

  • @dhushanthanshanthan969
    @dhushanthanshanthan969 2 года назад

    when ir sensor detect time count will start how to make code for it

  • @kirtansantoki5485
    @kirtansantoki5485 2 года назад

    Hello sir the code link is not working can you please help ??

  • @NeevamSinghShekhawat
    @NeevamSinghShekhawat 2 месяца назад

    how to increase the distance of ir sensor

  • @deepaksoren7488
    @deepaksoren7488 2 года назад

    hiii can someone tell me from where can i buy these things?

  • @husseinoklah8839
    @husseinoklah8839 4 месяца назад

    How many counter i can connect to mega

  • @NicholasT-f9n
    @NicholasT-f9n Год назад

    how about UP & DOWN ?

  • @ninoportales5736
    @ninoportales5736 Год назад

    Hello can make Basketball arcade timer scorer with ir sensor

  • @hpwolf1843
    @hpwolf1843 6 месяцев назад

    bro it able to count falling water dops ......!

  • @divyajadhav537
    @divyajadhav537 2 года назад

    My counter is ready but display is not showing

  • @PRADEEPSHARMA-tx5vb
    @PRADEEPSHARMA-tx5vb Год назад

    Sir please tell me how to get massage on my phone after done counting every day

  • @etstudio1790
    @etstudio1790 9 месяцев назад

    good but why start from 1 not from 0 ?

    • @mr.rananowactive2992
      @mr.rananowactive2992 8 месяцев назад +1

      Mine started from 0, I used his codes.
      Probably while lifting sensor up, it got Triggered.

    • @etstudio1790
      @etstudio1790 8 месяцев назад +1

      @@mr.rananowactive2992 i know.. start with sensonr ON go from 0...

  • @lennieuwoudt9175
    @lennieuwoudt9175 3 года назад

    Hi, awesome but please help me, my counter only counts to 1, then no more

  • @abimanyu9828
    @abimanyu9828 Год назад

    MY CODE DOESN'T WORK, WHAT'S THE PROBLEM? EVEN THOUGH EVERYTHING IS TURNING ON, ONLY THE ARDUINO CODE FAILS. PLEASE ANSWER ME PLEASE😭😭😭😭

    • @erikkoenders1
      @erikkoenders1 Год назад

      I think because of your capslock, it’s on

  • @suryaalfiansyah6499
    @suryaalfiansyah6499 Месяц назад

    Mengapa yang terhubung vcc 5v ada 2

  • @vladoqwe9124
    @vladoqwe9124 Год назад

    Hi, thanks for sharing this great project. Could you modify the code for RPM counter? Thanks.

  • @tashwillafrika3322
    @tashwillafrika3322 3 года назад

    hi ive tried the code but get a error saying liquidcrystal_i2c: no such file or directory

    • @skillmake
      @skillmake  3 года назад +2

      Install the lcd library

    • @tashwillafrika3322
      @tashwillafrika3322 3 года назад

      Hi thanks I had to change lcd int to lcd begin

    • @skillmake
      @skillmake  3 года назад

      Hello dear friend, please subscribe to my second channel so that I can create the content you deserve. Thank you. Just click on the link and subscribe to it.🙏🙏🙏🙏 ruclips.net/channel/UCBoZGn08nBAxE9M5T53_UKg

  • @lawalmohammed83
    @lawalmohammed83 7 месяцев назад

    Please Sir,how to reset it to start from 0 instead of 1 ?

    • @NANA-rc8lo
      @NANA-rc8lo 2 месяца назад

      set
      into x= 0;
      into
      int x = -1;

  • @vaishnavigupta8013
    @vaishnavigupta8013 10 месяцев назад

    LiquidCrystal_I2C error any Solution?

  • @Sehajpreet12
    @Sehajpreet12 2 года назад +1

    Can you give me code in comment section

  • @rahulpagade335
    @rahulpagade335 Год назад

    Hey message doesn't display on my lcd screen what to do...?

  • @marcodigiuseppe6698
    @marcodigiuseppe6698 Год назад

    Ciao dove posso acquistare i componenti nel video

  • @sakshishriramojwar4962
    @sakshishriramojwar4962 Год назад

    Program upload nh ho ra sir😢

  • @vertix1914
    @vertix1914 Год назад +2

    Heloo where is the code !?

    • @multiscients2219
      @multiscients2219 11 месяцев назад

      I am just about to leave by seeing your comment with out seeing the link description 😅