Research Article
BibTex RIS Cite

Mobile Platform Thermal Sensor Application Based on IoT and Socket Programming

Year 2023, Volume: 11 Issue: 1, 457 - 465, 31.01.2023
https://doi.org/10.29130/dubited.1064120

Abstract

With the increase in IoT-based applications in recent years, technological developments and achievements in microelectronics have led to the development of sensor-based systems. A high degree of accuracy is achieved with the help of these systems, which will reduce the costs of health services and have a positive impact on the health sector people. However, with the spread of the Covid-19 epidemic worldwide, low-cost temperature measurement has gained importance. In this article, a study was carried out to detect living things using a thermal sensor on a mobile platform. It is planned to add a thermal camera feature to the thermal sensor to make the detection. Since the objects in the sensor's field of view can be noticed due to the heat they emit, the movements of the objects can be easily followed. The mobile platform connection of the thermopile sensor is provided with the I2C protocol. In the study, a server was created on the mobile platform, and communication was carried out with TCP socket programming technology in the Python programming language. TCP client performs real-time data acquisition from the sensor. In addition to these, a desktop application has been designed to display the data in a way that users can understand. The application processed the data with 64 float data arrays, and a heat map image was obtained. In addition, the accuracy of the study was tested by conducting trials under different environments and temperatures from various people. Finally, the accuracy of the heat map of human and living objects has been demonstrated by matching the thermal image and the camera image in the study. 

References

  • [1]C. Wai Zhao, J. Jegatheesan, and S. Chee Loon, “Exploring IOT application using raspberry Pi,” International Journal of Computer Nets and Applications, vol. 2, no. 1, Accessed: Jan. 20, 2022.
  • [2]M. Kurtulus, F. Irgi, M. Namdar, A. Basgumus, and R. Temirtas, “Internet of things based predictive mechanical fault detection system,” 4th International Symposium on Multidisciplinary Studies and Innovative Technologies, ISMSIT 2020- Proceedings, Oct. 2020.
  • [3]Z. H. Qian and Y. J. Wang, “IoT technology and application,” Acta Electonica Sinica, vol. 40, no. 5, p. 1023, May 2012.
  • [4]J. C. Zhao, J. F. Zhang, Y. Feng, and J. X. Guo, “The study and application of the IOT technology in agriculture,” Proceedings- 2010 3rd IEEE International Conference on Computer Science and Information Technology, ICCSIT 2010, vol. 2, pp. 462–465, 2010.
  • [5] K. Küçük and C. Bayılmış, Nesnelerin İnternet’i: Teori ve Uygulamaları (Internet of things: theory and applications), 2019.
  • [6] Y.-M. Lee and J.-S. Shin, “A Study on the Design of IoT-based Thermal Sensor and Video Sensor Integrated Surveillance Equipment,” The Journal of the Institute of Internet, Broadcasting and Communication, vol. 19, no. 6, pp. 9–13, 2019.
  • [7] X. Zhang, M. Pipattanasomporn, T. Chen, and S. Rahman, “An IoT-Based Thermal Model Learning Framework for Smart Buildings,” IEEE Internet of Things Journal, vol. 7, no. 1, pp. 518–527, Jan. 2020.
  • [8] P. Sundaravadivel, S. P. Mohanty, E. Kougianos, and U. Albalawi, “An energy efficient sensor for thyroid monitoring through the IoT,” 2016 17th International Conference on Thermal, Mechanical and Multi-Physics Simulation and Experiments in Microelectronics and Microsystems, EuroSimE 2016, Apr. 2016.
  • [9] S. Yoon, S. Carreon-Bautista, and E. Sanchez-Sinencio, “An area efficient thermal energy harvester with reconfigurable capacitor charge pump for IoT applications,” IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 65, no. 12, pp. 1974–1978, Dec. 2018.
  • [10] E. Guney, G. Agirtas and C. Bayilmis, “MongoDB based real-time monitoring heart rate using websocket for remote healthcare,” Jurnal Ilmiah Teknik Elektro Komputer dan Informatika (JITEKI Journal), vol. 8, no. 4, pp. 500-508, Dec. 2022.
  • [11] D. Levshun, A. Chechulin, and I. Kotenko, “A technique for design of secure data transfer environment: Application for I2C protocol,” Proceedings- 2018 IEEE Industrial Cyber-Physical Systems, ICPS 2018, pp. 789–794, Jun. 2018.
  • [12] R. Sarojini and S. Ramalingam, “Smart real time data logging system for industrial automation using 12C protocol”, Accessed: Jan. 20, 2022.
  • [13] D. Levshun, A. Chechulin, and I. Kotenko, “A technique for design of secure data transfer environment: Application for I2C protocol,” Proceedings- 2018 IEEE Industrial Cyber-Physical Systems, ICPS 2018, pp. 789–794, Jun. 2018.
  • [14] “What is transmission control protocol TCP/IP model?” https://www.fortinet.com/resources/cyberglossary/TCP-ip (accessed Jan. 20, 2022).
  • [15] “Transmission control protocol (TCP) (article) | Khan Academy.” https://www.khanacademy.org/computing/computers-and-internet/xcae6f4a7ff015e7d:the-internet/xcae6f4a7ff015e7d:transporting-packets/a/transmission-control-protocol--TCP (accessed Jan. 20, 2022).
  • [16] K. A. Radhika, B. L. Raksha, B. R. Sujatha, U. Pruthviraj, and K. v. Gangadharan, “IoT based joystick controlled pibot using socket communication,” 2018 IEEE Distributed Computing, VLSI, Electrical Circuits and Robotics, DISCOVER 2018- Proceedings, pp. 121–125, Mar. 2019.
  • [17] M. Xue and C. Zhu, “The socket programming and software design for communication based on client/server,” Proceedings of the 2009 Pacific-Asia Conference on Circuits, Communications and System, PACCS 2009, pp. 775–777, 2009.

Mobil Platformda IoT Temelli ve Soket Programlamaya Dayalı Termal Sensör Uygulaması

Year 2023, Volume: 11 Issue: 1, 457 - 465, 31.01.2023
https://doi.org/10.29130/dubited.1064120

Abstract

Son yıllarda IoT temelli uygulamaların artması ile teknolojik gelişmeler ve mikroelektroniksel alandaki başarımlar, sensör tabanlı sistemlerin gelişmesine yol açmıştır. Temelde sağlık hizmetlerinin maliyetlerini düşürmek ve insanlara sağlık sektörü üzerinde olumlu bir etki gösterecek olan bu sistemlerin yardımı ile yüksek bir derecede doğru sonuçlar elde edilmektedir. Bununla birlikte, dünya çapında Covid-19 salgınının yayılmasıyla da düşük maliyetli olarak sıcaklık ölçümü önem kazanmıştır. Bu makalede mobil platform üzerinde termal sensör kullanılarak canlı varlık tespiti yapılmasına yönelik bir çalışma gerçekleştirilmiştir. Temelde tespitin yapılabilmesi için termal sensöre bir çeşit termal kamera özelliği kazandırılması planlanmıştır. Sensörün görüş alanındaki cisimler yaydıkları sıcaklık nedeniyle fark edilebildiğinden dolayı cisimlerin hareketleri kolayca takip edilebilecektir. Termopil sensörün mobil platform bağlantısı I2C protokolüyle sağlanmıştır. Çalışmada, mobil platform üzerinde bir sunucu oluşturulmuş ve Python programlama dilinde TCP soket programlama teknolojisi ile haberleşme gerçekleştirilmiştir. TCP istemcisi sensörden gerçek zamanlı veri alınması işlemini gerçekleştirmektedir. Bunlara ek olarak, verilerin kullanıcıların anlayabileceği şekilde görüntülenebilmesi için bir masaüstü uygulaması tasarlanmıştır. Uygulamada veriler alınan 64 adet float veri dizisi ile işlenerek ısı haritası görüntüsü elde edilmiştir. Bununla beraber, çeşitli kişilerden farklı ortam ve sıcaklıklar altında denemeler yapılarak çalışmanın doğruluğu test edilmiştir. Son olarak, yapılan çalışmada termal görüntü ile kamera görüntüsü eşleştirilerek insan ve canlı nesnelerin ısı haritası gösterilmiştir.

References

  • [1]C. Wai Zhao, J. Jegatheesan, and S. Chee Loon, “Exploring IOT application using raspberry Pi,” International Journal of Computer Nets and Applications, vol. 2, no. 1, Accessed: Jan. 20, 2022.
  • [2]M. Kurtulus, F. Irgi, M. Namdar, A. Basgumus, and R. Temirtas, “Internet of things based predictive mechanical fault detection system,” 4th International Symposium on Multidisciplinary Studies and Innovative Technologies, ISMSIT 2020- Proceedings, Oct. 2020.
  • [3]Z. H. Qian and Y. J. Wang, “IoT technology and application,” Acta Electonica Sinica, vol. 40, no. 5, p. 1023, May 2012.
  • [4]J. C. Zhao, J. F. Zhang, Y. Feng, and J. X. Guo, “The study and application of the IOT technology in agriculture,” Proceedings- 2010 3rd IEEE International Conference on Computer Science and Information Technology, ICCSIT 2010, vol. 2, pp. 462–465, 2010.
  • [5] K. Küçük and C. Bayılmış, Nesnelerin İnternet’i: Teori ve Uygulamaları (Internet of things: theory and applications), 2019.
  • [6] Y.-M. Lee and J.-S. Shin, “A Study on the Design of IoT-based Thermal Sensor and Video Sensor Integrated Surveillance Equipment,” The Journal of the Institute of Internet, Broadcasting and Communication, vol. 19, no. 6, pp. 9–13, 2019.
  • [7] X. Zhang, M. Pipattanasomporn, T. Chen, and S. Rahman, “An IoT-Based Thermal Model Learning Framework for Smart Buildings,” IEEE Internet of Things Journal, vol. 7, no. 1, pp. 518–527, Jan. 2020.
  • [8] P. Sundaravadivel, S. P. Mohanty, E. Kougianos, and U. Albalawi, “An energy efficient sensor for thyroid monitoring through the IoT,” 2016 17th International Conference on Thermal, Mechanical and Multi-Physics Simulation and Experiments in Microelectronics and Microsystems, EuroSimE 2016, Apr. 2016.
  • [9] S. Yoon, S. Carreon-Bautista, and E. Sanchez-Sinencio, “An area efficient thermal energy harvester with reconfigurable capacitor charge pump for IoT applications,” IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 65, no. 12, pp. 1974–1978, Dec. 2018.
  • [10] E. Guney, G. Agirtas and C. Bayilmis, “MongoDB based real-time monitoring heart rate using websocket for remote healthcare,” Jurnal Ilmiah Teknik Elektro Komputer dan Informatika (JITEKI Journal), vol. 8, no. 4, pp. 500-508, Dec. 2022.
  • [11] D. Levshun, A. Chechulin, and I. Kotenko, “A technique for design of secure data transfer environment: Application for I2C protocol,” Proceedings- 2018 IEEE Industrial Cyber-Physical Systems, ICPS 2018, pp. 789–794, Jun. 2018.
  • [12] R. Sarojini and S. Ramalingam, “Smart real time data logging system for industrial automation using 12C protocol”, Accessed: Jan. 20, 2022.
  • [13] D. Levshun, A. Chechulin, and I. Kotenko, “A technique for design of secure data transfer environment: Application for I2C protocol,” Proceedings- 2018 IEEE Industrial Cyber-Physical Systems, ICPS 2018, pp. 789–794, Jun. 2018.
  • [14] “What is transmission control protocol TCP/IP model?” https://www.fortinet.com/resources/cyberglossary/TCP-ip (accessed Jan. 20, 2022).
  • [15] “Transmission control protocol (TCP) (article) | Khan Academy.” https://www.khanacademy.org/computing/computers-and-internet/xcae6f4a7ff015e7d:the-internet/xcae6f4a7ff015e7d:transporting-packets/a/transmission-control-protocol--TCP (accessed Jan. 20, 2022).
  • [16] K. A. Radhika, B. L. Raksha, B. R. Sujatha, U. Pruthviraj, and K. v. Gangadharan, “IoT based joystick controlled pibot using socket communication,” 2018 IEEE Distributed Computing, VLSI, Electrical Circuits and Robotics, DISCOVER 2018- Proceedings, pp. 121–125, Mar. 2019.
  • [17] M. Xue and C. Zhu, “The socket programming and software design for communication based on client/server,” Proceedings of the 2009 Pacific-Asia Conference on Circuits, Communications and System, PACCS 2009, pp. 775–777, 2009.
There are 17 citations in total.

Details

Primary Language Turkish
Subjects Engineering
Journal Section Articles
Authors

Emin Güney 0000-0003-0098-9018

Akın Yaşar This is me 0000-0003-4166-7701

Gamze Ağırtaş This is me 0000-0003-3931-1976

Cüneyt Bayılmış 0000-0003-1058-7100

Publication Date January 31, 2023
Published in Issue Year 2023 Volume: 11 Issue: 1

Cite

APA Güney, E., Yaşar, A., Ağırtaş, G., Bayılmış, C. (2023). Mobil Platformda IoT Temelli ve Soket Programlamaya Dayalı Termal Sensör Uygulaması. Düzce Üniversitesi Bilim Ve Teknoloji Dergisi, 11(1), 457-465. https://doi.org/10.29130/dubited.1064120
AMA Güney E, Yaşar A, Ağırtaş G, Bayılmış C. Mobil Platformda IoT Temelli ve Soket Programlamaya Dayalı Termal Sensör Uygulaması. DUBİTED. January 2023;11(1):457-465. doi:10.29130/dubited.1064120
Chicago Güney, Emin, Akın Yaşar, Gamze Ağırtaş, and Cüneyt Bayılmış. “Mobil Platformda IoT Temelli Ve Soket Programlamaya Dayalı Termal Sensör Uygulaması”. Düzce Üniversitesi Bilim Ve Teknoloji Dergisi 11, no. 1 (January 2023): 457-65. https://doi.org/10.29130/dubited.1064120.
EndNote Güney E, Yaşar A, Ağırtaş G, Bayılmış C (January 1, 2023) Mobil Platformda IoT Temelli ve Soket Programlamaya Dayalı Termal Sensör Uygulaması. Düzce Üniversitesi Bilim ve Teknoloji Dergisi 11 1 457–465.
IEEE E. Güney, A. Yaşar, G. Ağırtaş, and C. Bayılmış, “Mobil Platformda IoT Temelli ve Soket Programlamaya Dayalı Termal Sensör Uygulaması”, DUBİTED, vol. 11, no. 1, pp. 457–465, 2023, doi: 10.29130/dubited.1064120.
ISNAD Güney, Emin et al. “Mobil Platformda IoT Temelli Ve Soket Programlamaya Dayalı Termal Sensör Uygulaması”. Düzce Üniversitesi Bilim ve Teknoloji Dergisi 11/1 (January 2023), 457-465. https://doi.org/10.29130/dubited.1064120.
JAMA Güney E, Yaşar A, Ağırtaş G, Bayılmış C. Mobil Platformda IoT Temelli ve Soket Programlamaya Dayalı Termal Sensör Uygulaması. DUBİTED. 2023;11:457–465.
MLA Güney, Emin et al. “Mobil Platformda IoT Temelli Ve Soket Programlamaya Dayalı Termal Sensör Uygulaması”. Düzce Üniversitesi Bilim Ve Teknoloji Dergisi, vol. 11, no. 1, 2023, pp. 457-65, doi:10.29130/dubited.1064120.
Vancouver Güney E, Yaşar A, Ağırtaş G, Bayılmış C. Mobil Platformda IoT Temelli ve Soket Programlamaya Dayalı Termal Sensör Uygulaması. DUBİTED. 2023;11(1):457-65.