.

Linear Magnetic Hall Sensor

Product DescriptionUse linear magnetic Holzer module and digital interface 13 with LED to build a simple circuit, making a magnetic field indicating light.Make use of the LED built in digital interface 13 to connect the linear Holzer magnetic sensor to digital interface 3. When linear magnetic Holzer sensor senses a button signal, the LED is on; otherwise, it will be off.Sample Code:Int Led=13; / / define LED interface Int buttonpin=3; / / define the interface of linear magnetic Holzer sensorInt Val; / / define digital variable valSetup void (){PinMode (Led, OUTPUT); / / LED was defined as the output interfacePinMode (buttonpin, INPUT); / / define linear magnetic Holzer sensor as output interface}Loop void (){Val=digitalRead (buttonpin); / / read the value of digital interface 3 and assign it to valIf (val==HIGH) / / when the linear magnetic Holzer sensor detect a signal, LED is flashing{DigitalWrite (Led, HIGH);}Else{DigitalWrite (Led, LOW);} 

在线联系供应商

至: KUONGSHUN ELECTRONIC LIMITED
Your E-mail:
消息正文:


Send to other suppliers

Other supplier products

2DOF Robot Arm Extension Plate for SKU ND002, Max Reach 95mm
E3D Nozzle: 1.75mm Filament/0.2mm Size· Material: Brass (Copper)· Input Diameter: 1.75mm· Output Diameter: 0.2mm · Installation: external M6 thread...
Product DescriptionManufactured By Atomic Market Gas Detection MQ135 Control Main Chip: LM393 Operating voltage: DC 5V Dual signal output
3D Printer Dual Head Extruder Hot End Hotend J Head V6 Multi Chimera Extruder FeaturesAdd Multi-Extrusion capability to your machine with the easie...
1.metals shield anti-fire ABS2.connecting mode: N.C. normally closed3.rated current : 100mA4.rated voltage : 200 VDC5.operating distance: more than...
供应产品

Same products

Pressure Switch STC420VDF power plant spare parts
Pressure Switch STC420VDF power plant spare parts 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD China supplier YOYIK produced by the development of agents. I plant production of various types o...
Pressure Switch YWK-50-C for power generation
Pressure Switch YWK-50-C for power generation 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD China manufacturer Is to use the generator sets of professional power plant supporting model prod...
Temperature Sensor PT100 for power station
Temperature Sensor PT100 for power station 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD China factory Deyang YOYIK strong technical force, with CNC lathes, machining centers, 1.6M verti...
Electronic Remote Level Gauge UDZ-191A for thermal power plant
Electronic Remote Level Gauge UDZ-191A for thermal power plant 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD Made in China Selection of advanced technology, absolutely first-class service quality, YOYIK ove...
Speed Monitoring Switch with Sensor JYB/RDC-B power plant spare parts
Speed Monitoring Switch with Sensor JYB/RDC-B power plant spare parts 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD China supplier Main: hydraulic machinery and components, hydroelectric generating units; coal-fir...