Sensors Kit for Arduino April 25, 2014 0 Comments KY038: Microphone Module int Led=13; int Shock=3 int val; void setup() { pinMode(Led,OUTPUT); pinMode(Shock,INPUT);// } void loop() { val=digitalRead(Shock); if(val==HIGH)/ { digitalWrite(Led,LOW); } […]
Sensors Kit for Arduino April 25, 2014 0 Comments KY039: Heatbeat Sensor Module // Project 12 – Pulse Monitor Test Script int ledPin = 13; int sensorPin = 0; double alpha = 0.75; […]
Sensors Kit for Arduino April 25, 2014 0 Comments KY040: Rotation Encoder Module // Project 11 int redPin = 2; int yellowPin = 3; int greenPin = 4; int aPin = 6; int […]
Sensors Kit for Arduino April 25, 2014 0 Comments KY004: Momentary Button Module Use the LED on digital pin 13, and connect the button module input to digital 3, and when button is […]
Sensors Kit for Arduino April 24, 2014 0 Comments KY003: Hall Magnetic Field Sensor Module [vc_row][vc_column width=”1/1″][vc_column_text] Use the LED of digital 13, and connect the Hall magnetic field sensor to digital pin 3, […]
Sensors Kit for Arduino April 24, 2014 0 Comments KY002: Shock Sensor Module [vc_row][vc_column width=”1/1″][vc_column_text] Use the LED that is connected to digital 13, and connect the vibration sensor output to digital […]
Sensors Kit for Arduino April 24, 2014 0 Comments KY001: Temperature Sensor Module [vc_row][vc_column width=”1/1″][vc_column_text] Connect the signal to Arduino digital 10, and open serial port monitor: /* DS18S20 Temperature chip i/o […]