hall sensor

Group Members

We, the group members, are billiardsace, chainfire, diskotek, earmuffs, and inluvwj.

Purpose:

To create a system of tripwires using Infrared LEDs and Infrared Receivers and use them to keep an accurate count of the students in a dining hall at any given time. Through the use of this system we will locate the peak hours of a dining hall and publish the data to the students. This project will also benefit the Dining Services because they can also use this data to better serve the students.

Goals:

  • Assemble the IR Tripwire device.
  • Create the code necessary to keep accurate count.
  • Create the code necessary to publish the data.
  • To successfully find the peak hours at a dining hall based on the data collected.

Our tentative schedule for the 5 week semester is located here.

Team Meetings

Parts List

{Special Edition: CodeWarrior for Microcontrollers Code Size Restriction: RS08/HC(S)08 - 32Kb; CFv1 - 64Kb FREESCALE exe 458007 6.3 } this is the download we used.

Description of Code

  • The microcontroller will keep track of which IR LED is tripped and based on the order in which the IR LEDs are tripped we will decide if someone is entering or exiting the dining hall using a series of if statements. For a time period we will keep incrementing or decrementing a variable value that stands for how many people are in the dining hall.
  • Once the time period we decide is past the variable value will be passed over to a linux computer and written to a file titled “Numbers.txt”.
  • After it has been written to this file the python program designed to graph the data will continue to loop endlessly until it sees that the file has been updated 20 times. Then the program will exit the loop, graph the data, and save the data into a MYSQL database titled “DiningHall” for use at a later time.
  • Lastly, the graph will be displayed online.

problems we've run into:

  • our code has no “debouncing” feature so when we run it it seems to think 32000 people enter the dining hall with one swipe through the sensor. So we're gonna run some version of debouncing code to fix that
  • we're working with a very small scale of the trip sensor right now. But the sensor isn't powerful enough to work on a bigger scale

By next week we need at least the code to recognize one person at a time, and to send the statistics to the website (or at least the .txt file) Chris has set up. If we can make a human doorway sized sensor, that'd be great too!

Documentation

Progress People
Involved
Code/ Descriptions
Contacting Dining
Staff
Progress Halted diskotek
chainfire
earmuffs
Information
Additional Info
Pictures
Hardware Complete earmuffs
chainfire
Hardware Progression
Counting
Code
Complete earmuffs
billiardsace
chainfire
Counting Code Logic
Counting Code,countingcode
Data Transfer
to Computer
in Progress Link Coming Soon
Graphing Code Complete billiardsace Code

Approval from dining staff

PowerPoints

 
Back to top
projects/hallsensor.txt · Last modified: 2010/02/11 15:28 by earmuffs
 
 
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0