From 710453149c2d75ad2fbb9dfae1e43a18de9160ef Mon Sep 17 00:00:00 2001 From: Natalie C Date: Thu, 12 Apr 2018 17:22:47 -0400 Subject: [PATCH 1/6] Create 2018-04-12-gateway.md Start of the post. --- _posts/2018-04-12-gateway.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 _posts/2018-04-12-gateway.md diff --git a/_posts/2018-04-12-gateway.md b/_posts/2018-04-12-gateway.md new file mode 100644 index 0000000..027d1d1 --- /dev/null +++ b/_posts/2018-04-12-gateway.md @@ -0,0 +1,24 @@ +--- +layout: post +title: "Gateway - IoT Identifier" +date: 2018-04-12 16:00:00 +categories: + - +description: IoT is revolutionary and can make your life easier - but first it needs to know who you are. +image: https://images.idgesg.net/images/article/2017/10/wireless_network_internet_of_things_iot_thinkstock_853701554-100739367-large.jpg +image-sm: +author: Natalie Cardinali +author-image: https://avatars3.githubusercontent.com/u/24848665?v=4 +author-bio: Computer Science student at Rochester Insitutite of Technology +author-email: natalievcardinali@gmail.com +author-social: + github: https://github.com/Ha1fByte/ +--- +## Background +Sometimes projects start one way and end in a completely different one. Originally the idea for my project Gateway spawned from the simple issue of locking doors. Last school year I repeatedly had issues with my roommate forgetting her keys, and this year the issue returned because I now had three roommates rather than one. The original idea was an IoT gateway of some sort that would light up different LEDs on a base that would correspond with each roommate. That way no matter how much our schedules varried we would know who was home and be able to accomodate each other that way. Eventually the plan for CSH to make a Smartroom for Imagine RIT came up and I was reminded of my plans for a way to id a user in a room, and thats how the concept for Gateway was formed. +## Research i.e. Trial and Error +Most projects require at least a basic amount of reasearch before they start, and while most software projects can get away with a basic 'learn as you go' approch, hardware projects are a little different. The most research that was done for this project was on how was I going to identify the people entering the room. RFID was one of my first thoughts as it was something relitively well known and documented. The issue that RFID eventually presented was distance. Normally RFID readers and tags can only be a few inches appart in order to work, and to get the to work farther appart than say- a foot, required modules that cost upwards of two hundred dollars. So RFID was out. +The next option I looked into was Bluetooth Low Energy or BLE technology. It was similar in concept to RFID but it had a much longer range and also had a much lower price point. The ultimate reason it wasn't picked was that it had a lot of retrictions on how it could ultimately be used. In order to id the person you need them to install an app with tracking software on it, and have that software either enabled through their phone or active when they were near the BLE devices. I wanted my sensor to be able to id a person quickly and without any actions required by the person being identified. +Eventually someone suggested facial recognition. It doesn't require the user to do anything other than look at the camera- and as luck would have it I knew of a service that could do the comparison of the faces without intimate knowledge of computer vison. The service was the Cognative Face API thats hosted through Azure, and after setting up an Azure account I was on my way. The one issue with using facial recognition was that I really didn't want to have a camera constantly taking pictures, so inorder to solve this problem I used a proximity sensor. Through trial and error I eventally ended up with the Parallax Ping))) sensor. It gave the ability to determine distance with relatively decent accuracy and I could use the distance of the nearest object to set off the camera. +## Asembly +The final product for this project is a Raspberry Pi 3 connected to a Parallax Ping))) with a PiCamera v2.1 attached to the RaspPi. From f05a6842d16364cf671783e4d4f53ee0b71ed5cb Mon Sep 17 00:00:00 2001 From: Natalie C Date: Thu, 12 Apr 2018 19:38:41 -0400 Subject: [PATCH 2/6] Update 2018-04-12-gateway.md spell check --- _posts/2018-04-12-gateway.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/_posts/2018-04-12-gateway.md b/_posts/2018-04-12-gateway.md index 027d1d1..c749d55 100644 --- a/_posts/2018-04-12-gateway.md +++ b/_posts/2018-04-12-gateway.md @@ -9,16 +9,23 @@ image: https://images.idgesg.net/images/article/2017/10/wireless_network_interne image-sm: author: Natalie Cardinali author-image: https://avatars3.githubusercontent.com/u/24848665?v=4 -author-bio: Computer Science student at Rochester Insitutite of Technology +author-bio: Computer Science student at Rochester Institute of Technology author-email: natalievcardinali@gmail.com author-social: github: https://github.com/Ha1fByte/ --- ## Background -Sometimes projects start one way and end in a completely different one. Originally the idea for my project Gateway spawned from the simple issue of locking doors. Last school year I repeatedly had issues with my roommate forgetting her keys, and this year the issue returned because I now had three roommates rather than one. The original idea was an IoT gateway of some sort that would light up different LEDs on a base that would correspond with each roommate. That way no matter how much our schedules varried we would know who was home and be able to accomodate each other that way. Eventually the plan for CSH to make a Smartroom for Imagine RIT came up and I was reminded of my plans for a way to id a user in a room, and thats how the concept for Gateway was formed. +Sometimes projects start one way and end in a completely different one. Originally the idea for my project Gateway spawned from the simple issue of locking doors. Last school year I repeatedly had issues with my roommate forgetting her keys, and this year the issue returned because I now had three roommates rather than one. The original idea was an IoT gateway of some sort that would light up different LEDs on a base that would correspond with each roommate. That way no matter how much our schedules varied we would know who was home and be able to accommodate each other that way. Eventually the plan for CSH to make a Smart room for Imagine RIT came up and I was reminded of my plans for a way to id a user in a room, and that’s how the concept for Gateway was formed. ## Research i.e. Trial and Error -Most projects require at least a basic amount of reasearch before they start, and while most software projects can get away with a basic 'learn as you go' approch, hardware projects are a little different. The most research that was done for this project was on how was I going to identify the people entering the room. RFID was one of my first thoughts as it was something relitively well known and documented. The issue that RFID eventually presented was distance. Normally RFID readers and tags can only be a few inches appart in order to work, and to get the to work farther appart than say- a foot, required modules that cost upwards of two hundred dollars. So RFID was out. -The next option I looked into was Bluetooth Low Energy or BLE technology. It was similar in concept to RFID but it had a much longer range and also had a much lower price point. The ultimate reason it wasn't picked was that it had a lot of retrictions on how it could ultimately be used. In order to id the person you need them to install an app with tracking software on it, and have that software either enabled through their phone or active when they were near the BLE devices. I wanted my sensor to be able to id a person quickly and without any actions required by the person being identified. -Eventually someone suggested facial recognition. It doesn't require the user to do anything other than look at the camera- and as luck would have it I knew of a service that could do the comparison of the faces without intimate knowledge of computer vison. The service was the Cognative Face API thats hosted through Azure, and after setting up an Azure account I was on my way. The one issue with using facial recognition was that I really didn't want to have a camera constantly taking pictures, so inorder to solve this problem I used a proximity sensor. Through trial and error I eventally ended up with the Parallax Ping))) sensor. It gave the ability to determine distance with relatively decent accuracy and I could use the distance of the nearest object to set off the camera. -## Asembly +Most projects require at least a basic amount of research before they start, and while most software projects can get away with a basic 'learn as you go' approach, hardware projects are a little different. The most research that was done for this project was on how I was going to identify the people entering the room. RFID was one of my first thoughts as it was something relatively well known and documented. The issue that RFID eventually presented was distance. Normally RFID readers and tags can only be a few inches apart to work, and to get the to work farther apart than say- a foot, required modules that cost upwards of two hundred dollars. So, RFID was out. + +The next option I investigated was Bluetooth Low Energy or BLE technology. It was similar in concept to RFID, but it had a much longer range and had a much lower price point. The ultimate reason it wasn't picked was that it had a lot of restrictions on how it could ultimately be used. To id the person you need them to install an app with tracking software on it and have that software either enabled through their phone or active when they were near the BLE devices. I wanted my sensor to be able to id a person quickly and without any actions required by the person being identified. + +Eventually someone suggested facial recognition. It doesn't require the user to do anything other than look at the camera- and as luck would have it I knew of a service that could do the comparison of the faces without intimate knowledge of computer vison. The service was the Cognitive Face API that’s hosted through Azure, and after setting up an Azure account I was on my way. The one issue with using facial recognition was that I really didn't want to have a camera constantly taking pictures, so to solve this problem I used a proximity sensor. Through trial and error, I eventually ended up with the Parallax Ping))) sensor. It gave the ability to determine distance with relatively decent accuracy and I could use the distance of the nearest object to set off the camera. +## Assembly The final product for this project is a Raspberry Pi 3 connected to a Parallax Ping))) with a PiCamera v2.1 attached to the RaspPi. +![diagram](https://github.com/Ha1fByte/Gateway/blob/master/Gateway%20Pin%20Diagram.png) + +## Going forward... + +This project is far from finished. Going forward I would like to have it interface with other CSH projects, because a sensor that doesn't do anything with the data it gathers isn't very useful. I also want to include a LCD screen so even without other projects it can still display meaningful output on its own. From 7a655ddad980750fc36a227e5fe7db628337d209 Mon Sep 17 00:00:00 2001 From: Natalie C Date: Thu, 12 Apr 2018 19:40:30 -0400 Subject: [PATCH 3/6] Update 2018-04-12-gateway.md --- _posts/2018-04-12-gateway.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2018-04-12-gateway.md b/_posts/2018-04-12-gateway.md index c749d55..079b283 100644 --- a/_posts/2018-04-12-gateway.md +++ b/_posts/2018-04-12-gateway.md @@ -1,7 +1,7 @@ --- layout: post title: "Gateway - IoT Identifier" -date: 2018-04-12 16:00:00 +date: 2018-04-12 categories: - description: IoT is revolutionary and can make your life easier - but first it needs to know who you are. From b9b4db67f31f54bb792b7777de5c1fa725b23c8d Mon Sep 17 00:00:00 2001 From: Natalie C Date: Thu, 12 Apr 2018 19:42:13 -0400 Subject: [PATCH 4/6] Update 2018-04-12-gateway.md --- _posts/2018-04-12-gateway.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_posts/2018-04-12-gateway.md b/_posts/2018-04-12-gateway.md index 079b283..22cacb8 100644 --- a/_posts/2018-04-12-gateway.md +++ b/_posts/2018-04-12-gateway.md @@ -13,6 +13,7 @@ author-bio: Computer Science student at Rochester Institute of Technology author-email: natalievcardinali@gmail.com author-social: github: https://github.com/Ha1fByte/ + linkedin: https://www.linkedin.com/in/natalie-cardinali/ --- ## Background Sometimes projects start one way and end in a completely different one. Originally the idea for my project Gateway spawned from the simple issue of locking doors. Last school year I repeatedly had issues with my roommate forgetting her keys, and this year the issue returned because I now had three roommates rather than one. The original idea was an IoT gateway of some sort that would light up different LEDs on a base that would correspond with each roommate. That way no matter how much our schedules varied we would know who was home and be able to accommodate each other that way. Eventually the plan for CSH to make a Smart room for Imagine RIT came up and I was reminded of my plans for a way to id a user in a room, and that’s how the concept for Gateway was formed. From fc06991d3ea36b61010c36d98b95354121017499 Mon Sep 17 00:00:00 2001 From: Natalie C Date: Thu, 12 Apr 2018 19:48:59 -0400 Subject: [PATCH 5/6] Update 2018-04-12-gateway.md --- _posts/2018-04-12-gateway.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_posts/2018-04-12-gateway.md b/_posts/2018-04-12-gateway.md index 22cacb8..a19c9bb 100644 --- a/_posts/2018-04-12-gateway.md +++ b/_posts/2018-04-12-gateway.md @@ -30,3 +30,5 @@ The final product for this project is a Raspberry Pi 3 connected to a Parallax P ## Going forward... This project is far from finished. Going forward I would like to have it interface with other CSH projects, because a sensor that doesn't do anything with the data it gathers isn't very useful. I also want to include a LCD screen so even without other projects it can still display meaningful output on its own. + +[The current iteration of the code can be found here on GitHub](https://github.com/Ha1fByte/Gateway/) From cc90cdc555b5d56ab0a8621abe27507f571d9e66 Mon Sep 17 00:00:00 2001 From: Natalie C Date: Thu, 12 Apr 2018 20:27:09 -0400 Subject: [PATCH 6/6] Update 2018-04-12-gateway.md --- _posts/2018-04-12-gateway.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2018-04-12-gateway.md b/_posts/2018-04-12-gateway.md index a19c9bb..0949e9f 100644 --- a/_posts/2018-04-12-gateway.md +++ b/_posts/2018-04-12-gateway.md @@ -3,7 +3,7 @@ layout: post title: "Gateway - IoT Identifier" date: 2018-04-12 categories: - - + - projects description: IoT is revolutionary and can make your life easier - but first it needs to know who you are. image: https://images.idgesg.net/images/article/2017/10/wireless_network_internet_of_things_iot_thinkstock_853701554-100739367-large.jpg image-sm: