Search code examples
python-2.7arduinoraspberry-piraspbianiot

How to get start with internet of things and easy way to monitor my values in internet .?


I am new to IoT (Internet of Things). I have watched a few videos but I have a few problems here. The thing is, here my work as so far:

  1. A controller (Arduino or Pi etc..) connected with devices like sensors
  2. I receive the output from sensors and I store it in MySQL (local).

How to send my sensor data to the web with the help of internet (ex. How to monitor or send temp value in a website or anything)?

  • How can I send sensor values to my web page where I can monitor?
  • To monitor my values do I need to buy or own a website?

Solution

  • So what you need is :

    1. Send your data to a server (Thus it can be used in future; Here after tell that you are trying to store to a database, as you did locally).
    2. How can you view what you stored.

    Send your data to a server

    You can acheive this by using a GSM module (remeber it should support http services) - I would suggest GSM SIM 900A (as you can find plenty of online tutorials on it) - and You need to get a server, better online (useful for viewing what you stored too). Don't worry about cost, there are some websites which provide you free hosting (You can go for payed one as well if you need).

    Eg : 000webhost

    Prepare database as your need.So now you got your sever and database ready, arduino ready.

    Now how you can store data to database from arduino , luckily I already answered about it on stack - HERE.

    WOW we completed phase one!!

    How can you view what you stored

    Its got plenty of options :

    • Visit database : You can just go to the database and find what you got in it, But I wont suggest that because - It not so user interactive (but if no other option works you can go for it - usually never happens)

    • website : I would suggest this option. It is not laborious task to create a web page and connect it to server. As you already own a server, you can use same server for hosting website.

    • Mobile App : Another option is to create a mobile app and connect it to database, so that you can view the contents on your mobile. It is not easy unless you are good in android.

    So we are done. Think this helps you.