Skip to content

Instantly share code, notes, and snippets.

@dushime
Created February 17, 2014 17:12
Show Gist options
  • Save dushime/9054818 to your computer and use it in GitHub Desktop.
Save dushime/9054818 to your computer and use it in GitHub Desktop.
People counting machine
# Title
People counting machine
# Picture
media: undefined
# Objective
we are doing a machine that count people or other given thing that are entering a certain place.
we are using light sensor (LDR) to count the entrance.
# Duration
3hours
# Age Group
all
# Materials
## light sensor ( LDR)
* description:
* quantity:0
* price:10€
* link:
## resistor
* description:undefined
* quantity:undefined
* price:undefined
* link:undefined
## servomotor
* description:undefined
* quantity:undefined
* price:undefined
* link:undefined
## breadboard
* description:undefined
* quantity:undefined
* price:undefined
* link:undefined
## Arduino
* description:undefined
* quantity:undefined
* price:undefined
* link:undefined
## light source
* description:undefined
* quantity:undefined
* price:undefined
* link:undefined
# Steps
## In starting , you fix the resistor and the light sensor(LDR) on the breadboard.
media:
notes: This light sensor will detect the intensity in the entrance to get it like the basic data. This is because when a person or an object passes through the entrance , there will be the change in the intensity of light . An
## connect the servomotor to the board.
media: undefined
notes: This servomotor will help to close the door when a desired number is reached. This servomotor will be connected to the door in order to push or pull .
## Place the light source
media: undefined
notes: At this point , you need to fix the light source in front of the the light sensor so that something can pass between them.
## The circuit is connected to the arduino .
media: undefined
notes: Before you connect both of them ( arduino and the rest of circuit ) , you should have first uploaded the program to the arduino first and connect them after the upload .
## Lastly, you connect it to the power.
media: undefined
notes: The power source will be used to supply power to the circuit . You can use a battery or any other kind of source.
# Notes
The concept is that when something passes through the light sensor and the light source , the sensor feels that the intensity has decreased and the micro-controller will use that change as sign that something has passed and count it .
{"id":"9054818","user":"dushime","description":"People counting machine","urls":["undefined"],"raw":"# Title \nPeople counting machine\n# Picture \nmedia: undefined\n# Objective\nwe are doing a machine that count people or other given thing that are entering a certain place.\nwe are using light sensor (LDR) to count the entrance.\n# Duration\n3hours\n# Age Group\nall\n# Materials\n## light sensor ( LDR)\n* description:\n* quantity:0\n* price:10€\n* link:\n\n## resistor\n* description:undefined\n* quantity:undefined\n* price:undefined\n* link:undefined\n\n# Steps\n## Description\nmedia: \n\nnotes: undefined\n\n# Notes\nundefined\n","steps":[{"description":"In starting , you fix the resistor and the light sensor(LDR) on the breadboard.","media":"","$$hashKey":"00N","notes":"This light sensor will detect the intensity in the entrance to get it like the basic data. This is because when a person or an object passes through the entrance , there will be the change in the intensity of light . An"},{"$$hashKey":"01E","description":"connect the servomotor to the board.","notes":"This servomotor will help to close the door when a desired number is reached. This servomotor will be connected to the door in order to push or pull ."},{"$$hashKey":"01H","description":"Place the light source","notes":"At this point , you need to fix the light source in front of the the light sensor so that something can pass between them."},{"$$hashKey":"01K","description":"The circuit is connected to the arduino .","notes":"Before you connect both of them ( arduino and the rest of circuit ) , you should have first uploaded the program to the arduino first and connect them after the upload ."},{"$$hashKey":"01N","description":"Lastly, you connect it to the power.","notes":"The power source will be used to supply power to the circuit . You can use a battery or any other kind of source."}],"materials":[{"item":"light sensor ( LDR)","description":"","quantity":"0","price":"10€","link":"","$$hashKey":"00L"},{"$$hashKey":"00P","item":"resistor"},{"$$hashKey":"012","item":"servomotor"},{"$$hashKey":"015","item":"breadboard"},{"$$hashKey":"018","item":"Arduino"},{"$$hashKey":"01B","item":"light source"}],"title":"People counting machine","objective":"we are doing a machine that count people or other given thing that are entering a certain place.\nwe are using light sensor (LDR) to count the entrance.","duration":"3hours","ageGroup":"all","content":"<h1>Title</h1>\n\n<p>People counting machine</p>\n\n<h1>Picture</h1>\n\n<p>{{0}}</p>\n\n<h1>Objective</h1>\n\n<p>we are doing a machine that count people or other given thing that are entering a certain place.\nwe are using light sensor (LDR) to count the entrance.</p>\n\n<h1>Duration</h1>\n\n<p>3hours</p>\n\n<h1>Age Group</h1>\n\n<p>all</p>\n\n<h1>Materials</h1>\n\n<h2>light sensor ( LDR)</h2>\n\n<ul>\n<li>description:</li>\n<li>quantity:0</li>\n<li>price:10€</li>\n<li>link:</li>\n</ul>\n\n<h2>resistor</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:undefined</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>servomotor</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:undefined</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>breadboard</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:undefined</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>Arduino</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:undefined</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h2>light source</h2>\n\n<ul>\n<li>description:undefined</li>\n<li>quantity:undefined</li>\n<li>price:undefined</li>\n<li>link:undefined</li>\n</ul>\n\n<h1>Steps</h1>\n\n<h2>In starting , you fix the resistor and the light sensor(LDR) on the breadboard.</h2>\n\n<p>{{1}}</p>\n\n<p>notes: This light sensor will detect the intensity in the entrance to get it like the basic data. This is because when a person or an object passes through the entrance , there will be the change in the intensity of light . An</p>\n\n<h2>connect the servomotor to the board.</h2>\n\n<p>{{2}}</p>\n\n<p>notes: This servomotor will help to close the door when a desired number is reached. This servomotor will be connected to the door in order to push or pull .</p>\n\n<h2>Place the light source</h2>\n\n<p>{{3}}</p>\n\n<p>notes: At this point , you need to fix the light source in front of the the light sensor so that something can pass between them.</p>\n\n<h2>The circuit is connected to the arduino .</h2>\n\n<p>{{4}}</p>\n\n<p>notes: Before you connect both of them ( arduino and the rest of circuit ) , you should have first uploaded the program to the arduino first and connect them after the upload .</p>\n\n<h2>Lastly, you connect it to the power.</h2>\n\n<p>{{5}}</p>\n\n<p>notes: The power source will be used to supply power to the circuit . You can use a battery or any other kind of source.</p>\n\n<h1>Notes</h1>\n\n<p>The concept is that when something passes through the light sensor and the light source , the sensor feels that the intensity has decreased and the micro-controller will use that change as sign that something has passed and count it .</p>","ownedByMe":"true","notes":"The concept is that when something passes through the light sensor and the light source , the sensor feels that the intensity has decreased and the micro-controller will use that change as sign that something has passed and count it ."}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment