Skip to main content

Would you like to know about IP addresses?

Internet of Things is all about connecting anything which has an IP address. It could be anything. Now, this IP address gives information about the location of the host in the network, it's not your location and nothing else! But, now you may ask if you move somewhere else, will that IP address change?
         Hi! I was very curious about IOT when I had heard it from my senior. But, I couldn't understand it at that time. So, I went for workshops, worked on some basic projects like smart home automation and RFID door unlock, pretty basic? Duh, I know… So, for learning more, I thought I should research more and share it also.       
      Coming back to the question. The answer is yes! This IP address is provided by ICANN organization who distributes it to ISP( internet service providers) or gov bodies and once you change your location, because of the new connections at the new place, your IP address will change. 
            Actually, even if you don't move, because ipv4 has introduced dynamic IP address, your IP address will change even if you don't move! And yeah! You can change your IP location virtually by using VPN.( ipv4, ipv6 are current generations of IP addresses)
      The question is, does it matter if it changes? Well yeah! Cause if you are going to host a website and your IP address suddenly changes! You will have to give this new IP address to the clients every freaking time. Now, Don’t worry! Cause you can buy a static IP address for this function! Or just use DDNS!
       What DDNS does is, it assigns a name to that dynamic IP address, this name would be fixed. So, you won’t have to worry about it anymore. Just get an account from DDNS providers.

 Now, here is what my IP address looks like:-
                            216.3.128.12

       Why did they introduce the dynamic IP address in the first place?
   well, it's because this allows them to give the unique IP address to the millions of computer users. And it's expensive to give a permanent static unique IP address to all of them. So, ipv4 ( current IP address generation...ipv6 is a new version introduced cause ipv4 was running out of IP addresses) introduced a dynamic IP address. 

    Now, we know that IOT is about connecting things with the help of the "IP address". For general surfing the internet, this IP address is borrowed by our laptop from ISP and it is unique and it is dynamic. Now, how do we use it for our benefits? 
      
     You might have already heard about smart home automation where, for example:- when you wake up, your coffee machine makes you coffee, fans are turned off, and hot water is ready for you to take bath and so on...
          Even if it makes you lazy a little bit...it's totally worth it because this saves you a lot of time and it's quiet interesting to know how it works.
      IOT has three layers:-
1st is what you want to implement on?
   It could be a fan which you want to turn off in the morning or the tube lights, sensors like temperature sensor, smoke sensor? Or the door lock …
   Or maybe RFID module, camera, GPS, Et cetera

2nd is what all hardwares, you are gonna need?
 They would be microcontrollers, wifi module or Bluetooth module

3rd  is where to upload the data?
    Cloud, send the notifications to the mobile, automatically start other activity with the data like open the door when RFID is detected or turn on the thermostat when it’s cold.
      
     I’m just gonna cover only the project that I have done which is door unlocking using RFID and pattern recognition and smart home automation soon … stay tuned!

     reference:-

   

Comments

Popular posts from this blog

Would you like to know about arduino UNO ?

Arduino is a hardware which is used to connect the computer and the project model so that w e can control it by using Arduino code accordingly! Project model can be a robot,  quadcopter  or a sensor or also can be a digital pin!     I wanted to learn about Arduino and then I thought, I should share it also! So, there are  a lot  of types of Arduino, you can google it as well. But, the Arduino Uno is the most “standard” Arduino board currently and is probably the best choice for beginners like me who are just getting started with the platform.               Arduino UNO parts:- There are 14 digital pins and 6 analog pins as you can see but i f you need more pins ,  then you can also use a multiplexer.        It has ATmega328 which is a single chip microcontroller. So, Arduino is not a micro-controller!  It has two mi...

Virtual display of Arduino project

There are a lot many projects which one can do using Arduino. Recently, I was working on a project 'measuring distance of an object and show it using virtually using Arduino and Python'. I am using an Ultrasonic sensor for measuring distance, vpython library for virtual representation.             I was doing this project because I found it interesting and it also needs fewer hardware components and we will have to create a virtual object which is very interesting.             We need pyserial library to provide access to the python to communicate with Arduino. So, download that first. Before that, we would need Arduino IDE and Python. Then, we also need vPython for creating virtual objects using vPython library. You can download all these things from the link I have given at the end of this blog. So, let's begin:-     We need - Hardware:- Arduino               ...