Sunday, 24 January 2016

Homemade air conditioner DIY

What a great idea! You can make this awesome air cooler by yourself and it's super simple to make. It can help you stay cool and it is cost-effective too.

Take a container which you should be able to close it aswell. Make two holes, one for fan and one for air to come out of that container. Put some ice cubes inside it and close the lid. Then turn on the fan and see the magic. LOW POWERED AC 



Golden words for husbands



Well after reading those golden words from a wise man let's see what other people want to say.

  Marriage is when a man looses his bachelors degree and woman gets her masters degree.

  The mighty queen in chess can move so far because the goal in chess is to save the King. Omg stop finding reasons for men to think that what their girlfriends and wives will do is stop them from reaching their goals in life. If that's the case you're just simply in love with the wrong woman.

Golden words from an unhappily married man. Do you think he realizes he married the wrong woman? Or maybe he was just meant to stay free...

Haha!! Number four.. priceless.. I must be a different kind of woman, give your 100% while he does too, and don't dictate to him, it's a marriage.. let him have freedom with boundaries and trust him.

My doctor told me not to lift anything heavy anymore because of my back pain... Now i sit when i pee

More....

Friday, 22 January 2016

How to make contactless doorbell with Arduino




Well in this post I want share with you how you can make a contactless doorbell. It is very simple, you just need few things.
  • One loud speaker
  • One Serial MP3 player for Arduino
  • One Ultrasonic Sensor
  • One Green LED
  • One 10k ohm resistor
  • One micro SD card (this is where your doorbell sound track will go make sure you name the sound track 001)
  • Few jumper wires
  • And a Arduino board
After connecting everything as shown in the diagram above upload the sketch below, and that's all.


#include <SoftwareSerial.h>
#define ARDUINO_RX 5 //should connect to TX of the Serial MP3 Player module
#define ARDUINO_TX 6 //connect to RX of the module
SoftwareSerial mySerial(ARDUINO_RX, ARDUINO_TX);
static int8_t Send_buf[8] = {0} ;

#define CMD_SEL_DEV 0X09
#define DEV_TF 0X02
#define CMD_PLAY_W_VOL 0X22

int led = 4;
int trigPin1 = 8;
int echoPin1 = 9;

void setup()
{
  pinMode(led, OUTPUT);
  pinMode(trigPin1, OUTPUT);
  pinMode(echoPin1, INPUT);
      mySerial.begin(9600);
        Serial.begin(9600);
      delay(500);//Wait chip initialization is complete
        sendCommand(CMD_SEL_DEV, DEV_TF);//select the TF card
      delay(200);//wait for 200ms
}

void loop() {
delay(500);
Serial.println("\n");
 int duration1, distance1;
  digitalWrite (trigPin1, HIGH);
  delayMicroseconds (10);
  digitalWrite (trigPin1, LOW);
  duration1 = pulseIn (echoPin1, HIGH);
  distance1 = (duration1/2) / 29.1;

      Serial.print("1st Sensor: ");
      Serial.print(distance1);
      Serial.print("cm  ");

  if (distance1 < 30) {  // Change the number for long or short distances.
 digitalWrite(led, LOW);
 sendCommand(CMD_PLAY_W_VOL, 0X1E001);//Play the sound track
   delay(5000);
  } else {
    digitalWrite(led, HIGH);
  } 
}

void sendCommand(int8_t command, int16_t dat)
{
  delay(20);
  Send_buf[0] = 0x7e; //starting byte
  Send_buf[1] = 0xff; //version
  Send_buf[2] = 0x06; //the number of bytes of the command without starting byte and ending byte
  Send_buf[3] = command; //
  Send_buf[4] = 0x00;//0x00 = no feedback, 0x01 = feedback
  Send_buf[5] = (int8_t)(dat >> 8);//datah
  Send_buf[6] = (int8_t)(dat); //datal
  Send_buf[7] = 0xef; //ending byte
  for(uint8_t i=0; i<8; i++)//
  {
    mySerial.write(Send_buf[i]) ;
  }
}


Thursday, 21 January 2016

How to Make a Mini Power Sander

Here is how you can make your own DIY mini power sender with electric tooth brush. Which is really easy to make and very useful. It is pretty simple, just cut the brush tip off, sand it smooth with sand paper then put some hot glue on and stick a sand paper on it. You are done!


Sunday, 17 January 2016

Where can you see more of something than other places


In the picture " Airports see more sincere kisses than wedding halls. And hospital walls have heard more prayers than church halls".

Now let's read some comments and enjoy!

  • And Chinese walls have seen more Mongolians than I did.
  • And comments are more funnier than posts..
  • Examination halls have heard much prayers as well .
  • John cena has seen himself more than the whole world has seen him altogether. {well to understand this one than you might have to understand the "John cena" joke first.}
  • And foods outside the campus are cheaper than inside.
  • My iPod plays more real music than MTV.
  • And the children's nowadays can see more pussy than their fathers life time. 
  • ''Dead people receive more flowers than the living ones because regret is stronger than gratitude.'' - Anne Frank
  • And my wallet makes me cry more than an onion.
  • That's because the average human will not tend to such practices until the hour of need.
Well if you want to read more hilarious comments like this than you can always visit.

Friday, 15 January 2016

How to use leaf as a switch

This is a very simple circuit which can be used in many different things. It works with almost anything which contains water. In the circuit I've used 4x (2N 2907 A 331) transistors as you can see in the picture below.
Whatch video to see the circuit in action.

Sunday, 10 January 2016

How to make sound alert with ultrasonic sensor

In this post you will know  how  to build a sound alarm with ultrasonic sensor. You can use this system in many places. For example: Sound guide, (to guide someone to certain direction when he/she comes front of the sensor) to make yourself aware of something or someone and many more.



The sketch

#include <SoftwareSerial.h>
#define ARDUINO_RX 5 //should connect to TX of the Serial MP3 Player module
#define ARDUINO_TX 6 //connect to RX of the module
SoftwareSerial mySerial(ARDUINO_RX, ARDUINO_TX);
static int8_t Send_buf[8] = {0} ;

#define CMD_SEL_DEV 0X09
#define DEV_TF 0X02
#define CMD_PLAY_W_VOL 0X22

int trigPin1 = 9;
int echoPin1 = 8;

void setup()
{
  pinMode(trigPin1, OUTPUT);
  pinMode(echoPin1, INPUT);
      mySerial.begin(9600);
        Serial.begin(9600);
      delay(500);//Wait chip initialization is complete
        sendCommand(CMD_SEL_DEV, DEV_TF);//select the TF card 
      delay(200);//wait for 200ms
}

void loop() {
delay(280);
Serial.println("\n");
 int duration1, distance1;
  digitalWrite (trigPin1, HIGH);
  delayMicroseconds (10);
  digitalWrite (trigPin1, LOW);
  duration1 = pulseIn (echoPin1, HIGH);
  distance1 = (duration1/2) / 29.1;

      Serial.print("1st Sensor: ");
      Serial.print(distance1);
      Serial.print("cm  ");

  if (distance1 < 40) {  // Change the number for long or short distances.
 sendCommand(CMD_PLAY_W_VOL, 0X1E001);//play the second song with volume 30 class
   delay(300);
  } else {
// nothing
  }  
}

void sendCommand(int8_t command, int16_t dat)
{
  delay(20);
  Send_buf[0] = 0x7e; //starting byte
  Send_buf[1] = 0xff; //version
  Send_buf[2] = 0x06; //the number of bytes of the command without starting byte and ending byte
  Send_buf[3] = command; //
  Send_buf[4] = 0x00;//0x00 = no feedback, 0x01 = feedback
  Send_buf[5] = (int8_t)(dat >> 8);//datah
  Send_buf[6] = (int8_t)(dat); //datal
  Send_buf[7] = 0xef; //ending byte
  for(uint8_t i=0; i<8; i++)//
  {
    mySerial.write(Send_buf[i]) ;
  }

}

What do you need:
1x Arduino board
1x Ultrasonic Sensor
1x Serial MP3 player
1x Loud speaker
1x SD card with a sound track in (Make sure you name the sound track 001)
And Few jumper wires.

Note: If you need extra help to set the sound please see this post.

Watch the video to see the sketch in action