<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>IoT on Everardo Shain</title><link>https://Everardo-shain.github.io/tags/iot/</link><description>Recent content in IoT on Everardo Shain</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 29 Oct 2021 08:06:25 +0600</lastBuildDate><atom:link href="https://Everardo-shain.github.io/tags/iot/index.xml" rel="self" type="application/rss+xml"/><item><title>IoT Sensor Data Classification</title><link>https://Everardo-shain.github.io/posts/projects/iot-sensor-data-classification/</link><pubDate>Fri, 29 Oct 2021 08:06:25 +0600</pubDate><guid>https://Everardo-shain.github.io/posts/projects/iot-sensor-data-classification/</guid><description>&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;This was an IoT project in which I implemented two machine learning algorithms, K-Nearest Neighbors (KNN) and Decision Tree, in Python to classify data collected from an MMA7361 accelerometer and a DHT11 temperature/humidity sensor connected to a NodeMCU ESP32 microcontroller. The sensors were programmed and tested using Arduino IDE, with data transmitted both through wired serial communication and wirelessly via MQTT using Mosquitto and OpenSSL for secure transfer. I organized the workflow on Jupyter Notebook, where I processed the collected data, labeled different scenarios (dark room, sunny room, bathroom, sensor movement types), and split it into training and testing sets. Both algorithms achieved good results, with accuracies above 97%, including perfect classification with the Decision Tree on the accelerometer dataset.&lt;/p&gt;</description></item></channel></rss>