Code Monkey home page Code Monkey logo

modulesix's Introduction

Module 6 Task 1 - Distributed Networks

Members

Carlos Guanche, Jordan Smith, Cynthia Vu, TanTan Wang

Sensors and Setup

As a four person team, we used four ESP32 devices to create four distinct sensors. They are placed in four places within the general kitchen space on the second floor of AK Watson Hall, designed for future visualization/sonification that pertains to the usage of the space. They are: above the door, on the refridgerator, behind the microwave, and inside a cabinet.

  • Cabinet Sensor
    By using a modified button, we are able to detect when a specific cabinet in the kitchen is open, and when it is closed.

  • Fridge Sensor
    By transforming the handle of the refridgerator into a giant capacitive touch surface by covering it with aluminum foil and wiring it to an ESP32, we can know when the fridge door is being interacted with.

  • Inductor Coil
    By creating an inductor coil wired to an ESP32, we can place it near the microwave's power cord to know when the microwave is being used.

  • Door Sensor
    By creating an sensor mounted above the door next to the kitchen with two ultrasonic sensors and an ESP32, we are able to tell when someone either enters or exits the room through the stairwell.

Implementation

Followed this link to setup a mesh for the ESP32. The dependecies needed are:

  • ArduinoJson
  • TaskScheduler
  • AsyncTCP

ArduinoJSon and TaskScheduler can be found in the Arduino library manager; however, to get AsyncTCP, you have to download the source files and manually add it to the Arduino library.

When using PainlessMesh, each ESP32 has a unique node identifier. By knowing ahead of time which paramaters to receive from each node, we can process those accordingly.

Our simulator script was written in Python (simulator.py), while all the other files were programmed in the Arduino IDE for the ESP32.

modulesix's People

Contributors

tantantheman avatar cynthiavn2016 avatar cguanche1 avatar jordanalexandersmith avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.