Hi,welcome
86-755-88844016 +852 2632 9637 6*12 hours online call
Image is only a reference

Intelligent car speed measurement module, code disk counting speed sensor with indicator light, send testing program

M46

Model:M46

Manufacturer:ANSC/OEM

Package:module

Detail

Product Descriptions


This product adopts a slot type photoelectric sensor, which consists of an infrared light-emitting diode and an NPN phototransistor, with a slot width of 5.9mm. As long as the non transparent object passes through the slot, it can trigger the output TTL low level. Using Schmitt trigger to shake pulses, it is very stable and can be used for applications such as measuring speed and distance of small cars. It has M3 screw holes on both ends.


Product Instructions


Connect VCC and GND, the module signal indicator light will light up, and when there is no obstruction in the block slot, the receiving tube will conduct, and the module OUT will output a high level; When obstructed, OUT outputs a low level and the signal indicator light goes off. The OUT module can be connected to a relay to form a limit switch or an active buzzer module to form an alarm. The OUT output interface can be directly connected to the I0 port of the microcontroller, usually connected to an external interrupt to detect if the sensor is obstructed. If a motor encoder is used, the motor speed can be detected.


Program Design


The OUT port of the speed measurement module is connected to the external interface of the MCU, which acts as an external buffer whenever infrared radiation conducts. 


Logic design


Measure distance


The output of the speed sensor is a pulse signal, with one pulse interrupted once; When the infrared radiation is conducting, it is at a low level, so we did not set it to interrupt and trigger the low-level mode. Generally, there are integer cells on a code wheel, and the principle is the same whether there are 10 empty cells, such as a 10 cell code wheel. That is to say, there are 10 empty cells, and after the motor rotates, the radiation conducts 10 times and the external low level triggers 10 times. Following the idea of using the machine, our measuring point sensor can be effective. We know that there are 10 interruptions in one circle, so we calculate the number of interruptions. The total number obtained is divided by 10, which is the number of motor rotations. Then, based on the circumference of the wheel, we calculate how long the wheel completes one circle, and we can calculate how far the car has traveled.


Measure speed


Following the distance measurement approach, we use an MCU timer to calculate how many external interrupts are received within one second. For example, if we receive 20 external interrupts within one second, we can determine that the speed of the car is 2 revolutions per second. Then, we calculate the circumference of the car wheels to obtain the speed at which the car travels in one second.


Principle demonstration


未标题-2


Matters needing attention


Connect the wires correctly and do not reverse the positive and negative connections, as this may cause the electronic components on the board to burn out. Arduino players should set the I/O port of the MCU to input/receive mode, otherwise it cannot be used. Other MCUs, or more advanced control boards such as ARM, must set the I/O port to input/output mode, otherwise it cannot be used. The 51 series microcontroller can be used directly without setting input/output modes.


Product Size


未标题-1


Product Photograph


主图-00

主图-01


Payment&Transportation


详情8.1


Official Certificate&Certificate



详情页3.1



Multiple product supply



详情5.1


Company office environment


详情6.1


Warehouse Real Shot


170019007688325e.png


Standard packaging


详情9


We also provide :


Part NoManufacturerDate CodeQuantityDescription
LM22676ADJNS19+250SOP8
TPS562201DDCRTI22+795500SOT23-6
NJG1806K75JRC22+500000DFN6
TLV74318PDQNRTI22+402000X2SON-4
NJG1801K75JRC22+300000SMD
NJG1804K64JRC22+300000DFN8
LM27761DSGRTI22+151000WSON8
TLV62565DBVRTI22+138000SOT23-5
TPS613222ADBVRTI22+108000SOT23-5
LNK625DG-TLPOWER22+100000SOP-8
OPA4322AIPWRTI22+100000TSSOP14
TLV75528PDRVRTI22+99000WSON-6
TPS7A2025PDQNRTI22+78500X2SON-4
TLV62568DBVRTI22+72000SOT23-5
STM32L051K8U6TRST22+60000QFN32
SKY66421-11SKYWORKS22+56500QFN16
TPS7A1111PDRVRTI22+54000WSON6
TLV62569PDDCRTI22+52000SOT23-6
TLV62569DBVRTI22+48000SOT23-5
TPS23753APWRTI22+40000TSSOP14
NB691GG-ZMPS22+30000QFN
SN74AHC1G02DBVRTI22+27939SOT-23
TPS63000DRCRTI22+23238VSON10
TLV75533PDRVRTI22+21500WSON6
NB687BGQ-ZMPS22+20000QFN
A3916GESTR-T-1ALLEGRO22+17150QFN-20
TPS62135RGXRTI22+15000VQFN11
TLE2022AMDRTI0803+12500SOP8
TPS23756PWPRTI22+12000HTSSOP-20


主图-02


主图-03


User Info:
Phone number
+86
  • +86
  • +886
  • +852
Company Name
Email
Product model
Quantity
Comment message