Method 1:
Put the color sensor on the white object, turn on the red filter, at this time the sensor will emit the frequency, count the emitted frequency, when the count reaches 255, there is a time, this time is recorded as T1.
Turn on the green filter, at this time the sensor will emit different frequencies, count the frequencies, when the count reaches 255, there is another time, and this time is recorded as T2.
Turn on the blue filter, at this time the sensor will emit another different frequency, count the frequency, when the count reaches 255, there is a third time, this time is recorded as T3.
Then put the sensor on the object to be measured, turn on the red filter, count the number of counts in T1 time, and record this number as N1.
Turn on the green filter, count the number of counts in T2 time, and record this number as N2.
Turn on the blue filter, count the number of counts in T3 time, and record this number as N3
N1N2N3 makes up the three primary colors of the object to be measured.
Method 2:
Put the color sensor on the white object, set the timer to a certain time, turn on the red filter, at this time the sensor will emit the frequency, count the emitted frequency, and record this number as n1.
Turn on the green filter, the sensor will emit different frequencies, count the frequencies, and mark this number as n2.
Turn on the blue filter, and the sensor will emit a different frequency, count the frequency, and write this number as n3. Multiply by 255/n1, 255/n2, 255/n3 respectively.
Then put the sensor on the object to be measured, set the timer to the same time, turn on the red filter, then the sensor will send out the frequency, count the frequency of the emitted, and record this number as X1.
Turn on the green filter, and the sensor will emit different frequencies, count the frequencies, and write this number as X2.
Turn on the blue filter, and the sensor will emit a different frequency, count the frequency, and write this number as X3. Multiply by 255/n1, 255/n2, 255/n3 respectively.
The three primary colors of the object to be measured are 255*X1/n1, 255*X2/n2, and 255*X3/n3.
|
More on that
|
Banner Sensors – Typical applications for fiber optic sensors
· punch
· vibrating feeder
· Transporter
· Pill counting
· Small object detection
· oven
· Semiconductor processing equipment
· Robotic arms and mobile machinery
...
|
|
Banner Sensors – The difference between fiber optic sensors and photoelectric sensors
The first point is that photoelectric sensors and fiber optic sensors work differently
First of all, from the working principle of the two, first of all, the photoelectric sensor works according to the principle of the photoelectric effect, that is, when the light hits the photoelectric sensor made of semiconductors, it will emit light ...
|
|
Banner Sensors – What parameters need to be considered when selecting an accelerometer?
Analog vs Digital Output:
This is the first thing to consider. This depends on the interface between your system and the accelerometer. Generally, the analog output voltage is proportional to the acceleration, for example, 2.5V corresponds to 0g acceleration, and 2.6V corresponds to 0.5g acceleration. ...
|
|
A brief analysis of the static characteristics of the sensor
The static characteristics of a sensor refer to the performance of the sensor in a static state, which is an important indicator to measure the sensor. The static characteristics of a sensor include linearity, repeatability, hysteresis, accuracy, sensitivity, threshold and resolution, drift, and more.
1. Linearity refers to the sensor measurement ...
|
|
Banner Sensor - Installation method and precautions for pressure sensor
1. Flange fixed installation
Flange mounting is to connect the pressure sensor to the flange and fix the flange to the measured object. The advantage of this installation method is that it is simple in structure, easy to install and disassemble, and suitable for occasions where frequent sensor replacement is required.
But...
|
|
Banner Sensor - Common fault phenomena and judgment methods of fiber optic sensors
1. There is no display on the digital display after connecting the power supply
(1) Check whether the power cord is broken and whether the plug contact is good.
(2) Whether the power fuse of the digital display meter is blown.
(3) Whether the power supply voltage meets the requirements.
2. The digital display table does not count
(1) Passing ...
|
|
Banner Sensors - Precautions for the use of linear displacement sensors
1. If the electronic ruler has been used for a long time, and the seal has been aged, and there are many impurities mixed with it, and the water mixture and oil will seriously affect the contact resistance of the brush, which will make the displayed numbers keep jumping. At this time, it can be said that the electronic ...
|
|
Banner - Talking about the differences between RTU, ASCII, and TCP in the Modbus protocol
Modbus is an application-layer protocol that defines a data unit (ADU) that is independent of the underlying network and can communicate over Ethernet (TCP/IP) or serial links (RS232, RS485, etc.) (Ethernet ADUs and serial ADUs are slightly different). On a serial link, the Modbus protocol has two ...
|
|
Banner Sensors – the development trend of smart temperature sensors
The three foundations of modern information technology are information collection (i.e., sensor technology), information transmission (communication technology), and information processing (computer technology). Sensors belong to the cutting-edge products of information technology, especially temperature sensors are widely used in industrial and agricultural production, scientific research and life.
|
|
Banner Sensors – How to Judge Good or Bad Fiber Optic Sensors?
How to judge the quality of fiber optic sensors:
1. Packaging, first of all, it depends on whether the packaging of the fiber grating sensor is suitable for your application;
2. Range, whether the range of the FBG sensor is consistent with your measurement index;
3. Accuracy, the accuracy of the sensor itself as ...
|
|
Banner Sensors – Technological development of distributed fiber optic sensors
1. Realize the simultaneous measurement of multiple physical parameters (temperature and strain) or chemical parameters on a single optical fiber;
2. Improve the measurement range of the measurement system and reduce the measurement time;
3. Improve the detection ability of the signal receiving and processing system, improve the spatial resolution and measurement of the system.
|
|
What problems should be paid attention to when installing and using Banner temperature sensors
1. Improper installation and introduction errors
In other words, the thermocouple should not be installed too close to the door and the heating place, and the penetration depth should be at least 8-10 times the diameter of the maintenance tube; Maintenance of thermocouples ...
|
|
"2018 China Automation Industry Annual Conference" Banner won another award
The 2018 China Automation Industry Annual Conference and the 13th China Automation Industry Century Tour (CAIAC2018) were held on April 12, 2018 at Tianma Hotel, Shaoxing, Zhejiang.
CAIAC2018 aims to remember and look forward to China ...
|
|
Banner Sensors – A detailed description of the 20 most common types of sensors
1. Temperature sensor
Temperature sensors are used to detect temperature and heat energy and convert it into an electrical signal (transmitted in the form of voltage or current).
We actually have the following types of temperature sensors to use.
1. Thermometer
2. Thermocouples
...
|
|
Banner Sensors - An introduction to the classification of pressure sensors
1. Strain gauge pressure sensor
Strain gauge pressure sensors are sensors that measure pressure primarily by measuring the strain of an elastic element. Depending on the material, strain gauges are divided into metals and semiconductors. When the conductor and the semiconductor material are mechanically deformed, their resistance value will change.
|
|
Banner Sensors - Applications and Considerations for Infrared Sensors
Infrared sensors are sensors that use the physical properties of infrared rays to make measurements. Infrared, also known as infrared light, has the properties of reflection, refraction, scattering, interference, absorption, etc. Any substance that has a certain temperature above absolute zero can radiate infrared rays. ...
|
|
Banner Sensors – How pressure sensors work
1. Piezoresistive pressure sensor
Resistive strain gauges are one of the main components of piezoresistive strain transducers. The working principle of metal resistance strain gauge is the phenomenon that the resistance value changes due to mechanical deformation due to the strain resistance adsorbed on the base material, which is commonly known as the resistance strain effect.
...
|
|
Banner Sensors – What are the benefits of pressure sensors?
1) Large adjustable range, up to 10,000ppm, a wide range of sensors can be used;
2) Programming through simple circuits and easy-to-use software;
3) Pressure sensors are manufactured in a unique way and are specifically designed to meet industrial needs;
4) Sensors ...
|
|
Installation steps for Banner safety light curtains
1. Determine the installation location. Like injection molding machines, hydraulic presses, etc., are generally installed on the front 2 sides, and some non-standard equipment should be determined according to the actual situation to determine the installation position, to achieve the role of protection, without hindering the normal work.
2. Punching. Determine the installation location ...
|
|
Banner ABR3000 barcode reader helps to read 2D codes on car window glass
The Internet of Things (IoT) is a network based on information carriers such as the Internet and traditional telecommunication networks, which allows all ordinary objects that can perform independent functions to achieve interconnection. Its application fields mainly include transportation and logistics, industrial manufacturing, health care, intelligent ...
|
|