Skip to main content

Posts

Showing posts with the label arduino ultrasonic sensor

Environmental data collection device

ARDUINO DATA COLLECTING DEVICE this device can measure environmental data like temperature light intensity smoke.and also can be used as a measuring tape because it has ultrasonic sensors to find the distance from it to the object in front of it .and it is password protected just like a cellphone. but if you want to change the password you hove to change it in the code.  after you entered a right password it will ask you to choose the mode of operation than  after you select the mode you can see the data on screen       temperature mode    light mode  distance mode here is the codes used in this project if you want to build this thing #include <Wire.h> #include <LiquidCrystal_I2C.h> #include <Keypad.h> #include <math.h> #define Password_Length 8 float lux = 0.00,av=0.0048828125,lv; char Data[Password_Length]; byte data_count = 0, master_count = 0; bool Pass_is_good; c...