| Electronic Components Datasheet Search |
|
KY-005 Datasheet(PDF) 41 Page - AG Electronica |
|
|
|||||||||||||||||||||||||||||
KY-005 Datasheet(HTML) 41 Page - AG Electronica |
|
41 / 50 page ![]() Descripción: Módulo sensor magnético analógico, se debe construir un circuito simple con un LED para crear un campo magnético Makers. Cuando el sensor detecta un campo magnético el LED conectado deberá encender, de lo contrario el LED permanecerá apagado. Código: int sensorPin = A5; / / select the input pin int ledPin = 13; / / select the pin for the LED int sensorValue = 0; / / variable to store the value coming from the sensor void setup () { pinMode (ledPin, OUTPUT); Serial.begin (9600); } void loop () { sensorValue = analogRead (sensorPin); digitalWrite (ledPin, HIGH); delay (sensorValue); digitalWrite (ledPin, LOW); delay (sensorValue); Serial.println (sensorValue, DEC); } Arduino KY-035: Modulo Sensor Magnético Clase Bihor |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |