<div class="textcontainer"> <h1 style = "text-align: center;">Week 9: Radio, WiFi, Bluetooth (IoT)</h1> <br> <p class = "margin"></p> For this week, we were paired up into groups to tackle a project incorporating one of the radio, wifi, or bluetooth capabilities in the ESP32 microcontroller. Our group decided to tackle WiFi because we collectively decided to that this was the most relevant capability for our final project. <br><br> <image style = "width: 80%" src = "9.1.png" alt = "Group Pic" class = center> </image><br> We tackled this by collectively deciding to build off of my speaker module from my <mark2><a href="../07_outputs/index.html">output assignment</a></mark2>. Whereas the original code worked by connecting the microcontroller to the wifi network and connecting to a selected radio channel using a function "connecttohost" embeded within the 'audioI2S library', we expanded on functionality by enabling a way for the user to switch between channels. This was done by working off the SimpleWiFi Server example in the example library that enables us to control a LED on the laptop through a local router. <br><br> Instead, we modified the code to add a "number" corresponding to a radio station of choice. This data would be relayed to the microcontroller where the radio station will be streamed from. <p class = "margin"></p> <br> <iframe src="https://app.arduino.cc/sketches/4d89e287-4637-47b2-a24d-35c8f3be47fd?view-mode=embed" style="height:700px;width:100%;margin:10px 0" frameborder=0></iframe> <br><br><br> <p class = "margin"></p> <h2 style="font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; font-style: bold"> Live Demo: </h2> <br> <video width="70%" controls autoplay class = center src="IMG_2513.mov" type="video/mp4" > </video> <br><br> <p class = "margin"></p> <br> <image style = "width: 20%" src = "Wi-Fi.png" alt = "End Pic" class = center> </image> <br><br> </div>