.

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

MT3608 DC to DC Voltage Regulator Step Up Power Supply Board Boost Converter Module 2-24V to 5-28V 2ASpecifications:Input Voltage:2-24V Output Volt...
51 MCU development board learning board 51 single-chip microcomputer system learning board test board KitExperimental plate kitLearning boardSmall ...
E3D V6 Break for 1.75mm Filament· Material: stainless steel· For Reprap 3D Printer Extruder End 3mm· Inner diameter: 2mm for 3 mm filament· 1PCSx S...
Product DescriptionFeatures: 1.It's to be used for detecting the sound intensity of ambient. 2. Adjustable sensitivity (adjusted by the blue digita...
8232 AD8232 Ecg physiological measurement Ecg Physiological Measurement Heart Pulse Ecg Monitor Sensor Module Application:- Fitness and sports hear...
供应产品

Same products

China manufacturer đầu dò nhiệt độ Wrnk2-131 for power generation
China manufacturer đầu dò nhiệt độ Wrnk2-131 for power generation 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD "China manufacturer đầu dò nhiệt độ Wrnk2-131 for power generationYOYIK is a large number ...
 Sensor TEP11X321809 for power station
Sensor TEP11X321809 for power station 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD "China factory Sensor đo nhiệt độ bồn dầu thủy lực TEP11X321809 for power station Yoyik is specia...
High Frequency Modules PL-M20 (110V) for thermal power
High Frequency Modules PL-M20 (110V) for thermal power 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD "Made in China High Frequency Modules PL-M20 (110V) for thermal power plant The use of advanced t...
China supplier Dissolved Oxygen Secondary Display Instrument UDA2182-DB1-NN2-NN-N-0000-EE
China supplier Dissolved Oxygen Secondary Display Instrument UDA2182-DB1-NN2-NN-N-0000-EE 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD China supplier Dissolved Oxygen Secondary Display Instrument UDA2182-DB1-NN2-NN-N-0000-EE power p...
China manufacturer Thermocouple WREKD2-04A for power generation
China manufacturer Thermocouple WREKD2-04A for power generation 卖方: DONGFANG YOYIK (DEYANG) ENGNIEERING CO; LTD "China manufacturer Thermocouple WREKD2-04A for power generationis an exclusive product for power...