Tuesday, June 30, 2020

WEEK 14- Flow chart and Blog Diagram of project

OBJECTIVE:

- To review my flowchart and blog diagram of project.

CONTENT & PROCEDURE:

-      First the project starts with running the coding at python. The Sound sensor and PIR sensor detect if something suspicious occur in the barn. If Sound sensor detects loud noise around 95- 112 dB or PIR sensor detects movement within 4 meters, it will send signal to Raspberry pi and Pi camera to capture the image of the situation. Then, the user will get alert message that contain image captured by Pi camera from email.  

Description:

Input

To determine the situation of the animal in danger, we use the Sound Sensor and PIR Sensor.  The sound sensor is one type of module used to notice the sound. Generally, this module is used to detect the intensity of sound. PIR sensor is electronic sensor that measures infrared (IR) light radiating from objects in its field of view. They are most often used in PIR-based motion detectors. Sound sensor function is to detect a loud noise made by a goat when something happens while PIR sensor is to detect motion if there is an intruder. For application both sensor in this project to detect and measure the rate of sound and movement occurring at the barn.

 

Process

This system using Raspberry Pi 3b+ with Pi camera. The Raspberry Pi is a very cheap computer that runs Linux, but it also provides a set of GPIO (general purpose input/output) pins that allow you to control electronic components for physical computing and explore the Internet of Things (IoT). The function of Raspberry Pi in this project to sending image in jpeg file to email user that generate from Pi camera if Sound sensor and PIR sensor produce high signal.

Output

In this project, phone is our output that receive image from email if the sensor detects suspicious situation occur at the barn.  

  

CONCLUSION:
- As a conclusion, this flowchart and blog diagram review about how my project works.



Monday, June 29, 2020

WEEK 13- Second day Test Project at Pusat Pembiakan Bebiri Pokok Sena

OBJECTIVES:

- To adjust the actual sensitivity sensor of my project.
- To make observation of  goat behavior. 

CONTENT & PROCEDURES:

- First, setup the project at walkway in the middle at the barn.

 
Figure 1: View of project setup

- Next, run the coding of project at Python software and see it result.
- If the result does not match the expected result, adjust the sensitivity of both sensors.
- After that, by using Sound meter to measure the level of noise produce from goat in the morning and evening at the barn.
- Then, make a observation of goat behavior when be caught, sick and hungry.  



RESULT @ ANALYSIS:

- For Sound sensor sensitivity we set above 95 dB while the PIR sensor sensitivity within 4 meters.

Figure 2: Goat behavior when be caught


- Next, for my observation of goat behavior when be caught, the goat be aggressive and make loud noise around 95- 102 dB. 

Figure 3: Goat behavior when sick


- For the second behavior when the goat is sick, the goat do not make any sound, look less active and skinny.


Figure 4: Goat behavior in the morning

- In the morning, the goat seem very active and make loud noise around 98- 112 dB. This is because, in this situation they are very hungry at that time.   
- In the evening, the goat behavior is still active but produce less noise compare in the morning. In this time, they can produce noise around 85- 89 dB.


CONCLUSION:
- As a conclusion, my project working well and get good result. Next, i also know the type of goat behavior in the different time and situation. 

Monday, June 22, 2020

WEEK 12- Test project at Pusat Pembiakan Kambing Biri-Biri at Pokok Sena

OBJECTIVE:

-To test and get primary result of project.
-To get readings of sound produced by the goats.

CONTENT/ PROCEDURE:

- First, setup the project at the barn with the right location to get a better image.
- Then setting the sensitivity of sensor.

Figure 1: Progress setup of project

- Next, run the coding at python and see it result.
- Next step, try to measure the reading of sound produce by goat with using Sound meter app on the phone. 

Figure 2: Sound meter apps


RESULT & ANALYSIS:

-First result motion detected.
-In this situation, we tried to make a move in the lane to see the result of the PIR sensor.

Figure 3: The PIR sensor detect motion produced from human.

- Second Result detected by sound.
- In this situation, the worker catches the goat to see the result of the sound sensor if the goat produces a loud noise when in danger.

Figure 4: The sound sensor detected loud noise produced from goat.

- Next, the result reading from sound meter.  

Figure 5: The reading of sound meter when the goat in danger situation is 105 db


Figure 6: The reading of sound meter when the goat in steady situation is 85 db


CONCLUSION:
- As a conclusion, my project work well but i need to adjust the sound sensor to get the right sensitivity because most of the result is detected by PIR sensor. So for the next week, i will test again my project at the barn and also take a reading of sound produce by goat because the farmer inform that the goat had a difference behaviour at difference time. They explain to me, in the morning the goat make a loudly noise because they are hungry. So, i will take the reading from sound meter in the morning to see the result at that time. 

Saturday, June 20, 2020

WEEK 11- Test project at Home

OBJECTIVE:

- To test and see the result of project.

CONTENT/ PROCEDURE:

- First setup the project connection and setting it position to get a good view.

Figure 1: View setup position of project

- After that, run the coding and see it result. 


RESULT & ANALYSIS:

Result 1

Figure 2: Images generated from sound sensors

 

Result 2

Figure 3: Image generated from motion sensor




CONCLUSION:

As a conclusion, my project is functioning well and it get good result similar like expected result. For the next week, i will test my project at the Pusat Peternakan Kambing Biri-Biri Pokok Sena to adjust the sound produce from goat for sound sensor.