diff --git a/Smart Home/Smart RGB Led Controller/Circuit diagram to programming ESP-12E.png b/Smart Home/Smart RGB Led Controller/Circuit diagram to programming ESP-12E.png new file mode 100644 index 0000000..2fd938c Binary files /dev/null and b/Smart Home/Smart RGB Led Controller/Circuit diagram to programming ESP-12E.png differ diff --git a/Smart Home/Smart RGB Led Controller/Youtube Video.txt b/Smart Home/Smart RGB Led Controller/Youtube Video.txt new file mode 100644 index 0000000..b553105 --- /dev/null +++ b/Smart Home/Smart RGB Led Controller/Youtube Video.txt @@ -0,0 +1 @@ +https://youtu.be/yxsz6cjm-5I \ No newline at end of file diff --git a/Smart Home/Smart Roller Blind/Smart_Roller_Bilind_V2/Smart_Roller_Bilind_V2.ino b/Smart Home/Smart Roller Blind/Smart_Roller_Bilind_V2/Smart_Roller_Bilind_V2.ino index d36b017..98040e4 100644 --- a/Smart Home/Smart Roller Blind/Smart_Roller_Bilind_V2/Smart_Roller_Bilind_V2.ino +++ b/Smart Home/Smart Roller Blind/Smart_Roller_Bilind_V2/Smart_Roller_Bilind_V2.ino @@ -150,6 +150,16 @@ void connectToWifi() { WiFi.config(staticIP, gateway, subnet, dns, dns2); WiFi.mode(WIFI_STA); + + //If you are using the device with a powerbank, You can uncomment the ones you want to use to reduce power consuption of the project. + //The default value is 20dbm and it's power consuption is 100mW. + //when you reduce the output power it's connection range also will reduce. So you need to decide optimum value by trying yourself + + //WiFi.setOutputPower(20); // Set to 20 dBm (100 mW) (default value) + //WiFi.setOutputPower(18); // Set to 18 dBm (63 mW) + //WiFi.setOutputPower(12); // Set to 12 dBm (16 mW) + //WiFi.setOutputPower(6); // Set to 6 dBm (4 mW) + WiFi.begin(ssid, password); int counter = 0; @@ -274,7 +284,7 @@ void read_encoder() { void resetEncoder() { motor_position_counter = 0; saveMotorPosition(); - + httpServer.send(200, "text/plain", "Ok."); }