Difference between revisions of "Smarter Blinds"

From ESE205 Wiki
Jump to navigation Jump to search
Line 72: Line 72:
  
 
=== Mechanics ===
 
=== Mechanics ===
 +
==== Detecting temperature of room ====
 +
*Used an LM35DX temperature sensor to take in temperature values of the room in which the blinds are located
 +
*Values read from temperature sensor are converted into degrees Fahrenheit, which can be seen in further detail under Code section
 +
 +
==== Detecting luminosity of room ====
 +
*Used CdS photocell (photoresistor) to detect the amount of light in the room in which the blinds are located
 +
*Values read from photocell are converted to brightness on a scale of 1-10, which was done to prevent user confusion with unfamiliar brightness values
 +
 +
==== Receiving user input ====
 +
*User is given option to have blinds adjust based off either room temperature or room luminosity
 +
*Text is displayed on Adafruit FeatherWing OLED, and user will utilize three buttons to set desired temperature/luminosity
 +
 +
==== Setting initial position of blinds ====
 +
*Mounted strong magnet on one flap of blinds
 +
*Hall Effect sensor used to determine when blinds are closed - when magnet is detected, blinds should be completely closed
 +
 +
==== Opening and closing the blinds ====
 +
*5VDC Stepper Motor used to  rotate position of blinds in both clockwise and counterclockwise directions
 +
*Stepper Motor opens 0 degrees (minimum light) to 90 degrees (maximum light)
 +
 +
==== 3D Printing ====
 +
*Creation of connector between stepper motor and rotating rod of blinds
 +
*Creation of enclosure to withhold and hide hardware towards the top of the blinds
  
 
=== Programming ===
 
=== Programming ===

Revision as of 03:19, 3 April 2019

Smarter Blinds

Proposal

Team Members

  • Elizabeth Saliba
  • Liza Kaniewski
  • Michael Williams (TA)

Links

Smarter_Blinds_Log

Budget: Nite Light & Smarter Blinds

Presentation

GitHub

Stepper Motor Tutorial

Overview

New technology has allowed society to make improvements to daily items including thermostats and other objects around the home. Fascinated with this idea of do-it-yourself home improvement projects and the wide breadth of tasks that can be accomplished we have decided to make Smarter Blinds. We will be creating blinds that move according to user input. By incorporating aspects that allow the blinds to move according to sunlight and temperature in the room to eliminate the use of air conditioning or heating we hope to make our blinds energy efficient. This way, our hope is that energy consumption in the home will be reduced through our creation of Smarter Blinds.

Objectives and Goals

  • Have the blinds open from being completely closed to open over a period of time set by the user
  • Make the design efficient and compact so that it could work for all blinds that utilize rotating rod to open/close
  • Have a user inputted preferred light intensity so that the blinds move throughout the day according to desired intensity.
  • Make eco-friendly functions that increase/decrease the amount of light let in, which lessens the need for air conditioning/heating
  • Find a suitable power source for the blinds such as lithium batteries or potentially solar power
  • If time allows, develop a way for the blinds to be controlled on your mobile device via Adafruit App

Challenges

  • Learning and effectively using Arduino
  • Learning CAD and 3D printing skills with the goal of printing as many parts as possible to be cost effective
  • Generating enough power to operate the blinds
  • Determining the relationship between temperature, luminous intensity and blind angle
  • Making sure the motor is strong enough to turn the blinds
  • Creating a design that can be used on various blinds
  • Designing a user-friendly app that connects to the blinds via Bluetooth
  • Finding a way to determine position of blinds when initially turned on
  • Transferring system from Arduino Uno to Feather

Budget

Current Parts Purchased / Have:

Current Amount Spent: $49.44 + $7.15 = $56.59

Gantt Chart

https://docs.google.com/spreadsheets/d/10uzT7YQ7MJU3zTquifuFkcKUptFDYlntzzncpx78SI4/edit?usp=sharing

Design and Solutions

Mechanics

Detecting temperature of room

  • Used an LM35DX temperature sensor to take in temperature values of the room in which the blinds are located
  • Values read from temperature sensor are converted into degrees Fahrenheit, which can be seen in further detail under Code section

Detecting luminosity of room

  • Used CdS photocell (photoresistor) to detect the amount of light in the room in which the blinds are located
  • Values read from photocell are converted to brightness on a scale of 1-10, which was done to prevent user confusion with unfamiliar brightness values

Receiving user input

  • User is given option to have blinds adjust based off either room temperature or room luminosity
  • Text is displayed on Adafruit FeatherWing OLED, and user will utilize three buttons to set desired temperature/luminosity

Setting initial position of blinds

  • Mounted strong magnet on one flap of blinds
  • Hall Effect sensor used to determine when blinds are closed - when magnet is detected, blinds should be completely closed

Opening and closing the blinds

  • 5VDC Stepper Motor used to rotate position of blinds in both clockwise and counterclockwise directions
  • Stepper Motor opens 0 degrees (minimum light) to 90 degrees (maximum light)

3D Printing

  • Creation of connector between stepper motor and rotating rod of blinds
  • Creation of enclosure to withhold and hide hardware towards the top of the blinds

Programming

Electronics

Results

Next Steps

References

Resources

  • Past Projects

https://classes.engineering.wustl.edu/ese205/core/index.php?title=Smart_Blinds https://www.hackster.io/Froz3nArcher/smart-blinds-573548 https://www.hackster.io/rjacobo2/lane-tech-hs-pcl-iot-smart-blinds-42a68a (potential design idea)

  • Stepper Motor and Arduino

Arduino Modules - L298N Dual H-Bridge Motor Controller Controlling DC Motors with the L298N Dual H-Bridge and an Arduino

  • Bluetooth Connection

Adafruit Bluefruit LE UART Friend - Bluetooth Low Energy (BLE) Adafruit Feather 32u4 Bluefruit LE Adafruit Feather 32u4 Bluefruit Overview

  • Soldering

Soldering YouTube How to Solder

  • Temperature Sensor

Temperature Sensor

  • Photoresistor

Photoresistor