Skip to main content

Posts

Showing posts with the label arduino light intensity

PC based light intensity controller using Arduino

PC based light intensity controller To control light intensity through pc I developed an application in Microsoft visual studio and make it communicate to Arduino in order to send the PWM value that would control MOSFET via Arduino which in turn will control the intensity of LED lights I am controlling  you can download the application with code from this link  https://drive.google.com/open?id=1eF3F2S-h_6_dHfn1JWRhsNyP-qgU3v1Y   you can find Arduino code for this project from this link  https://drive.google.com/open?id=1siO2uxrQzuTkqgQhlFxDLr32zO34L7mf connect the PWM output from Arduino pin 3 to gate of MOSFET which can high power LEDS. if you want to copy arduino code directly here it is  String inData = "0"; String a = "0"; int k = 0; float lux = 0.00,av=0.0048828125,lv; long time1; int h; void setup() {   // put your setup code here, to run once:  Serial.begin(9600);  pinMode(13,OUTPUT);  digi...

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...