Friday, 30 March 2018

Control different speed of a small DC motor with push button

Hi, in this post I would like to share with the sketch (down below) of a pwm speed controller and the diagram of it. By uploading the skecth to your Arduino board you will be able to control speed of a small dc motor without a potentiometer and without pressing the reset button. Thanks to Jerico ViƱas who shared the original sketch.

The sketch
const int motor = 4;
const int btn1 = 5;
const int btn2 = 6;
const int btn3 = 7;

int button1 = 0;
int button2 = 0;
int button3 = 0;
int var1 = 0;
int var2 = 0;
int var3 = 0;

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(btn1,INPUT);
pinMode(btn2,INPUT);
pinMode(btn3,INPUT);
pinMode(motor,OUTPUT);

}

void loop() {
//Unlimited Execution
// Eco-Programmer
AST();
}

void AST(){
//This is the customized void
button1 = digitalRead(btn1);
button2 = digitalRead(btn2);
button3 = digitalRead(btn3);

if(button1 == HIGH){
var1=1;
var2=0;
var3=0;
Serial.write(var1);
}

if(button2 == HIGH){
var1=0;
var2=1;
var3=0;
Serial.write(var2);
}

if(button3 == HIGH){
var1=0;
var2=0;
var3=1;
Serial.write(var3);
}

if(var1 == 1){
digitalWrite(motor, HIGH);
delay(15);
digitalWrite(motor, LOW);
delay(40);
}

if(var2 == 1){
digitalWrite(motor, HIGH);
delay(15);
digitalWrite(motor, LOW);
delay(20);
}

if(var3 == 1){
digitalWrite(motor, HIGH);
delay(50);
digitalWrite(motor, LOW);
delay(10);
} else{
digitalWrite (motor, LOW);
 }
}

Tuesday, 27 March 2018

How to recover your hacked facebook account 100% works


Are you frustrated that your Facebook account got hacked and  you don't have any control over it? Well, nothing to worry about. In this post you will find out how exactly you can take back cntorl of your account.

Step 1:- Go to default internet browser (Maybe Crome) and type for search www.facebook.com/hacked.

Step 2:- Click on the option my account is compromised.

Step 3:- To open your account click on forgotten password. 

Step 4:- Then enter your email address or phone number to search your hacked account. And type for security check.

Step 5:- select the hacked Facebook account. (Hacker might have changed the email, phone number and other details) so click the option no longer have access to these. 

Step 6:- Click on I cannot access my email account. Then login to your old account associated with your Facebook.

Note:- If you don't remember your phone number and your gamail / email then it's not possible to recover your account.

I hope this helped you. :)

Thursday, 22 March 2018

How to Delete Whatsapp Group Invite Link and create a new one


If you want to delete your whatsapp group invite link, then in this post you will find out how you can delete your WhatsApp group invite link and create a new one.

Step 1:- Select the WhatsApp group you want to delete.

Step 2:- Click on the three dots at the top right hand corner >> then select group info >> and click on the add participant.

Over here you will be able to see a link says "invite to group via link".

Step 3:- Click on the invite to group via link. And you'll find the WhatsApp group link.

Step 4:- Click on the Revoke link option. If you click on it then it will delete the old link and create a new one.

Note:- By revoking the old link, no one will be able to join this group by using the old link. To join this group again they will have to know the new link first.

Ad



How To Check If Someone Blocked You On WhatsApp


If someone blocks you on WhatsApp and you're not sure if he/she has really blocked you or not. Then in this post you'll find out how you can find out if someone has blocked you.

Step 1:- Click on the menu (3 dots at the top right hand corner).

Step 2:- Select New group and add that person in the group.

Step 3:- Give the group a name and you can see the group has been created. If you see an error message and can't add the person that means that person has blocked you.

Step 4:- If you want to be sure then click on the menu button (3 dots at the top right hand corner).

Step 5:- Click on the group info. Then click on the add participant.

Step 6:- Try to add the person. If you  still can't add the person then you will know for sure that the person has really blocked you.

Note: One thing keep in mind that if the person unblocks you again after some time he/she won't be able to see the messages you've sent in-between the he/she blocked time.

Ad



Saturday, 17 March 2018

Why Pizza Ordering Shoes are useless?


Have you ever seen a shoe ordering pizza for you? Well, if not then please watch the video and see how amazing I mean how useless it is. It seems like well made shoe and might be quite pricey too, but the function is a very simple. I'm not sure how can someone waste money in this stupid thing.

I think you probably thinking why am I even so angry on this? Well, it's because the thing has nothing but a button on it which is link to your phone anyway. Before the button starts working you need to download an app and set your bank account and select your pizza and then only thig you will be left with is a button to press. For that you can use the same app, but they've made just a button and put it on the shoe. That button can be placed anywhere you want. Jut waste of money and a silly idea.
Ad



Saturday, 10 March 2018

How to Transfer Files From Xiaomi Mi A1 to your Laptop/PC

If you are new user of Xiaomi Mi A1 you might find this problem too as I was really struggling to find out how to transfer videos and pictures from Xiaomi Mi A1 to my laptop. Although it was an easy and simple setting but I couldn't find it, and wasted quite lot of time. But in this post you will find out withing few seconds. So let's start.

Step1: When you plug into the laptop it will show you a blank window like the picture below. This means the phone is on charging mode.

Step2: To see the files or pictures you need to tap+hold+drag from the top of your screen then you will see an option called "USB charging this device". As you can see in the picture below.

Step3: Click on the "USB charging this device" option and you see 4 more options.
  1. Charge this device.
  2. Transfer files.
  3. Transfer photos (PTP)
  4. Use device as MIDI
Choose options number 3 if you just want to transfer video and pictures from your phone. And if you want to dig deeper into more folders then choose options number 2.

If you choose option number 3 then a window will pop up and you will see "Internal shared storage" like the picture below. Now you can go into that folder and look for your picture and videos and then transfer them to your laptop/PC. I hope you've found this helpful. Thanks for your time.

Ad



Thursday, 8 March 2018

How to use free Wi-Fi on Emirates flights A380

Great news for you if you are flying with Emirates. You can now use internet on air. This is my first time using internet on the plane. I was surprised and when I contacted my family while I was on the plane, they got shocked too. In this post I'll share how you can use free internet on the flight. So here are the step by step guide.
Ad

Step1: Turn on your Wi-Fi and open your browser. It will take you to a page where you'll have to go through some settings. If you want to use free Wi-Fi then I assume you'll have to select "Non-Skyward" and then put your email address and the read the term and conditions and check the box and click on the connect button.
Step2: Now select the free 20 MB option and scroll down to the bottom and click connect. That's it, now you should be able to use your free internet.

Note:
Try to avoid using browsers, because it takes quite lot of data and doesn't work properly.

Ad