{"id":5183,"date":"2015-07-05T12:04:44","date_gmt":"2015-07-05T17:04:44","guid":{"rendered":"http:\/\/cis.bentley.edu\/sandbox\/?p=5183"},"modified":"2015-07-07T08:42:25","modified_gmt":"2015-07-07T13:42:25","slug":"student-counter-using-raspberry-pi-ultrasonic-sensor","status":"publish","type":"post","link":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/2015\/07\/05\/student-counter-using-raspberry-pi-ultrasonic-sensor\/","title":{"rendered":"Student Counter &#8211; Using Raspberry Pi + Ultrasonic Sensor"},"content":{"rendered":"<p>The CIS Sandbox is known to be hot spot to many students for various reasons varying from assisting them on their technical courses to being a part of different activities. It made us wonder what if we could have some kind of mechanism which would track the number of people who enter and leave the premises of our Sandbox? So there it was, Tejas and Viraj two of CIS Sandbox graduate tutors kicked off their summer by taking up a project which could do so. The project is called as \u2018Student Counter\u2019 and uses simple accessories like <a href=\"https:\/\/en.wikipedia.org\/wiki\/Raspberry_Pi\">Raspberry Pi <\/a>, breadboard, jumper wires, and an <a href=\"http:\/\/www.amazon.com\/SunFounder-Ultrasonic-Distance-Mega2560-Duemilanove\/dp\/B00E0NXTJW\">Ultrasonic sound sensor<\/a>.<\/p>\n<p>Once the \u2018Student Counter\u2019 project is live and running we would be able to track the number of people visiting the Sandbox throughout the day. The best part is all the data will be stored on cloud and can be accessed from anywhere anytime. We would also be able to analyze the peak hours and the non-peak hours at the Sandbox helping us to better assign our resources. Would you be surprised if we tell you that all of this can be done in less than $100?! Come see us and know more \ud83d\ude09<\/p>\n<p>As seen in the figure the numbers represent following things in the project<\/p>\n<p><a href=\"http:\/\/cis.bentley.edu\/sandbox\/wp-content\/uploads\/2015\/07\/IMG_2280.jpg\" rel=\"lightbox\"><img loading=\"lazy\" decoding=\"async\" class=\"  wp-image-5186 aligncenter\" src=\"http:\/\/cis.bentley.edu\/sandbox\/wp-content\/uploads\/2015\/07\/IMG_2280-300x225.jpg\" alt=\"IMG_2280\" width=\"417\" height=\"314\" srcset=\"https:\/\/cissandbox.bentley.edu\/sandbox\/wp-content\/uploads\/2015\/07\/IMG_2280-300x225.jpg 300w, https:\/\/cissandbox.bentley.edu\/sandbox\/wp-content\/uploads\/2015\/07\/IMG_2280-800x600.jpg 800w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/a><\/p>\n<ol>\n<li>Live log when our code is running on Raspberry Pi<\/li>\n<li>Data as can be seen on cloud (remote interface)<\/li>\n<li>Raspberry Pi 2 Model B<\/li>\n<li>Ultrasonic Sensor<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"  wp-image-5188 aligncenter\" src=\"http:\/\/cis.bentley.edu\/sandbox\/wp-content\/uploads\/2015\/07\/IMG_1962-300x225.jpg\" alt=\"IMG_1962\" width=\"386\" height=\"290\" srcset=\"https:\/\/cissandbox.bentley.edu\/sandbox\/wp-content\/uploads\/2015\/07\/IMG_1962-300x225.jpg 300w, https:\/\/cissandbox.bentley.edu\/sandbox\/wp-content\/uploads\/2015\/07\/IMG_1962.jpg 640w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The CIS Sandbox is known to be hot spot to many students for various reasons varying from assisting them on their technical courses to being a part of different activities. It made us wonder what if we could have some kind of mechanism which would track the number of people who enter and leave the [&hellip;]<\/p>\n","protected":false},"author":160,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_mi_skip_tracking":false,"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[94,117,115],"tags":[],"class_list":["post-5183","post","type-post","status-publish","format-standard","hentry","category-cis-sandbox","category-internet-of-things","category-raspberry-pi","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/posts\/5183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/users\/160"}],"replies":[{"embeddable":true,"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/comments?post=5183"}],"version-history":[{"count":4,"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/posts\/5183\/revisions"}],"predecessor-version":[{"id":5191,"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/posts\/5183\/revisions\/5191"}],"wp:attachment":[{"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/media?parent=5183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/categories?post=5183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cissandbox.bentley.edu\/sandbox\/index.php\/wp-json\/wp\/v2\/tags?post=5183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}