Saturday, February 13, 2021

How to setup SmartLife MS 101 WiFi || 220V Light Switch to switch ON/OFF your lamp via WiFi

Make a desk lamp smart. In this video I will show you step by step, how to setup a SmartLife MS 101 Wifi Switch. How to connect it to a desk lamp. Which app to download, how to register the wifi switch to the SmartLife app and how to switch ON and OFF your lamp wirelessly 









Friday, February 8, 2019

Black and decker pivot 18v lithium repair(power on failure), battery replacement

This handheld vacuum(Black and decker pivot lithium 18v) had power on failure.

It could charge but it couldn't start working. 

After a replacement of the thermal fuse. It works properly. See the step by step video instructions. 


Video link below this line: https://youtu.be/BR19-Jv4ZVQ


Photoes:





Wednesday, March 7, 2018

Arduino relay, control 220v devices code and hardware(circuit diagram)

At the first part of the video (Part-A), I will explain each line of the small code.
At the second part of the video (Part-B) I will build the hardware.

I  build a solution to power on a water pump(or other 220v devices) when there is water overflow.
You can do it to power on other AC (220V) appliances such as Lights, TVs, etc.


Part-A (Code explanation).

Video link for Part-A below this line:
https://youtu.be/mQLTWnA4ZHI


Download code here: Download link
or copy the code unter this line:


#define relay1 4             //Defines pin 4
#define relay2 7             //Defines pin 7         
#define sensor 2          //Define sensor pin 2 (input pin)
#define alwaysHigh 10     //gives 5v to the sensor
//#define ledPin 8 

int sensorState=0;    //keeps the reading of sensor pin 2 (high or low)
int flag=0;     // Takes values 0 or 1. When the sensorState changes.

void setup() {
 // Open serial communications and wait for port to open:
  Serial.begin(9600);

    //pinMode(ledPin, OUTPUT);  // Set the LED pin as output
    pinMode(sensor, INPUT);     // Set the Sensor pin as input
 
    pinMode(relay1, OUTPUT);     
    pinMode(relay2, OUTPUT);
    pinMode (alwaysHigh, OUTPUT);   //5V sourch, gives power to sensor
 
 
    digitalWrite(relay1, !(LOW));  //OFF
    digitalWrite(relay2, !(LOW));  //OFF
    digitalWrite(alwaysHigh, HIGH); //ON

    Serial.println("Relay-1 is OFF");
    Serial.println ("Relay-2 is OFF");
    Serial.print("\n");
}


void loop() {
    sensorState= digitalRead(sensor);
    //Serial.println(sensorState);
    if (sensorState == HIGH) {               // check if the sensor is in water(short circuit)
      digitalWrite(relay1, !(HIGH));                  // turns Relay1 ON
      digitalWrite(relay2, !(HIGH));                  // turns Relay2 ON
      if (flag==0){
        flag=1;
        Serial.println("relays are now ON");
      }
    }
    else{
      digitalWrite(relay1, !(LOW));             // turns Relay1 OFF                       
      digitalWrite(relay2, !(LOW));             // turns Relay2 OFF
      if (flag==1){
        flag=0;
        Serial.println("relays are now OFF");
      }
    }
} //loop end bracket


Part-B (Hardware)


Video link for Part-B below this line:
https://youtu.be/mimGR6aEHNA




Monday, January 22, 2018

Sony NP FM 30 battery made of 18650 cells

If you have an old np-fm-30 battery, that doesn't work. Make it work again with 18650 cells.
In my case, i used four 18650 cells and the old good one charging board.
There are two sets of two batteries connected in series (2s2p)

Each 18650 cell has 1800mAh (set of two cells in parallel will give as 3600mAh)
The battery cells are connected in series and will give as 7.4V output power.

Following you can see my video and photo with schema





Video link here
https://youtu.be/6hfmeFPO7Gs


Photoes schemas



Monday, December 25, 2017

NP-FM30 battery disassembly, US18500E cells

Take apart a Sony NP-FM30 battery. Video instructions



Video Link here:  https://youtu.be/ypNWICs8HEI

Sunday, December 24, 2017

ZTE v795 disassembly and reassembly, screen replacement

Do it your self, follow the video instructions and make apart your cellphone, replace a screen or a digitizer.
See the video here:



Video link here: https://youtu.be/zdrL4aWSWAU





Reassembly:

Video link:  https://youtu.be/j9BtNi-H3H8

Monday, December 11, 2017

Sony experia C4 E 5305 disassembly / LCD replacement


Do it your self, do it in your house.
Step by step video instructions  Disassembly your cellphone sony xperia c4 eE5303













You tube link
https://youtu.be/iswfDlG4pBU

Tuesday, November 28, 2017

HTC S8 Button replacement

Step by step video guide. The easiest way to do it your self.


Part A


Youtube link:  https://youtu.be/6FYMtZgLitw



Part B


Youtube link: https://youtu.be/1DMq98ABiz8

Wednesday, March 16, 2016

SIM800L EVB - Arduino Nano Diagram - Alarm system

This is a cellular based alarm system. 

Basic specifications:
Once the magnetic reed sensor recognise intrusion, the alarm system sends sms or makes a call to a predifined cellphone number

The alarm system could be deactivated through a phonecall.
If you make a call to the alarm's cellphone-number, the alarm systen being inactive for five minutes and then return to an active status.
If you send an sms to the alarm system that contains the text / character 's'  (without:  '   ').
The system responds with the current alarm status (active/inactive)


More Details: 
This is the connection diagram of an arduino nano with the sim800 evb (gsm - gprs) module.
Requirements:
1 x Mini usb cable to give power to arduino nano
2 x 10k resistor
1 lx ed
1 x arduino nano microcontroller
1 x sim800l evb gsm/gprs module
1 x 3.7v li-ion battery
1 x step up controller
1 x magnet reed sensor


Download Code:
Click Here

Friday, January 29, 2016

Hp pavillion dv6 disassembly, cooller clean , overheating repair

See my video on youtube to repair yourself easy and safe the hp pavillion dv6 notebook.
In the video you will find detailed step by step instructions







Video link here: https://youtu.be/FqwKiH2ZcIA

Monday, January 18, 2016

Galaxy s4 i9505 screen replacement

See my video on youtube. It is ideal for home users also. Very easy detailed step to achive your goal(Change your broken or faulty screen)





Youtube link Here--> https://youtu.be/jDRDTaqQpFo

Saturday, January 16, 2016

Arduino HC-06 bluetooth pc-button (schema and arduino code here)

The following project gives you the ability to switch on your desktop computer over bluetooth.

The way this thing works is:  You send a command over bluetooth (by pressing a key on your phone) and the electromagnet(attached on the arduino nano) connects two cables (that are acting as a switch).

The following circuitry support 5V and 12V electromagnets with the usage of PN222A transistor as shown 

It is necessary to connect those two cables direct on the mainboard of your pc (where the power button connector is  placed)

Another alternative could be a relay switch, but in this case I used an electromagnet.
 




Video on Youtube   --> https://youtu.be/ChciUi8SHEA





Arduino Code under this line:


//  voulios.blogspot.com (Technology Blog)
//  Chrysovalantis Eleftheriadis

int button = 8;  
int state;        //State '1' activates power-on button, state '0' deactivates it.
int flag=0;       //makes sure that the serial only prints once the state


void setup() {
    pinMode (button, OUTPUT);
    Serial.begin(9600);
}

void loop() {
    //if some date is sent, reads it and saves in state
    if(Serial.available() > 0){    
      state = Serial.read();
      Serial.println(state);  
      flag=0;
    }  
   
    if (state == '0') {   
        digitalWrite(button, LOW);
        if(flag == 0){
          Serial.println("Button is deactivated");
          flag=1;
        }
    }

    //Receives '1' from serial and activates the power button for 3 secs
    else if (state == '1') {
        digitalWrite(button, HIGH);     //activates the button
        delay(3000);                    //for three seconds
        state='0';                      //sets the state to '0' (for the next loop)
        if(flag == 0){
          Serial.println("Power Button has been pressed for 3 seconds");
          flag=1;
        }
    }
          

}


Wednesday, November 25, 2015

Usb powerbank diy(easiest way) with 18650 batteries

Parts you need for it

1. 18650 batteries (Can be taken from an old laptop battery)
2. Step up controller
3. Li-ion Charger




Video link under this line:
https://youtu.be/wuKbyflB1_s

Here are some photoes


Thursday, November 12, 2015

HP pavilion zv5000 Disassembly / Power jack repair part-1 (Video instuctions)

HP Pavilion ZV5000

Under this line, is what you can find in the video 
Power jack Repair,
Heatsink removal,
Disassembly instructions.






Saturday, August 15, 2015

Automatically Turn Off Your Computer. Windows shutdown app. Shutdown Timer. Free download, C source code

For your reasons you want to shutdown your computer after minutes or an hour, etc.
With this simple app you can shutdown your computer in a very simple way.

1. Execute the program
2. Give the minutes you want your computer to shutdown
3. That is all. The computer will automatic shutdown


Download here



Otherwise you could run CMD (Command Prompt)

C:\> shutdown -s -t 180    -Enter-
-s   means shutdown computer
-t   means after how many seconds will execute the command
180 are the seconds after that will the computer shutdown
 --------------------------------
C:\> shutdown -a      -Enter-
-a   mean abort the shutdown execution
with this command you will abort shutdown



------------------------------------
------------------------------------



-----------------------------------
C Code after this line
-----------------------------------
#include <stdio.h>
#include <time.h>
#include <windows.h>






//delay code-block
void delay (unsigned int secs) {
    unsigned int retTime;
    retTime = time(0) + secs;     // Get finishing time.
    while (time(0) < retTime);    // Loop until it arrives.
}





int main()
{
    int i;
    int minutes;
    int flag=0;
   
    minutes=0;
   
   
       
       
    printf ("Give minutes to Shutdown: ");
    scanf("%d", &minutes);
    minutes= minutes *60;




    delay(minutes-30);       
    printf("Remaining 30 secs\n");
    delay(20);
   
   
    printf ("Remaining less than 10 seconds, press continuously ESC to abort\n");
    for (i=10;i>=0;i--)
    {
        delay(1);        //delay 10 seconds
        printf("\n");
        printf("Remaining secs: %d", i);


       
        if(GetAsyncKeyState(VK_ESCAPE ) < 0)
        {
            flag=1;
            break;
        }
       
    }
   
    if (flag==0)
        system("shutdown /s");
    return 0;
}

Thursday, July 23, 2015

Task killer with new features. End the processes easy. C delay, store in file

The New version of task killer, features:

1) Delay on execution, and ability to change the process-name

 Download Here: Download



Code in C
-----------------------------------
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <windows.h>
#define length 30



//delay code-block
void delay (unsigned int secs) {
    unsigned int retTime;
    retTime = time(0) + secs;     // Get finishing time.
    while (time(0) < retTime);    // Loop until it arrives.
}

int main(void)
{
    char str[length];
    char command[length];
    int i;
    int name_change;    //To change the process name in the file.log
    FILE *file;         //My text file where i store the process name
   
   
    name_change=0;
   
   
   
   
    //new vls start
    printf ("If you want to change the process name \nPress continiusly the Shift Key\n");
   
    for (i=10;i>=0;i--)
    {
        delay(1);        //delay 10 seconds
        printf("\n");
        printf("Remaining secs: %d\n", i);

    //If enter is continiusly pressed, Then you can change the process name   
    if(GetAsyncKeyState(16 ) < 0)
        {
        printf("Shift is pressed\n");
        name_change=1;
        break;
        }
   
    //if(GetAsyncKeyState(16 ) < 0)
    //    printf("Shift is pressed");
    //if(GetAsyncKeyState(13 ) < 0)
    //    printf("Enter is pressed");

    }
   
   
   
   
    //new vls start
   
    fflush(stdin);
    if (name_change==1)
    {
        printf ("Give Proccess name: ");
        scanf ("%s", &str);
        printf ("you gave: %s\n");
       
       
        //file=fopen("keys.log","a+");     //To add new strings
        //fputs("Valantis",file);
       
        file=fopen("keys.log", "w+");    //To replace an old string with a new one
        fputs(str, file);
        fflush(file);
       
    }
   
    //test end
   
   
   

   
   
   
    //vls start
       fflush(stdin);    //new
    file=fopen("keys.log", "r");//"w+");    //To read from file (only)
    fseek(file, SEEK_SET, 0);

      
   
   


    /* Read and display data */
    fread(str, length, 1, file);
    //new
    int count=0;
    for (i=0;i<length;i++)
    {
   
    count+=1;
    //printf("Total Characters =%d",count);
    }
    //new
   
       fclose(file);
    //vls end
   
    strcpy(command, "taskkill /F /IM ");
    strcat(command, str);
    strcat(command, ".exe");
   
    printf ("\n");
    //printf("%s\n", command);
   
    system (command);
   
   

return 0;
}


-----------------------------------

Wednesday, July 22, 2015

Task kill with C. Kill processes on windows Vista/win7

A simple routine which kills processes on windows: vista/win7. You can simply write the name of the proccess and done. Process is terminated


The other way to do it is to write on cmd (command prompt) the following command:
Start -> CMD -> Enter ->
C:\> taskkill /F /IM nameOfProcess.exe



You can download source code and executable file Here: Download