From Control Systems Technology Group

Revision as of 13:28, 2 April 2016 by S137552 (Talk | contribs)
Jump to: navigation, search

Back to main page: PRE2015_3_Groep4

Final product

Our final product exist out of several components, which have each his own function. The data during the night will be gathered with an arduino and sound sensor. Gobetwino logged the real time data to a .txt file on the computer. Matlab, a calculation program on the computer, will process this logged data real time. Finally, matlab will determine the best wake-up moment. At that moment, Matlab will start the alarm which will build up in volume. The computer will be used to play the sound. Matlab will also turn a LED, which will be on another arduino as the sound sensor. (it's namaly impossible to log data from the arduino and send at the same time a command to the same arduino) The LED will also build up in volume.

User input

Our final product isn't a completely finished product which is ready for consumer use. It's a prototype which isn't realy userfriendly. Now, the user have to do a many actions before the Smart Bedroom is ready. The user have to do the followoing steps now:

  • Make a .txt file.
  • Make (or change) a command in Gobetwino to log the gathered data on the made .txt file.
  • Fill in the right path and filename to the .txt file in Matlab.
  • Set the alarm and wake-up interval on the right time by using the notation in Matlab.
  • Connect the equipment on the right manner. (same port as defined in the Matlab script)
  • Upload and start the arduino-code. (while Gobetwino is closed)
  • Open Gobetwino. (the logging of data will start now)
  • Run in Matlab the script 'runscript.m'
Personal tools