Shop OBEX P1 Docs P2 Docs Learn Events
counting — Parallax Forums

counting

ArchiverArchiver Posts: 46,084
edited 2000-07-31 00:53 in General Discussion
Many industrial product counters use simple photoelectric emitters
and detectors to count the number of times the beam is broken between
the emitter/detector.

You could even take the time the beam is broken and the speed of the
conveyer system to indicate the length of each product passing through
the detector.

The BS2 count command makes this a very simple task.

Regards,

Bruce
http://www.rentron.com
webmaster@r...

Original Message
From: "Mohamed REFKY" <refky@h...>
To: <basicstamps@egroups.com>
Sent: Thursday, July 27, 2000 1:19 PM
Subject: [noparse][[/noparse]basicstamps] counting "artichoke"


| Hello,
| I would like to count Artichoke((fresh vegetable)) on a conveyor.
| What is the suitable sensor?
| Any idea would be appreciated?
|
| Thank You
| Mohamed Refky
| ________________________________________________________________________
| Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
|
|
|
|
|

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-07-28 01:19
    Hello,
    I would like to count Artichoke((fresh vegetable)) on a conveyor.
    What is the suitable sensor?
    Any idea would be appreciated?

    Thank You
    Mohamed Refky
    ________________________________________________________________________
    Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-28 03:34
    Hello,
    I would like to count "Artichoke" ((fresh vegetable)) on a conveyor.
    What is the suitable sensor?
    Any ideas would be appreciated.

    Thank You
    Mohamed Refky
    ________________________________________________________________________
    Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-28 19:55
    If the artichokes are more or less the same size, a close-range inductive or
    capacitive proximity sensor. Gives an open/closed contact depending on the
    presence of the artichoke or lack thereof.

    Mike

    >
    Mensaje original
    > De: Mohamed REFKY [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=1kqcuKfDE-8Qs7RNcHswPe3cPrE1O0RLMOMPSP6oPBBQMzNi4c6cR7ciWp35KoiS__J2VG_0clVW]refky@h...[/url
    > Enviado el: jueves, 27 de julio de 2000 23:35
    > Para: basicstamps@egroups.com
    > Asunto: [noparse][[/noparse]basicstamps] counting "artichoke"
    >
    >
    > Hello,
    > I would like to count "Artichoke" ((fresh vegetable)) on a conveyor.
    > What is the suitable sensor?
    > Any ideas would be appreciated.
    >
    > Thank You
    > Mohamed Refky
    > ________________________________________________________________________
    > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-28 20:10
    Greetings,

    On Fri, 28 Jul 2000, Miguel Puchol wrote:

    > If the artichokes are more or less the same size, a close-range inductive or
    > capacitive proximity sensor. Gives an open/closed contact depending on the
    > presence of the artichoke or lack thereof.
    >
    > Mike
    >
    > >
    Mensaje original
    > > De: Mohamed REFKY [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=0iOnm0AeeTYvP9Qwzs41ovF1hyE3GrMIXtvLKrWzPVv1pL8ujRSrvbnfY77k22HIU6o7-kxaMa12uA]refky@h...[/url
    > > Enviado el: jueves, 27 de julio de 2000 23:35
    > > Para: basicstamps@egroups.com
    > > Asunto: [noparse][[/noparse]basicstamps] counting "artichoke"
    > >
    > >
    > > Hello,
    > > I would like to count "Artichoke" ((fresh vegetable)) on a conveyor.
    > > What is the suitable sensor?
    > > Any ideas would be appreciated.


    Check out the IRODS "Infra Red Object Detection System" available at
    Parallax, Inc (and others). All the spec sheets and details are on
    their website (www.parallaxinc.com). Sells for about $34.

    IRODS has an adjustable pot that you set for the desired detection
    range (4"-31"). Here's a sample program to run it:

    START: high pin0 ' Make sure it sees a high to low...
    pause 3 ' ... transition
    low pin0 ' Begin measurement
    pause 56 ' Wait for measurement to be completed
    if in1=0 then OBJECT ' We have seen an Artichoke (on PIN1)
    goto start ' No object so we loop

    OBJECT: debug "Artichoke counted",cr
    artichoke=artichoke+1
    pause 250 ' Pause a 1/4 second (just cause I wanna)
    goto START


    That easy! :-)

    It works REALLY REALLY well.

    --- Jay

    /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/~~\
    | Jay Nugent jjn@n... |____|
    | Nugent Telecommunications www.nuge.com |
    | Web-Pegasus www.webpegasus.com |
    | (734)971-1076 (734)971-4529 /Fax |
    | |
    | ISP & Modem Performance Monitoring Svcs. |
    | Discount Reseller of 123.Net ISP Services|
    | Internet Consulting / Linux SysAdmin |
    | Web Hosting / DNS Hosting / Shell Accts. |
    | Embedded Controllers / Engr. & Design |
    /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/ |
    \_________________________________________\__/

    2:00pm up 78 days, 19:58, 5 users, load average: 0.00, 0.00, 0.00
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-31 00:53
    Thank you, this is really suitable sensor,I can connect multiple sensors
    using 1 BS2.
    How long could be the sensor's cable so that the device will be insensitive
    to voltage drop?


    >From: Jay Nugent <jjn@n...>
    >Reply-To: basicstamps@egroups.com
    >To: basicstamps@egroups.com
    >Subject: RE: [noparse][[/noparse]basicstamps] counting "artichoke"
    >Date: Fri, 28 Jul 2000 15:10:33 -0400 (EDT)
    >
    >Greetings,
    >
    >On Fri, 28 Jul 2000, Miguel Puchol wrote:
    >
    > > If the artichokes are more or less the same size, a close-range
    >inductive or
    > > capacitive proximity sensor. Gives an open/closed contact depending on
    >the
    > > presence of the artichoke or lack thereof.
    > >
    > > Mike
    > >
    > > >
    Mensaje original
    > > > De: Mohamed REFKY [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=21mR15vvdkhRRbzxVlsdXPWu0Z2DUsCP-wgHRo4HbMcXvSntircKWGPdBAi0imK-8goh78zcsJMmXA]refky@h...[/url
    > > > Enviado el: jueves, 27 de julio de 2000 23:35
    > > > Para: basicstamps@egroups.com
    > > > Asunto: [noparse][[/noparse]basicstamps] counting "artichoke"
    > > >
    > > >
    > > > Hello,
    > > > I would like to count "Artichoke" ((fresh vegetable)) on a conveyor.
    > > > What is the suitable sensor?
    > > > Any ideas would be appreciated.
    >
    >
    > Check out the IRODS "Infra Red Object Detection System" available at
    >Parallax, Inc (and others). All the spec sheets and details are on
    >their website (www.parallaxinc.com). Sells for about $34.
    >
    > IRODS has an adjustable pot that you set for the desired detection
    >range (4"-31"). Here's a sample program to run it:
    >
    >START: high pin0 ' Make sure it sees a high to low...
    > pause 3 ' ... transition
    > low pin0 ' Begin measurement
    > pause 56 ' Wait for measurement to be completed
    > if in1=0 then OBJECT ' We have seen an Artichoke (on PIN1)
    > goto start ' No object so we loop
    >
    >OBJECT: debug "Artichoke counted",cr
    > artichoke=artichoke+1
    > pause 250 ' Pause a 1/4 second (just cause I wanna)
    > goto START
    >
    >
    > That easy! :-)
    >
    > It works REALLY REALLY well.
    >
    > --- Jay
    >
    > /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/~~\
    > | Jay Nugent jjn@n... |____|
    > | Nugent Telecommunications www.nuge.com |
    > | Web-Pegasus www.webpegasus.com |
    > | (734)971-1076 (734)971-4529 /Fax |
    > | |
    > | ISP & Modem Performance Monitoring Svcs. |
    > | Discount Reseller of 123.Net ISP Services|
    > | Internet Consulting / Linux SysAdmin |
    > | Web Hosting / DNS Hosting / Shell Accts. |
    > | Embedded Controllers / Engr. & Design |
    > /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/ |
    > \_________________________________________\__/
    >
    > 2:00pm up 78 days, 19:58, 5 users, load average: 0.00, 0.00, 0.00
    >
    >
    >
    >

    ________________________________________________________________________
    Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Sign In or Register to comment.