Wednesday 8 February 2017

Temperature logger using arduino and thingspeak

Hello Arduino lovers,

In this tutorial, we are making a temperature logger using arduino and thingspeak.
Let's start

Things required:

  1. Arduino Uno
  2. LM35
  3. Sim900 module
  4. Internet pack 
  5. Thinkspeak account




Make connections as given in the diagram. Connect Tx of GSM module to pin number 7 of arduino board and Rx of of GSM module to pin number 8 of arduino uno and ground should be common between these two.
Output of LM35 should be connected to A0 of arduino board.
Arduino Uno GSM module LM35
Pin no. 7 Tx
Pin no. 8 Rx
Pin no. A0 Output of Lm35
Download code from link below
Now, upload the code

Video:

Hope, you guys had enjoyed the video

Thanks for visiting my blog



27 comments:

  1. Replies
    1. HELLO sir,
      i used this same program and connection..but my GSM module not connected to my thingspeak account.but it shows CONNECT OK msg for thingspeak site .and aslo SEND OK msg ...here i used SIM800 module ...plz guide me

      Delete
    2. Sorry for the late reply. Please check the apn

      Delete
    3. HI Im also getting connected and it says send ok, but im not seeing the values in my thingSpeak channel. My APN is set on internet, wich is fine for my module. Using a Sim 808

      Delete
    4. Lograron utilizar el modulo SIM800L Me conecta y todo. pero no puedo ver respuesta en mi canal? Alguien lo logro?
      Gracias.

      Delete
    5. change the library for SIM 800

      Delete
  2. Hi Mr.Chandan Kumar ,
    What is the use of mySerial.println((char)26);

    ReplyDelete
  3. Thanks Chandan.. Good job..

    ReplyDelete
  4. good afternoon sir... what is the use of Show Serial data after AT+CIPMUX, AT+CSTT and others

    ReplyDelete
    Replies
    1. Hi there,
      Please refer to SIM900 AT commands manual for more information. It's available on the internet.

      Delete
  5. Can you provide the code for 2 fields.

    ReplyDelete
  6. Exelente proyecto. Estoy haciendo uno similar pero con un sensor DHT11 y una SIM800L. La configuracion del sensor de temperatura y humedad son digitales. Me puedes ayudar con la configuracion?

    Gracias.

    Saludos.

    ReplyDelete
  7. Hello sir...there is a doubt... i am trying to send random numbers serially from one arduino to another arduino uno to be displayed on thingspeak channel... but sometimes the data is missed and jumps to another data when i decrease the delay between AT COMMANDS..

    ReplyDelete
  8. Hi Chandan, i have installed your project but i have the follow error:

    AT+CIPSTART=TCP,api.thingspeak.com,80

    ERROR
    AT+CIPSEND

    ERROR
    GET http://api.thingspeak.com/update?api_key=08L71HX0303YW0OV&f

    Why?

    ReplyDelete
  9. Hi Chandan, Thank you for compiling this sketch. I am able to send the temperature from a DHT11 sensor. I receive the 'SEND OK' after transmission, but Thingspeak does not update with the value. Any idea what could be wrong?

    ReplyDelete
  10. This comment has been removed by a blog administrator.

    ReplyDelete
  11. Normally a Data Logger can be used for a variety of applications including a thermocouple data logger, temperature data logger & more.

    ReplyDelete
  12. Listed here you'll learn it is important, them offers the link in an helpful webpage: weather station

    ReplyDelete
  13. I have just gone through your blog......your information is so valuable. Imogu from Chennai Data Logger

    ReplyDelete
  14. Hi! Wonderful blog! Respect for sharing. I recommend waxing here. Best regards sincerely.

    ReplyDelete
  15. Отличная информация. Благодарю за публикацию. Новейшие статьи об окнах и дверях со стеклопакетами щелкай. Еще рекомендую технические статьи.

    ReplyDelete
  16. Здравствуйте! Обращаем ваше внимание на путеводитель инновационных медикментозных средств. В справочник вошли сведения о свыше 700 выпускаемых медпрепаратах, изготавливаемых российскими и иностранными фармацевтическими компаниями. О любом медицинском препарате имеется исчерпывающая информация: состав и форма выпуска, лечебные свойства, показания к применению, правила применения, противопоказания, взаимодействие со спиртными напитками, возможные побочные эффекты и взаимодействие другими медикаментами, также вероятность употребления при грудном вскармливании, беременности. В справочник введен тематический указатель, в котором представлена информация о том, какое медикаментозное средство необходимо принимать при тех или иных синдромах, болезнях, состояниях. Справочник находится на специализированном https://www.all-medications.ru/. Если не поможет, обратитесь к доктору. Парегорик, Камфора, Третиноин, Параметадион, Клопамид, Рифампицин / изониазид / пиразинамид,

    ReplyDelete