Hi guys, so currently i'm on a project where i'm suppose to add multiple sensors together and create a form of alert through LED light up and vibration motor. As such, when any of these sensors have sense a "critical" value as defined in arduino IDE, the LED will light up accordingly and vibration motor will vibrate accordingly as well.
[u]And as such the sensors that are used for my project are :[/u]
1) DS18B20 Temperature sensor module (with breakout) 2) DFRobot SEN0219 carbon dioxide sensor 3) Adafruit ultimate GPS sensor 4) DIY Sweat sensor 5) TCS3200 colour sensor 6) RGB LED 7) coin vibration motor 8 ) arduino nano
[u]The setup for all the sensor, LED and vibration are as based on the following websites (*exclude Vcc and ground setup):[/u]
1) Temperature sensor: it has only three pins (+, - , and out), therefore Vcc to +, GND to -, and one jumper wire for output signal 2) Carbon dioxide sensor: https://www.dfrobot.com/wiki/index.php/Gravity:_Analog_Infrared_CO2_Sensor_For_Arduino_SKU:_SEN0219 3) Adafruit ultimate GPS sensor:https://learn.adafruit.com/adafruit-ultimate-gps/arduino-wiring ( tx to arduino nano d3, rx to arduino d2) 4) DIY Sweat sensor: https://hackaday.com/2016/09/21/arduino-detects-pants-on-fire/#more-223595, http://www.circuitbasics.com/arduino-ohm-meter/ (essentially it is voltage divider with the use of known and unknown resistors, in this case skin is the "unknown resistor") 5) TCS3200 colour sensor: http://howtomechatronics.com/tutorials/ ... or-sensor/ 6) RGB LED: http://howtomechatronics.com/tutorials/arduino/how-to-use-a-rgb-led-with-arduino/ 7) Coin vibration motor: http://tinkbox.ph/learn/tutorial/how-control-vibration-motor-using-arduino-uno/wiring-diagram
[u]The Vcc and GND to power all components are as follows:[/u]
1) Lipo battery 7.4V, 850 mAh to pololu step down regulator 5V, 2.5A to: Colour sensor, Sweat sensor, GPS sensor, Temperature sensor, RGB LED and vibration motor 2) arduino nano 5v pin and gnd to carbon dioxide sensor 3) Lipo battery 7.4V, 850 mAh to arduino nano Vin and GND 4) usb connection to arduino nano