Recent advances in smart devices and technologies have enabled cars, smartphones, TVs, refrigerators, and several other devices to be connected to each other to build, operate, and manage the physical world. The Internet of Things (IoT) has significant potential to impact how individuals live and work by providing the tools necessary for innovative decision-making. The application of AI in IoT requires an understanding of machine learning algorithms, sensors, networking, and data analytics. To prepare our students as forerunners in AI, this course will introduce and practice a wide range of topics in the broad areas of IoT and data analytics and provide hands-on learning experiences and real-world applications. In addition, students will acquire knowledge of the ethics and law in IoT-enabled systems. Concepts in IoT ethics, such as data security, privacy, trustworthiness, and transparency of data, will be discussed in detail.