ARDUINO EXPERIMENTS
IR OBSTACLE SENSOR........................................................................................................................................................... 3
OVERVIEW............................................................................................................................................................................. 3
OBJECTIVE OF THE EXPERIMENT............................................................................................................................... 3
EXPERIMENTAL SETUP ................................................................................................................................................... 3
IR SENSOR ARDUINO CODE ........................................................................................................................................... 4
ARDUINO IDE – SERIAL MONITOR ............................................................................................................................. 5
GAS SENSOR............................................................................................................................................................................... 6
OVERVIEW............................................................................................................................................................................. 6
OBJECTIVE OF THE EXPERIMENT............................................................................................................................... 6
EXPERIMENTAL SETUP ................................................................................................................................................... 6
GAS SENSOR ARDUINO CODE ....................................................................................................................................... 7
ARDUINO IDE – SERIAL MONITOR ............................................................................................................................. 8
FIRE SENSOR............................................................................................................................................................................. 9
OVERVIEW............................................................................................................................................................................. 9
OBJECTIVE OF THE EXPERIMENT............................................................................................................................... 9
EXPERIMENTAL SETUP ................................................................................................................................................... 9
FIRE SENSOR ARDUINO CODE....................................................................................................................................10
ARDUINO IDE – SERIAL MONITOR ...........................................................................................................................11
RELAY SHIELD........................................................................................................................................................................12
OVERVIEW...........................................................................................................................................................................12
OBJECTIVE OF THE EXPERIMENT.............................................................................................................................12
EXPERIMENTAL SETUP .................................................................................................................................................12
RELAY SHIELD ARDUINO CODE.................................................................................................................................13
ARDUINO IDE – SERIAL MONITOR ...........................................................................................................................15
GSM SHIELD.............................................................................................................................................................................17
OVERVIEW...........................................................................................................................................................................17
OBJECTIVE OF THE EXPERIMENT.............................................................................................................................17
EXPERIMENTAL SETUP .................................................................................................................................................17
GSM SHIELD........................................................................................................................................................................18
BLUETOOTH RELAY SHIELD ............................................................................................................................................19
OVERVIEW...........................................................................................................................................................................19
OBJECTIVE OF THE EXPERIMENT.............................................................................................................................19
EXPERIMENTAL SETUP .................................................................................................................................................19
RELAY SHIELD ARDUINO CODE.................................................................................................................................20
4-RELAY SWITCH BOARD ANDROID APPLICATION .........................................................................................23
LCD AND KEYPAD-SCREW SHIELD................................................................................................................................24
OVERVIEW...........................................................................................................................................................................24
OBJECTIVE OF THE EXPERIMENT.............................................................................................................................24
EXPERIMENTAL SETUP .................................................................................................................................................24
LCD AND KEYPAD-SCREW SHIELD ARDUINO CODE ........................................................................................26
HEART BEAT SENSOR .........................................................................................................................................................27
OVERVIEW...........................................................................................................................................................................27
OBJECTIVE...........................................................................................................................................................................27
EXPERIMENTAL SETUP .................................................................................................................................................27
HEART BEAT SENSOR ARDUINO CODE ..................................................................................................................28