From 0c729180a92ba111f38e604ae10caf55c9a8ef15 Mon Sep 17 00:00:00 2001 From: Jordan-Fielding <107819004+Jordan-Fielding@users.noreply.github.com> Date: Tue, 5 Jul 2022 16:31:28 +1000 Subject: [PATCH 1/3] Update README.md --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 287a0d0..74ec1b5 100644 --- a/README.md +++ b/README.md @@ -1 +1,14 @@ -# Bugmotion \ No newline at end of file +# Bugmotion + +This software is mainly intended to detect and capture bugs that are in the given area. + +This is done by using the following Hardware + +- Pi 4 - https://www.raspberrypi.com/products/raspberry-pi-4-model-b/ +- PIR Sensor - https://www.jaycar.com.au/arduino-compatible-pir-motion-detector-module/p/XC4444?pos=1&queryId=7eb275c75b51605afa44da86b7b83db3 +- Picamera - https://www.raspberrypi.com/products/camera-module-v2/ +- LED Light - Any GPIO Compatible Kind +- 10K Ohm Resistor - https://www.jaycar.com.au/10k-ohm-0-5-watt-metal-film-resistors-pack-of-8/p/RR0596?pos=13&queryId=60433157b9802b233ba599eda37e22f4&sort=0.relevance + + +The Current Software uses Python to capture the Pictures of the bugs. From 072bececb1f2e804c72dc757599d9fec63d143a5 Mon Sep 17 00:00:00 2001 From: Jordan-Fielding <107819004+Jordan-Fielding@users.noreply.github.com> Date: Wed, 6 Jul 2022 10:08:38 +1000 Subject: [PATCH 2/3] Update main.py --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index 1033691..d538f60 100644 --- a/main.py +++ b/main.py @@ -22,13 +22,12 @@ while True: #Waits for Motion from PIR Sensor pir.wait_for_motion() - print("Bug detected") + print("\nBug detected") #Turns on the LED Flash GPIO.output(22, 1) #Sets Img path and filename, Saves to Working directory of Script - print("\nFile will be Saved in: " + cwd + "/Pictures") file_name = cwd + "/Pictures/Capture_" + str(time.time()) + ".jpg" print("\nFile Name is: " + file_name) From e4db614340b926f0e694471c3f7ff2222619c1f1 Mon Sep 17 00:00:00 2001 From: Jordan-Fielding <107819004+Jordan-Fielding@users.noreply.github.com> Date: Wed, 6 Jul 2022 10:10:33 +1000 Subject: [PATCH 3/3] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index d538f60..f2d6ade 100644 --- a/main.py +++ b/main.py @@ -13,7 +13,7 @@ GPIO.setup(22, GPIO.OUT) #LED output pin cwd = os.getcwd() #Sets the Current Working Directory - +print("Program Running!") #To stabilize sensor and Camera time.sleep(2)