Do i need PC/MCU/PLC in project

Thread Starter

champ1

Joined Jun 4, 2018
136
I'm planning to design automatic system to read bar-code number, consider there are the bunch of cartoon moving one by one on convener belt n factory, so I need camera to scan bar-code one by one. I want to scan number more then 150 per minute

My main requirements system should be efficient, it shouldn't hang while working and it scan number more then 150 per minute

I don't understand which device (PC/MCU/PLC) is used to control camera ?
 
Last edited:

MaxHeadRoom

Joined Jul 18, 2013
30,665
I would think MCU would be optimum, the PLC would be the very last choice due to update time etc.
The PC may be possible using a real time factory floor network style system.
Max.
 

eetech00

Joined Jun 8, 2013
4,705
I'm planning to design automatic system to read bar-code number, consider there are the bunch of cartoon moving one by one on convener belt n factory, so I need camera to scan bar-code one by one. I want to scan number more then 150 per minute

My main requirements system should be efficient, it shouldn't hang while working and it scan number more then 150 per minute

I don't understand which device (PC/MCU/PLC) is used to control camera ?
Hi

To help make your choice, think in terms of what you will do with the data after it has been scanned.... for example..will it be used as part an inventory system? Perhaps a computer with various programs (including one for managing the camera(s)) would be best..

eT
 

ebp

Joined Feb 8, 2018
2,332
Are you talking about a video camera that would capture a raster image of the barcode or an actual barcode scanner?

Extracting the bar code from a raster image is a complex task. Doing with a PC is a difficult task if you can't get ready-to-use software. Doing it with an MCU would be a very big task if you can't obtain ready to use software. A PLC is probably completely out of the question.
 

Thread Starter

champ1

Joined Jun 4, 2018
136
I would think MCU would be optimum, the PLC would be the very last choice due to update time etc.
The PC may be possible using a real time factory floor network style system.
Max.
To help make your choiceeT
I'm confused between raspberry and PC. I'm thinking to use raspberry Pi but I am afraid. I'm not sure raspberry pi will work max 8\10 hours continuously in industry
Are you talking about a video camera that would capture a raster image of the barcode or an actual barcode scanner?.
Camera will be work as scanner. It will extract text from image

I want to scan the bar-code on the cartoon if I do manually it take lot of time That's why I want to set the automation for it. I want to make system that will scan more then 150 barcode number automatically

I have explained whatever I had in mind so if do you have any suggestion please let me know
 
Last edited:

shteii01

Joined Feb 19, 2010
4,644
1. Use bar code scanner.
2. Generally with bar code scanners an industrial pc is used.
3. If you go bar code scanner route, then scanner manufacturer will have software and guides on what is needed to get it running. You spend more money on the off the shelf product, but save money on development cost and actually deliver the system on time or earlier.
4. Just moving 150+ products a minute is actually a bit of a challenge.
 

eetech00

Joined Jun 8, 2013
4,705
I'm confused between raspberry and PC. I'm thinking to use raspberry Pi but I am afraid. I'm not sure raspberry pi will work max 8\10 hours continuously in industry

Camera will be work as scanner. It will extract text from image

I want to scan the bar-code on the cartoon if I do manually it take lot of time That's why I want to set the automation for it. I want to make system that will scan more then 150 barcode number automatically

I have explained whatever I had in mind so if do you have any suggestion please let me know
Does your application require good graphics? If so, forget about the Pi.

Is this for a business? If this is for a business you need to consider security as well.. Pi is very difficult to secure. If for business, Is there going to be more than one? If so, how will you manage them? These are all questions that need to be addressed.

eT
 

BR-549

Joined Sep 22, 2013
4,931
Does the orientation or position, of the bar code change as the carton goes by? Even if the camera image is necessary for other functions......I would recommend multiple bar scanners for 150 per minute.

Depending on operating conditions......other mods could make this task easier. Like aligning labels. Or a scanner "bank" or "battery".
 

Reloadron

Joined Jan 15, 2015
7,891
I'm planning to design automatic system to read bar-code number, consider there are the bunch of cartoon moving one by one on convener belt n factory, so I need camera to scan bar-code one by one. I want to scan number more then 150 per minute

My main requirements system should be efficient, it shouldn't hang while working and it scan number more then 150 per minute

I don't understand which device (PC/MCU/PLC) is used to control camera ?
If you wish to scan bar codes what you want is a bar code scanner. I have never heard of them referred to as a camera. They can be as simple as you wish or more complex depending on your needs. You mention a rate which is the Scan Rate but you do not mention distance known as Depth of field. Scan rates 500 scans per second are pretty common which is a 2.0 mSec scan rate. There is also Scan Angle and other characteristics. You can go with a scanner from a manufacturer like Adesso Nuscan line which are pretty common hand held versions which can be mounted or fixed position or something more complex like you see used in a super market or other retail establishment. Barcodes also use a wide range of Barcode Symbologies and all Bar Codes are not the same or created equally so decide the symbology of your choice. You need to decide your decoding capabilities.

Once you have the data what do you plan to do with it? I can plug a simple Bar Code scanner into a laptop USB port and dump the data into an Excel or similar spread sheet, I can dump it into a data base. I have endless possibilities so what is your plan for the data and how much data do you plan to acquire?

<EDIT> Something I forgot to mention earlier is there are also wireless bar code scanners which use anong other things Bluetooth as the wireless platform. These are great in applications where wired presents a problem. </EDIT>

Ron
 
Last edited:

Thread Starter

champ1

Joined Jun 4, 2018
136
I am updating my question

there are the bunch of cartoon moving one by one on convener belt in factory, There is one industrial printer printing code on cartoon one by one then camera is scanning code if the code is printed that's means cartoon accepted if there is no code or duplicate code printed on cartoon the cartoon will be rejected and send to dustbin

I'm planning to use one PC connected with USB camera, USB printer and one sensor. I think this is all I need to do my job

I have to write a program that will control printer and camera. I have I5 core computer and Now I am looking for USB camera and Printer.

anybody has experience with camera and printer for industrial purpose then please suggest me camera and printer ?

if you have any new suggestion regarding project please tell me
 

ArakelTheDragon

Joined Nov 18, 2016
1,366
I am updating my question

there are the bunch of cartoon moving one by one on convener belt in factory, There is one industrial printer printing code on cartoon one by one then camera is scanning code if the code is printed that's means cartoon accepted if there is no code or duplicate code printed on cartoon the cartoon will be rejected and send to dustbin

I'm planning to use one PC connected with USB camera, USB printer and one sensor. I think this is all I need to do my job

I have to write a program that will control printer and camera. I have I5 core computer and Now I am looking for USB camera and Printer.

anybody has experience with camera and printer for industrial purpose then please suggest me camera and printer ?

if you have any new suggestion regarding project please tell me
This will never work. Like said in the upper post a camera is not usable. You need a barcode scanner. The barcode scanner outputs the info to your PC and from your PC do what ever you want.
 

shteii01

Joined Feb 19, 2010
4,644
I am updating my question

there are the bunch of cartoon moving one by one on convener belt in factory, There is one industrial printer printing code on cartoon one by one then camera is scanning code if the code is printed that's means cartoon accepted if there is no code or duplicate code printed on cartoon the cartoon will be rejected and send to dustbin

I'm planning to use one PC connected with USB camera, USB printer and one sensor. I think this is all I need to do my job

I have to write a program that will control printer and camera. I have I5 core computer and Now I am looking for USB camera and Printer.

anybody has experience with camera and printer for industrial purpose then please suggest me camera and printer ?

if you have any new suggestion regarding project please tell me
The duplicate bar code is a problem. To know that it is duplicate, you need to read it, which means that bar code scanner is the superior choice. It seems that you have two action system:
Action 1: product at the scanner, probably use photo eye sensor
Action 2: scan the barcode
Then you use these two actions in your decision tree, like you wrote:
A. Product is present and bar code scanner inactive (no bar code on the product), reject
B. Product is present and bar code is duplicate, reject
C. Product is present and bar code is good, keep moving the line

You may need second photo eye to help control the flow of the product.
 

Reloadron

Joined Jan 15, 2015
7,891
The duplicate bar code is a problem. To know that it is duplicate, you need to read it, which means that bar code scanner is the superior choice. It seems that you have two action system:
Action 1: product at the scanner, probably use photo eye sensor
Action 2: scan the barcode
Then you use these two actions in your decision tree, like you wrote:
A. Product is present and bar code scanner inactive (no bar code on the product), reject
B. Product is present and bar code is duplicate, reject
C. Product is present and bar code is good, keep moving the line

You may need second photo eye to help control the flow of the product.

That's about how I would go about it.

Using a bar code scanner I have from an old project I began scanning stuff I have laying around. The scanner is a Nuscan 3000 series. While this uses a manual trigger to advance the trigger can easily be replaced using an external trigger from a photo eye so each carton triggers the scanner. The photo eye is an interrupt signal. I dump each scan into an Excel column and use a Macro to advance each cell. I get an interrupt signal from my photo eye and I start a scan. If I get another interrupt before my cell is populated I throw a no label flag. If I get a duplicate number I throw a duplicate flag. Below is an example of a duplicate.

Excel Duplicate.png

In the above example I change the cell background color to Red and the Text color to Red but you can have whatever you want to write code for and take any other actions you wish. The same can be done if there is no label present. You can flag duplicates and flag no label present and once you get a flag take any actions you want to take. You can have whatever you want to write code for and take any actions you want to take.

Again, as mentioned several times, a bar code scanner is not a camera, it is nothing like a camera. It scans bar codes. Also, you need to know what type bar code you wish to scan, Codabar, Code 11, Code 128, Code 32, Code 39, Code 93, EAN/JAN-13, EAN/JAN-8, Industrial 2 of 5, Interleaved 2 of 5, MSI-Plessey, UPC-A, UPC-E are all examples of bar codes so you want a scanner which will scan what you have.

Ron
 

Thread Starter

champ1

Joined Jun 4, 2018
136
The duplicate bar code is a problem. To know that it is duplicate, you need to read it, which means that bar code scanner is the superior choice. It seems that you have two action system:
Action 1: product at the scanner, probably use photo eye sensor
Action 2: scan the barcode
Then you use these two actions in your decision tree, like you wrote:
A. Product is present and bar code scanner inactive (no bar code on the product), reject
B. Product is present and bar code is duplicate, reject
C. Product is present and bar code is good, keep moving the line

You may need second photo eye to help control the flow of the product.
I'm thinking to purchased following things to make whole system
 

Reloadron

Joined Jan 15, 2015
7,891
I surrender. I totally give up. Do you want to take pictures or scan bar codes? You do not use a camera to scan bar codes. Have you even read anything posted in your thread?
I'm planning to design automatic system to read bar-code number, consider there are the bunch of cartoon moving one by one on convener belt n factory, so I need camera to scan bar-code one by one. I want to scan number more then 150 per minute

My main requirements system should be efficient, it shouldn't hang while working and it scan number more then 150 per minute

I don't understand which device (PC/MCU/PLC) is used to control camera ?
I wish you the best with a camera because it is apparent you are not about to design anything involving bar code scanning. Try reading the replies you have already gotten.

Ron
 

Thread Starter

champ1

Joined Jun 4, 2018
136
Are you paying attention? Every responder above says to use a bar code scanner.
I surrender. I totally give up. Do you want to take pictures or scan bar codes? You do not use a camera to scan bar codes. Have you even read anything posted in your thread?
Ron
I understood camera is not good choice for scanning Look the post 15, I have mentioned barcode scanner. There are so many barcode scanner available. I'm asking advice to select best one for industrial

Adesso NuScan 3000 - barcode scanner

When we want to scan with product with Adesso NuScan 3000 - barcode scanner we have to press button.

if the barcode is on the product scanner will automatically scan
if the barcode is not present on product scanner will not scan anything

I don't want to press button every time How to set automation
 
Last edited:

Reloadron

Joined Jan 15, 2015
7,891
The scanner I used was just an example. The trigger could have been easily bypassed. The idea was to demonstrate how a duplicate can be highlighted.

I don't know your location but a simple Google should bring up plenty of hits like this one for Industrial Barcode Readers. Notice in the link there is a unit scanning a conveyor belt. Here is another example. Now to go over some of what has been already covered.

Once you scan a code you have data and you need to put that data somewhere and that somewhere will figure into the code you write. In my example I used a Microsoft Excel spread sheet and wrote a small Macro (tiny program) to advance to the next cell after a scan. If I were scanning a conveyor belt I would use a photo sensor module, likely a LASER beam type to detect each new carton. I would let my photo sensor module trigger my scanner to wait for a new scan and if I get a second interrupt without having populated an empty cell I would throw a flag. I would also throw a flag if there is a duplicate code as I show above. Photo detectors can be reflective or a beam on a target across a conveyor. I would likely opt for the latter.

Again, my reference to the Adesso NuScan 3000 was merely an example. Actually it is a discontinued model and likely 10-15 years old. You need to decide what works best for your application, for example what to with the data you collect. I suggest you draft out your entire plan on a blank sheet of paper based on your environment (industrial atmosphere). I can't tell you exactly what to buy since I am not standing in your building.

Ron
 

Thread Starter

champ1

Joined Jun 4, 2018
136
The scanner I used was just an example. The trigger could have been easily bypassed.
I have connected sensor with microcontroller but never connected sensor with personal computer

consider following module

1. Computer
2. Barcode scanner ( Nuscan 3000 series)
3. photo eye sensor

How to connect sensor with computer ?

barcode scanner has button and we have to press in every scan

how to interface barcode scanner and sensor for automatic scanning ?
 
Top