How to make colour sorting Machine using Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 95

  • @djfago6240
    @djfago6240 3 ปีที่แล้ว +3

    This is so cool. I am a fan of your channel. Going back to school this year to learn industrial automation. With love from Belgium 🇧🇪

  • @diegosuarez5473
    @diegosuarez5473 5 ปีที่แล้ว +5

    Jajahaha the mini doors are so cool broh, keep going please and congratulations

  • @NeedToDIY
    @NeedToDIY 4 ปีที่แล้ว +2

    The mini printed box for the elettronic!! so cute!

  • @Melkano
    @Melkano 5 ปีที่แล้ว +36

    Where is the code?

    • @aryanhighschool7808
      @aryanhighschool7808 3 ปีที่แล้ว +5

      yes bro the code is important for this project

    • @SritamTripathy-gs9yd
      @SritamTripathy-gs9yd 4 หลายเดือนก่อน

      ​@@aryanhighschool7808bro give the program code

  • @electronic7979
    @electronic7979 5 ปีที่แล้ว +2

    Excellent project 👍 very good. I like it.👍

  • @florencemuloongo7264
    @florencemuloongo7264 2 ปีที่แล้ว +1

    I'm working on an egg grading machine and I'm using a similar principal but I'm using a loadcell sensor,I'm having challenges stoping and starting the motor depending on the output

  • @arduinoprojets4718
    @arduinoprojets4718 5 ปีที่แล้ว +22

    The important element in this project is the code,
    share it with the viewers please

    • @prakashv5476
      @prakashv5476 3 ปีที่แล้ว +3

      Reference for coding and wiring of above project is
      interestingengineering.com/video/make-your-very-own-arduino-based-color-candy-sorting-machine?fbclid=IwAR218zBq03LwtIUlU2CS-Zt5OJ3SetoEdObYuyuQbqc_JnUthWsW20Cikjk

    • @arduinoprojets4718
      @arduinoprojets4718 2 ปีที่แล้ว +1

      @@prakashv5476 Sorry, there is nothing in the code that indicates Stepper Motors
      Is Stepper Motors moving like crazy?
      We need an answer from you, thank you
      #include
      #define S0 2
      #define S1 3
      #define S2 4
      #define S3 5
      #define sensorOut 6
      Servo topServo;
      Servo bottomServo;
      int frequency = 0;
      int color=0;
      void setup() {
      pinMode(S0, OUTPUT);
      pinMode(S1, OUTPUT);
      pinMode(S2, OUTPUT);
      pinMode(S3, OUTPUT);
      pinMode(sensorOut, INPUT);
      // Setting frequency-scaling to 20%
      digitalWrite(S0, HIGH);
      digitalWrite(S1, LOW);
      topServo.attach(7);
      bottomServo.attach(8);
      Serial.begin(9600);
      }
      void loop() {
      topServo.write(115);
      delay(500);

      for(int i = 115; i > 65; i--) {
      topServo.write(i);
      delay(2);
      }
      delay(500);

      color = readColor();
      delay(10);
      switch (color) {
      case 1:
      bottomServo.write(50);
      break;
      case 2:
      bottomServo.write(75);
      break;
      case 3:
      bottomServo.write(100);
      break;
      case 4:
      bottomServo.write(125);
      break;
      case 5:
      bottomServo.write(150);
      break;
      case 6:
      bottomServo.write(175);
      break;

      case 0:
      break;
      }
      delay(300);

      for(int i = 65; i > 29; i--) {
      topServo.write(i);
      delay(2);
      }
      delay(200);

      for(int i = 29; i < 115; i++) {
      topServo.write(i);
      delay(2);
      }
      color=0;
      }
      // Custom Function - readColor()
      int readColor() {
      // Setting red filtered photodiodes to be read
      digitalWrite(S2, LOW);
      digitalWrite(S3, LOW);
      // Reading the output frequency
      frequency = pulseIn(sensorOut, LOW);
      int R = frequency;
      // Printing the value on the serial monitor
      Serial.print("R= ");//printing name
      Serial.print(frequency);//printing RED color frequency
      Serial.print(" ");
      delay(50);
      // Setting Green filtered photodiodes to be read
      digitalWrite(S2, HIGH);
      digitalWrite(S3, HIGH);
      // Reading the output frequency
      frequency = pulseIn(sensorOut, LOW);
      int G = frequency;
      // Printing the value on the serial monitor
      Serial.print("G= ");//printing name
      Serial.print(frequency);//printing RED color frequency
      Serial.print(" ");
      delay(50);
      // Setting Blue filtered photodiodes to be read
      digitalWrite(S2, LOW);
      digitalWrite(S3, HIGH);
      // Reading the output frequency
      frequency = pulseIn(sensorOut, LOW);
      int B = frequency;
      // Printing the value on the serial monitor
      Serial.print("B= ");//printing name
      Serial.print(frequency);//printing RED color frequency
      Serial.println(" ");
      delay(50);
      if(R32 & G55){
      color = 1; // Red
      }
      if(G43 & B35){
      color = 2; // Orange
      }
      if(R40 & G40){
      color = 3; // Green
      }
      if(R24 & G30){
      color = 4; // Yellow
      }
      if(R46 & G55){
      color = 5; // Brown
      }
      if (G45 & B26){
      color = 6; // Blue
      }
      return color;
      }

    • @kushwanthbyragoni
      @kushwanthbyragoni ปีที่แล้ว +2

      @@prakashv5476 that code is having errors

  • @Parth_188
    @Parth_188 5 ปีที่แล้ว +1

    Awsome machine liked it

  • @kevinhoublon8630
    @kevinhoublon8630 2 ปีที่แล้ว +2

    Hello, great video 😄.
    At 7:49, What is the name of the black components you put on the pcb?
    Thank you in advance.
    Cordially.

    • @kevinhoublon8630
      @kevinhoublon8630 ปีที่แล้ว

      @Majeed's Gaming Hello, thank you very much 😁.
      Have a nice week 😄.
      Cordially.

  • @3xAudio
    @3xAudio 4 ปีที่แล้ว +2

    I can't wait to use the colour sensor in more of my projects. so many possibilities. I Like how you shot this video i might learn from it for my future videos and projects.

  • @gwharton68
    @gwharton68 4 ปีที่แล้ว +2

    Would be a fun project to build, but without the code for the PCB layout and the code to operate it with it is pretty much a waste.

  • @jair4666
    @jair4666 2 ปีที่แล้ว +1

    Puedo utilizar fragmentos del video para un curso? (se va a comercializar el curso) Usaría del minuto 0:14 al 0:47

  • @petiovelev97
    @petiovelev97 4 ปีที่แล้ว +1

    Hello, Can I replace the sensor with an arduino camera like OV7670 VGA camera? Should I use the same modules if i use an arduino camera? My idea is: the camera will take a picture of the object, then it will take a histogram of the picture or another process which takes the color of the object and recognize the color of the object. Everything is the same in process but I only want to change the sensor with camera.

  • @estebanyanson
    @estebanyanson ปีที่แล้ว

    Consulta. De qué manera puedo detectar que se enciende el led rojo de otro aparato sin que influya la luz ambiente?
    Tengo un electrodomestico que cuando termina enciende un led rojo pero no hace zumbido y quiero detectar ese led para hacer el zumbido yo.
    Gracias

  • @certified-forklifter
    @certified-forklifter 5 ปีที่แล้ว +1

    great work buddy

  • @samuelfellows6923
    @samuelfellows6923 5 ปีที่แล้ว +1

    err.. has put a fan on the rear of cabinet, but has not drilled additional vent holes? - where is he expecting the air/heat to escape from, the cable hole at the bottom? = if used for a long time, i'd expect the arduino will overheat and then what would he do? ug at it/open the doors to let it cool down, [if installing a fan on a sealed box/chamber = you should make a second vent to allow the air to be displaced (logical/scientific) explanation]

  • @mrindian5455
    @mrindian5455 5 ปีที่แล้ว

    Did u prepare your own arudino

  • @mucahitozdemir2476
    @mucahitozdemir2476 3 ปีที่แล้ว

    If I use Arduino uno instead of Arduino nano, how should the system's connection and codes be?
    Can you please help me?

  • @panettron
    @panettron 2 ปีที่แล้ว

    Amazing work!

  • @sudarshan0507
    @sudarshan0507 2 ปีที่แล้ว

    Can we do this with other colour sensors

  • @saravanakumar2765
    @saravanakumar2765 5 ปีที่แล้ว +1

    Nice job

  • @PASStaCreations
    @PASStaCreations 5 ปีที่แล้ว +7

    Bro code for this

    • @prakashv5476
      @prakashv5476 3 ปีที่แล้ว

      interestingengineering.com/video/make-your-very-own-arduino-based-color-candy-sorting-machine?fbclid=IwAR218zBq03LwtIUlU2CS-Zt5OJ3SetoEdObYuyuQbqc_JnUthWsW20Cikjk

  • @robertocameto487
    @robertocameto487 ปีที่แล้ว +1

    In the web page, refering to this project, there is a text code which seems to be wrong, because it refers to two servo motors (high and bottom), but the project includes a stepper mototr

  • @augustinetembo9988
    @augustinetembo9988 2 ปีที่แล้ว +1

    Can't seem to find the code for the color sorting machine

    • @AdarshTheTechi
      @AdarshTheTechi หลายเดือนก่อน

      Have you found solution?

  • @learnwithjd8192
    @learnwithjd8192 5 ปีที่แล้ว +2

    Code is where?

  • @designartgermanyhamm5394
    @designartgermanyhamm5394 3 ปีที่แล้ว

    Leider Sketch ist nicht für stepmotor Einleitung mit falschen sketch

  • @RaviShankar-lm3xn
    @RaviShankar-lm3xn 2 ปีที่แล้ว

    sir problem in rotating bottom servo motor please help

  • @tomyhardiansyah47
    @tomyhardiansyah47 4 ปีที่แล้ว

    very good bro

  • @mohamedayman8550
    @mohamedayman8550 5 ปีที่แล้ว +2

    Hi mr can you send me the arduino code of this colour sorting

  • @huyang8044
    @huyang8044 5 ปีที่แล้ว +2

    can you give me your code of this project ? please

  • @VijetaShidlihal
    @VijetaShidlihal 10 วันที่ผ่านมา

    Bro please send me the full circuit daigram of this sorting bot... 🙏

  • @arduinoprojets4718
    @arduinoprojets4718 2 ปีที่แล้ว +2

    Sorry, there is nothing in the code that indicates Stepper Motors
    Is Stepper Motors moving like crazy?
    We need an answer from you, thank you
    #include
    #define S0 2
    #define S1 3
    #define S2 4
    #define S3 5
    #define sensorOut 6
    Servo topServo;
    Servo bottomServo;
    int frequency = 0;
    int color=0;
    void setup() {
    pinMode(S0, OUTPUT);
    pinMode(S1, OUTPUT);
    pinMode(S2, OUTPUT);
    pinMode(S3, OUTPUT);
    pinMode(sensorOut, INPUT);
    // Setting frequency-scaling to 20%
    digitalWrite(S0, HIGH);
    digitalWrite(S1, LOW);
    topServo.attach(7);
    bottomServo.attach(8);
    Serial.begin(9600);
    }
    void loop() {
    topServo.write(115);
    delay(500);

    for(int i = 115; i > 65; i--) {
    topServo.write(i);
    delay(2);
    }
    delay(500);

    color = readColor();
    delay(10);
    switch (color) {
    case 1:
    bottomServo.write(50);
    break;
    case 2:
    bottomServo.write(75);
    break;
    case 3:
    bottomServo.write(100);
    break;
    case 4:
    bottomServo.write(125);
    break;
    case 5:
    bottomServo.write(150);
    break;
    case 6:
    bottomServo.write(175);
    break;

    case 0:
    break;
    }
    delay(300);

    for(int i = 65; i > 29; i--) {
    topServo.write(i);
    delay(2);
    }
    delay(200);

    for(int i = 29; i < 115; i++) {
    topServo.write(i);
    delay(2);
    }
    color=0;
    }
    // Custom Function - readColor()
    int readColor() {
    // Setting red filtered photodiodes to be read
    digitalWrite(S2, LOW);
    digitalWrite(S3, LOW);
    // Reading the output frequency
    frequency = pulseIn(sensorOut, LOW);
    int R = frequency;
    // Printing the value on the serial monitor
    Serial.print("R= ");//printing name
    Serial.print(frequency);//printing RED color frequency
    Serial.print(" ");
    delay(50);
    // Setting Green filtered photodiodes to be read
    digitalWrite(S2, HIGH);
    digitalWrite(S3, HIGH);
    // Reading the output frequency
    frequency = pulseIn(sensorOut, LOW);
    int G = frequency;
    // Printing the value on the serial monitor
    Serial.print("G= ");//printing name
    Serial.print(frequency);//printing RED color frequency
    Serial.print(" ");
    delay(50);
    // Setting Blue filtered photodiodes to be read
    digitalWrite(S2, LOW);
    digitalWrite(S3, HIGH);
    // Reading the output frequency
    frequency = pulseIn(sensorOut, LOW);
    int B = frequency;
    // Printing the value on the serial monitor
    Serial.print("B= ");//printing name
    Serial.print(frequency);//printing RED color frequency
    Serial.println(" ");
    delay(50);
    if(R32 & G55){
    color = 1; // Red
    }
    if(G43 & B35){
    color = 2; // Orange
    }
    if(R40 & G40){
    color = 3; // Green
    }
    if(R24 & G30){
    color = 4; // Yellow
    }
    if(R46 & G55){
    color = 5; // Brown
    }
    if (G45 & B26){
    color = 6; // Blue
    }
    return color;
    }

    • @Dark_v-sl2ks
      @Dark_v-sl2ks 6 หลายเดือนก่อน

      Is this code functional? I want to do the project but the code is not there and I want to know if it works.

  • @alfinmesakhena3802
    @alfinmesakhena3802 ปีที่แล้ว

    Sangat keren 👍👍

  • @electricalcoder3025
    @electricalcoder3025 4 ปีที่แล้ว

    Good project

  • @tharunv1885
    @tharunv1885 5 ปีที่แล้ว +2

    Bro where is the code .........

  • @popocolocoi6082
    @popocolocoi6082 5 ปีที่แล้ว

    Thank you for this content. I believe with this technology, Political issues will be easily addressed, and all the warm-blooded animals will live happily ever after.

  • @narensky8649
    @narensky8649 5 ปีที่แล้ว +1

    I make the cutting machine by seeing your video thanks for that but one problem stepper motor and servo motor is not working pls help.....
    And share u r email address to talk about the wire cutting machine
    THANK YOU.......

  • @joysarkar2600
    @joysarkar2600 4 ปีที่แล้ว +3

    Please give me code

  • @catherinejohnson9191
    @catherinejohnson9191 10 หลายเดือนก่อน

    Can I get the details of this project

  • @ShaikhShaikh-yz2kz
    @ShaikhShaikh-yz2kz 7 หลายเดือนก่อน

    Sir kya aap Tambrind Spoon 🥄 filling machine bana sakte ho

  • @catatanharianinstruktur5887
    @catatanharianinstruktur5887 2 ปีที่แล้ว

    could you please share source code file. its very inspire, cool

  • @Karlos_13
    @Karlos_13 ปีที่แล้ว

    descansas como si chambearas, donde esta el codigo?

  • @AAIschilling
    @AAIschilling 3 ปีที่แล้ว

    love the beat

  • @xBot-sn8cx
    @xBot-sn8cx ปีที่แล้ว

    Can I order this

  • @deliageabou4025
    @deliageabou4025 5 ปีที่แล้ว +2

    Code?

  • @EasyOne
    @EasyOne 5 ปีที่แล้ว

    good

  • @ronydebnath6250
    @ronydebnath6250 4 ปีที่แล้ว

    hello
    i need a video of size sorting machine using arduino
    can you make it??????????????

  • @nezhaplays
    @nezhaplays 4 ปีที่แล้ว +1

    Can i get the source code?

  • @iwanbadrussamsi5616
    @iwanbadrussamsi5616 5 ปีที่แล้ว

    Ada file garber nya ?

  • @thanghoang0205
    @thanghoang0205 4 ปีที่แล้ว

    Can i have a code for this, sir?

  • @electronicabasicacekit
    @electronicabasicacekit 5 ปีที่แล้ว

    Muy interesante, genial

  • @sunowarshaikh6534
    @sunowarshaikh6534 4 ปีที่แล้ว +1

    Sir plz send Ardunio code

  • @udaykumard4261
    @udaykumard4261 3 ปีที่แล้ว +1

    Code please

  • @LeonardoGarciaContreras-oe2er
    @LeonardoGarciaContreras-oe2er 8 หลายเดือนก่อน

    What is the really code ?

  • @elve44
    @elve44 4 ปีที่แล้ว

    Peux t'on avoir le code

  • @Nani-wu5iy
    @Nani-wu5iy 5 ปีที่แล้ว

    Icon..?

  • @KevinRamirez-ib9yk
    @KevinRamirez-ib9yk 6 หลายเดือนก่อน

    Y el codigo donde está el código 😊

  • @gokulff777
    @gokulff777 5 หลายเดือนก่อน

    Bro code u have

  • @HammadAli-tq7se
    @HammadAli-tq7se 7 หลายเดือนก่อน

    i want arduino code of this machine

  • @elve44
    @elve44 ปีที่แล้ว

    beaucoup de vos création il manque les codes pour les débutants c'est dommage

  • @prasoonpatel5408
    @prasoonpatel5408 5 ปีที่แล้ว

    Bhai code kaha h iska..?

  • @zouheirbenaissa-yahia6899
    @zouheirbenaissa-yahia6899 5 ปีที่แล้ว +1

    Mr innovation .. I want to make your project #colour sorting machine as a project to graduate from the university ... and I need the code of Arduino ... Help me please

    • @Hnejad
      @Hnejad 4 ปีที่แล้ว

      Zouheir Benaissa-Yahia Hi. What you did about the code.

  • @kishanrathod4477
    @kishanrathod4477 4 ปีที่แล้ว

    Kya aap ishe banake mujhe sell kar denge ?

  • @yongkipradana4571
    @yongkipradana4571 4 ปีที่แล้ว

    i Need code sir?

  • @rakeshmr3303
    @rakeshmr3303 3 ปีที่แล้ว

    can i get code

  • @atulgupta4098
    @atulgupta4098 5 ปีที่แล้ว

    bhai koi aise remote control car bano jiske agee koi bhi object aia to vo ruk jai acceliration dene par bhi

  • @Kingpunya
    @Kingpunya หลายเดือนก่อน +1

    Plywood

  • @vrushr3759
    @vrushr3759 4 ปีที่แล้ว

    Hello sir can you please upload video on 3d Medelling on fusion 360 of this project

  • @dheerajswaroopsm691
    @dheerajswaroopsm691 3 ปีที่แล้ว

    Code bro?

  • @zakichahboun4836
    @zakichahboun4836 2 ปีที่แล้ว

    hello brother can you sebd me code arduino please?

  • @saadslimati7469
    @saadslimati7469 2 ปีที่แล้ว

    please ineed a code

  • @gunterpietzsch3995
    @gunterpietzsch3995 4 ปีที่แล้ว +2

    As this guy seems not to be willing to share his knowledge, this might help:
    th-cam.com/video/CPUXxuyd9xw/w-d-xo.html
    The color sensing stuff is the most important part of the code. All other elements like stepper and servo control are pretty well explained in several othe videos.
    Hope this helps

  • @اسامهزياد-ي2ر
    @اسامهزياد-ي2ر 4 ปีที่แล้ว

    Need code bro

  • @LuizCamposTutoriais
    @LuizCamposTutoriais 5 ปีที่แล้ว

    Wow

  • @johndass-jc5fn
    @johndass-jc5fn ปีที่แล้ว

    b
    ro i need counting]

  • @luisdiegocarranza2234
    @luisdiegocarranza2234 2 ปีที่แล้ว

    I have source!!

  • @beneitez6443
    @beneitez6443 3 ปีที่แล้ว

    gg play loby

  • @dimauz1971
    @dimauz1971 5 ปีที่แล้ว

    Very bad channel! Does not communicate with visitors at all!

  • @Hnejad
    @Hnejad 4 ปีที่แล้ว +4

    Where is the code?

    • @MyMomHadMe
      @MyMomHadMe 7 หลายเดือนก่อน

      8:50 tehe

  • @silabmatthewg.936
    @silabmatthewg.936 5 ปีที่แล้ว +2

    code?

  • @slin3x33
    @slin3x33 7 หลายเดือนก่อน

    where's the code?

  • @syazanihusin2720
    @syazanihusin2720 11 หลายเดือนก่อน

    Code?

    • @tonyp4894
      @tonyp4894 2 หลายเดือนก่อน

      The code is in the FIRST comment.