Viewed Separately Here Due to the Platform Differences in These Three Different Projects

Total Page:16

File Type:pdf, Size:1020Kb

Viewed Separately Here Due to the Platform Differences in These Three Different Projects Florida State University Libraries Electronic Theses, Treatises and Dissertations The Graduate School 2018 Design and Implementing Multipurpose Sensor Network for Smart City Monitoring Donglin Cai Follow this and additional works at the DigiNole: FSU's Digital Repository. For more information, please contact [email protected] FLORIDA STATE UNIVERSITY COLLEGE OF ENGINEERING DESIGN AND IMPLEMENTING MULTIPURPOSE SENSOR NETWORK FOR SMART CITY MONITORING By DONGLIN CAI A Thesis submitted to the Department of Electrical and Computer Engineering in partial fulfillment of the requirements for the degree of Master of Science 2018 Copyright c 2018 Donglin Cai. All Rights Reserved. Donglin Cai defended this thesis on July 19, 2018. The members of the supervisory committee were: Reza Arghandeh Professor Directing Thesis Sastry Pamidi Committee Member Simon Y. Foo Committee Member The Graduate School has verified and approved the above-named committee members, and certifies that the thesis has been approved in accordance with university requirements. ii ACKNOWLEDGMENTS I would like to acknowledge the thank those people who supported and helped me not only in my thesis but through out the whole life during the research time. I will express my gratitude to my superadvisor, Dr. Reza Arghandeh, who always guide me and helped me all along the way of my reserch and even daily life. I can't image how can I finish this without his help. I also want to say thank you to my whole group worked on UrbanBox project, it's wonderful to have such great teammates who really helped me a lot. I would like to thank Dr. Simon Y. Foo and Dr. Petru Andrei to be my committee member. I thank my parents for alway supporting my education. iii TABLE OF CONTENTS List of Tables . vi List of Figures . vii Abstract . ix 1 Introduction 1 1.1 Introduction . .1 1.1.1 What is a Wireless Sensor Network . .2 1.1.2 How Do Sensor Networks Work . .2 1.1.3 What is Smart City . .3 1.1.4 Why Do We Need Smart Cities . .4 1.1.5 What Is the Challenge and Concerns of Smart Cities . .5 1.2 Objective . .6 1.3 Motivation . .6 2 State of the Art 9 2.1 State of the Art . .9 2.1.1 Array of Things . .9 2.1.2 Smart Citizen . 12 2.1.3 Citizen Sense . 13 3 UrbanBox Hardware Design 15 3.1 UrbanBox Design Idea . 15 3.1.1 Microcontroller Comparision . 15 3.2 Hardware List and Functions . 18 3.2.1 Light Sensor - Photo-resistor . 18 3.2.2 Gas Detection Sensor - Grove- Multichannel Gas Sensor RB-See-488 . 18 3.2.3 Dust Sensor - Grove- Sharp Dust Sensor . 18 3.2.4 Temperature and Humidity Sensor - DHT22 . 19 3.2.5 Sound Sensor - High Sensitivity Sound Microphone Sensor Detection Module 20 3.2.6 Camera - TTL Serial Camera . 21 3.2.7 Micro-SD Breakout Board . 21 3.2.8 Fona 808 Shield . 21 3.2.9 GPS Antenna - Passive GPS Antenna uFL . 22 3.2.10 Lithium Ion Polymer Battery . 23 3.2.11 Mini Fan . 24 3.2.12 Others . 24 3.3 Whole System Design and Connection . 24 3.3.1 System Demo . 26 iv 4 Networking and Communication 29 4.1 Introduction . 29 4.2 Networking . 29 4.2.1 4G Technology . 29 4.2.2 WiFi Technology . 30 4.2.3 Ethernet Technology . 30 4.3 WSN Network Topologies . 31 4.3.1 Components of a WSN Node . 31 4.4 UrbanBox Network . 32 4.4.1 MQTT Protocol . 33 4.4.2 UrbanBox Platform . 34 4.4.3 Data Size . 35 4.5 UrbanBox Software . 37 4.5.1 Arduino IDE . 37 5 Future Work 40 5.1 Future Work . 40 5.1.1 Sensors and Shields . 40 5.1.2 Mesh Network . 41 5.1.3 Soldering and PCB Design . 41 5.1.4 Backup Power Supply . 41 5.1.5 Software and Platform . 42 5.1.6 Application . 42 5.1.7 Data Analytics . 42 Appendix A Coding Part 43 A.1 Arduino Code . 43 A.2 Arduino-Fonahelper . 50 Bibliography . 52 Biographical Sketch . 55 v LIST OF TABLES 2.1 Sensor List for Array of Things . 11 2.2 Sensor List for Smart Citizen . 13 3.1 DHT22 Accuracy . 20 3.2 Sensor Pins Connection . 25 4.1 Control Packages in MQTT Protocol[27][18][33] . 34 vi LIST OF FIGURES 3.1 Arduino Uno Board . 16 3.2 Raspberry Pi 3 . 17 3.3 Light Sensor . 18 3.4 Gas Sensor . 19 3.5 Dust Sensor . 19 3.6 DHT22 Sensor . 20 3.7 Sound Sensor . 20 3.8 TTL Serial Camera . 21 3.9 Micro-SD Breakout Board . 22 3.10 Fona 808 Shield with Antenna . 22 3.11 GPS Antenna . 23 3.12 Lithium Ion Polymer Battery . 23 3.13 Mini Fan . 24 3.14 Hardware Wires Connection . 25 3.15 Hardware Diagram . 26 3.16 UrbanBox Demo 1 . 27 3.17 UrbanBox Demo 2 . 28 4.1 Three Network Topologies . 31 4.2 UrbanBox Network . 32 4.3 MQTT Publish/Subscribe . 33 4.4 Adafruit IO Feeds List for UrbanBox . 35 4.5 Temperature Plot in Adafruit IO . 35 4.6 Humidity Plot in Adafruit IO . 36.
Recommended publications
  • Home Automation for Tinkerers
    Home Automation for tinkerers Abílio Costa [email protected] Once upon a time... Where it all begun ● I had 3 wireless power sockets! (yay?) ● But I was using only one. Why? ○ Only a single remote: ■ How to use the other two in different rooms? ○ They were dumb. ¯\_(ツ)_/¯ ■ It would be nice to have one of them turn on/off on a schedule? Poor man’s solution ● An Arduino Nano + 433MHz RF transmitter + RF receiver. ○ Total cost: less than 5€. ○ Arduino sketch using the RC Switch library. ○ USB to a Raspberry Pi for the brains. ○ Script on the Raspberry Pi; exposing HTTP endpoints. ● My home was now so very smart! ○ Control each power socket through my phone. ○ Office desk power turns on automatically when I get home. ○ Bedroom lamp turned on automatically after the morning alarm. ○ I could buy more power sockets, even from other brands! ● The same idea can be used to interact with many other things: ○ Alarm sensors; Doorbells; Garage doors; etc. Next step: home automation software Why? ● Better management (my script wasn't going very far). ● Allow integrating other devices besides the power plugs. ● Make devices from different brands / protocols talk to each other. ● UI included! Home automation solutions ● Open-source software: ○ Home Assistant ○ Domoticz ○ OpenHAB ○ Pimatic ● Commercial hardware + software: ○ SmartThings ○ Vera ○ Xiaomi Home Assistant Home Assistant ● Good looking and customizable web UI (uses Google Polymer). ● Lightweight; extra functionality added with a plugin-like system. ● Very powerful automation engine (IFTTT on steroids). ● Autodiscovery: many devices will just show up without any config! ● Local: no cloud dependency! ● REST API available.
    [Show full text]
  • Use Style: Paper Title
    Prasad Raspaile* et al. ISSN: 2250-3676 [IJESAT] [International Journal of Engineering Science & Advanced Technology] Volume-5, Issue-2, 054-056 An approach towards low cost Wireless Sensor Network for the applications of IoT Prasad Raspaile Prof. Vinay Keswani Vidarbha Institute of Technology Vidarbha Institute of Technology Rashtrasant Tukdoji Maharaj Nagpur University Rashtrasant Tukdoji Maharaj Nagpur University Nagpur, India Nagpur, India [email protected] [email protected] Abstract— The usage of embedded system in our day to we can directly find the NRF data sending and receiving day life is expanding rapidly. We rely on technology for our methods on conventional WSN networks which are using day to day activities, from simple tasks like calculation NRF and Arduino to form nodes. We are currently proposing a numbers till performing high end operations like flying a system where rather than connecting each and every sensor rocket. Technology and embedded system is playing an directly to the internet we are connecting this to the local important role. The next big thing in this filed is IoT or servers and then connecting, the local server to the global Internet of Things. This technology is nothing but it combines server. This will make the system more reliable and more the existing technology to the internet. From small sensors like secure. For local server we are using raspberry pi which is moisture till home automation devices like remote control open source and free to use. It provides a more secure and Switch, which is connected to the internet making it accessible strength connection on the network.
    [Show full text]
  • Monitoring Mum
    Monitoring Mum Open-source Telecare Andrew Findlay April 2017 Once upon a time... Once upon a time... Mother lives by the river Most of the time this is very pleasant But sometimes the rain falls We can cope with this And sometimes the river rises... But we knew that when we built the house OK for a day or two, but sometimes it lasts longer But not this If we had better warning, maybe... IoT to the rescue ● Monitor the river ● Monitor the mother ● Raise the alarm ● Keep the trend data SRF02 Ultrasonic Rangefinder Arduino / Nanode Analogue temp sensors RS232 link Outstation Arduino Mini Pro Other bits ● Linux webserver ● Arduino IDE ● RRDTool ● Movement sensors RRDTool – constant-size time-series database with graph-generation tools Web page for the river Web page for Mum December 2013 24th December 2013 Christmas eve 2013 A flood warning has just been issued Watch the green pot – it is waist-high 25th December 2013 26th December 2013 28th December 2013 5th January 2014 6th January 2014 7th January 2014 8th January 2014 It stayed like this for weeks... Datalogger Version 2 Raspberry Pi Digital temp sensors FTDI: USB-serial Mosquitto 2015 Built for a neighbour on the other river Raspberry Pi now easily available Encapsulated DS18B20 temp sensors Ultrasonic rangefinder giving more trouble this time Publishing live data ● Message Queues – Publish/Subscribe model – Allows multiple consumers to use the data ● Mosquitto message broker – MQTT protocol Logging RRDtool Script database Alerting Message Outstation App Broker on phone Third party
    [Show full text]
  • List of Projects Using Raspberry Pi with Advance View: 1
    List of Projects using Raspberry Pi with advance view: 1. Mobile Remote Surveillance Camera This interesting project will cover all things required for the ultimate goal of building a mobile remote surveillance camera. https://youtu.be/6FrEs4C9D-Y This interesting but complicated project will cover things from designing building a robot, to advanced congurations in linux (raspberry pi) to building an Android application…... Listed under: Phone Projects 2. Android Controlled Toy Using Raspberry Motor Shield The terrain vehicle which is managed with raspberry pi, arduino and controlled vi android software. Story At the end of the project we will manage a terrain vehicle which controlled by android device's accelemoter sensor The project contains Motor shield, raspberry pi, arduino and dc…... Listed under: Motor Projects 3. GrovePi Windows IoT: LED Blink This tutorial shows the simplest thing that you can do with the GrovePi: Blink a LED. Introduction to GrovePi with Windows IOT: LED Blink Tutorial This tutorial shows the simplest thing that you can do with the GrovePi: Blink a LED. This a great…... Listed under: LED Projects 4. Azure IoT Hub nRF24L01 Windows 10 IoT Core Field Gateway Windows 10 IoT Core on RPI based nRF24L01 eld gateway which enable sensor nodes to securely & reliably upload telemetry to AzureIoT Hubs. Overview For school Internet of Things (IoT) projects I needed a robust eld gateway for uploading telemetry data from a number "cheap n…... Listed under: Home Automation Projects 5. Windows 10 IoT Core on Raspberry Pi 2 – Adafruit Sensor data Pushing data to Microsoft Azure Event hubs from Windows 10 IoT Core with Raspberry Pi-2 connected with the Adafruit 10DOF IMU This is my rst blog on Windows 10 IoT Core with Raspberry Pi-2 connected with the Adafruit 10DOF IMU (A combo board provides 3-axis…..
    [Show full text]
  • Smart-House Documentation Release 0.0.2
    smart-house Documentation Release 0.0.2 Douglas Lohmann December 01, 2016 Contents 1 Licença 3 2 Sobre nós 9 3 Casa inteligente 11 4 Internet das Coisas 13 5 Processo de desenvolvimento de software 15 6 Hardware 17 7 Arduino 19 8 Estrutura IoT 21 9 Implementação da Estrutura IoT 25 10 Estrutura da Casa Inteligente 31 i ii smart-house Documentation, Release 0.0.2 Este projeto tem como objetivo apresentar os fundamentos computacionais para construção de uma casa inteligente. Nas proximas seçoes serão apresentados todos os passos do desenvolvimento de softawere necessario para construção da casa e todos os conteudos necessesarios para o entendimento dessa. O projeto visa a construção de Recurso educacional aberto (REA). Segundo o Projeto Brasileiro sobre Recursos Educacionais Abertos, REA são materiais de ensino, aprendizado e pesquisa, fixados em qualquer suporte ou mídia, que estejam sob domínio público ou licenciados de maneira aberta, permitindo que sejam utilizados ou adaptados por terceiros. Para maiores informações sobre REA acesse: http://www.rea.net.br/site/. Os arquivos e códigos fonte do projetos estão disponíveis em: https://github.com/hackerspace-utfpr-cm/smarthouse. Contents 1 smart-house Documentation, Release 0.0.2 2 Contents CHAPTER 1 Licença Este projeto é um software livre; você pode redistribuí-lo e/ou modificá-lo dentro dos termos da Licença Creative Commons Attribution Share Alike (CC-BY-SA). 1.1 Creative commons Attribution-ShareAlike 4.0 International Public License (CC-BY-SA) By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License (“Public License”).
    [Show full text]
  • Designing a Tangible Programming Interface for the Internet of Things
    Die approbierte Originalversion dieser Diplom-/ Masterarbeit ist in der Hauptbibliothek der Tech- nischen Universität Wien aufgestellt und zugänglich. http://www.ub.tuwien.ac.at The approved original version of this diploma or master thesis is available at the main library of the Vienna University of Technology. http://www.ub.tuwien.ac.at/eng Designing a Tangible Programming Interface for the Internet of Things DIPLOMARBEIT zur Erlangung des akademischen Grades Diplom-Ingenieur im Rahmen des Studiums Medieninformatik eingereicht von Daniel Dudo Matrikelnummer 0925446 an der Fakultät für InforMatik der Technischen Universität Wien Betreuung Betreuer: Ao.Univ.Prof. Dr. Peter Purgathofer Mitbetreuer: Univ.Ass. Dr. Florian Güldenpfennig Wien, 22.01.2018 (Unterschrift Verfasser/in) (Unterschrift Betreuer/in) Technische Universität Wien A-1040 Wien ▪ Karlsplatz 13 ▪ Tel. +43-1-58801-0 ▪ www.tuwien.ac.at Designing a Tangible Programming Interface for the Internet of Things MASTER’S THESIS submitted in partial fulfillment of the requirements for the degree of Master of Science in Media Informatics by Daniel Dudo Registration Number 0925446 to the Faculty of Informatics at the Vienna University of Technology Supervision Advisor: Ao.Univ.Prof. Dr. Peter Purgathofer Co-Advisor: Univ.Ass. Dr. Florian Güldenpfennig Vienna, 22.01.2018 (Signature of Author) (Signature of Advisor) Technische Universität Wien A-1040 Wien ▪ Karlsplatz 13 ▪ Tel. +43-1-58801-0 ▪ www.tuwien.ac.at I Erklärung zur Verfassung der Arbeit Daniel Dudo Wienerberg City, 1100 Wien „Hiermit erkläre ich, dass ich diese Arbeit selbständig verfasst habe, dass ich die verwendeten Quellen und Hilfsmittel vollständig angegeben habe und dass ich die Stellen der Arbeit – einschließlich Tabellen, Karten und Abbildungen –, die anderen Werken oder dem Internet im Wortlaut oder dem Sinn nach entnommen sind, auf jeden Fall unter Angabe der Quelle als Entlehnung kenntlich gemacht habe.“ Wien, 22.01.2018 __________________________________ (Unterschrift Verfasser) III Acknowledgements First of all, I would like to thank Dr.
    [Show full text]
  • Project List
    Home Privacy Policy Search here ... HOME PROJECTS LIST E-BOOKS TUTORIALS BLOG NEWS & UPDATES RASPBERRY PROJECTS BY APPLICATION CONTACT US Electronic Live Capture Mousetrap » The femtocell technology » Open Inverter, an open source micro-solar inverter » Liquid Cooling Moves onto the Chip for Denser Electronics Projects List View 10sec video to understand given list: Project List Excel Print CSV PDF Copy Search: Project Title Project URL http://projects-raspberry.com/? $199, 4.2” computer is Intel’s rst Raspberry Pi competitor p=4623 http://projects-raspberry.com/? (Week 13) Testing with 16×2 LCD screen and Raspberry Pi using Fritzing p=4346 http://projects-raspberry.com/? *Preliminary* SPI on the Pi: Communicating with a SPI 3-axis accelerometer using a Raspberry Pi p=1012 http://projects-raspberry.com/? 0-5V Analog input from Raspberry Pi graphed on Web p=718 http://projects-raspberry.com/? 1-wire temperature sensor DS1820 at Raspberry Pi (GPIO directly) p=2944 http://projects-raspberry.com/? 1. The Pi Plane Project p=2556 http://projects-raspberry.com/? 11 Arduino projects that require major hacking skills—or a bit of insanity p=4637 http://projects-raspberry.com/? 16 Channel relay board for your Arduino or Raspberry PI – 24V p=3592 http://projects-raspberry.com/? 16×2 LCD Module Control Using Python p=2278 http://projects-raspberry.com/? 1979 Bang & Olufsen Raspberry Pi Internet Radio p=4785 http://projects-raspberry.com/? 1: A single LED p=3210 http://projects-raspberry.com/? 2-Player Bartop Arcade Machine (Powered by Pi) p=9 http://projects-raspberry.com/?
    [Show full text]
  • “IOT Technologies Research and Smart Agriculture Prototype”
    University Degree in Audiovisual System Engineering 2018-2019 Bachelor Thesis “IOT Technologies Research and Smart Agriculture Prototype” Jesús Gento Ribas Supervisor: Almudena Lindoso Muñoz Leganés, 10th June This work is licensed under Creative Commons Attribution – Non Commercial – Non Derivatives TÍTTLE: IOT Technologies Research and Smart Agriculture Prototype AUTHOR: Jesús Gento Ribas SUPERVISOR: Almudena Lindoso Muñoz The defense session of the present work was set to 01/07/2019 and was judged under the following tribunal: PRESIDENT: Jorge Pleite Guerra SECRETARY: Antonio Rodríguez Hidalgo VOCAL: Javier López Santiago The score obtained was of: PRESIDENT: VOCAL: SECRETARY: IOT Technologies Research and Smart Agriculture Prototype Jesús Gento Ribas ABSTRACT The present Final Project offers sensors-based solutions according to the cheapening of mini-computers and in line with the recent spreading of IOT (Internet Of Things) technologies. The main application field covered is Smart Agriculture, where sophisticated systems that sense environmental conditions and trigger output devices, usually with object on industrial control purposes, are being studied and even implanted nowadays. For this reason, consequently, a prototype has been designed. Due to a modern approach to computing and technology that demands different and more intuitive user-interactions, IOT wireless options were also considered, as well as voice compatibility. A control alternative via MQTT (Message Queuing Telemetry Transport) protocol was in addition proposed, on using the developed Android app. Finally, this whole project pretends to offer the results of a generic research of the issue, whose conclusions may be only partially exposed in the prototype. Therefore, it is open to the exploitation of further functionalities and may also be adapted to a different economical sector.
    [Show full text]