1
0
Fork 0
The documentation repository for the software projects developed for the 'Return to Ritherdon Project' by Nicola Ellis. http://www.nicolaellis.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

299 lines
13 KiB

# Return to Ritherdon: Light Meter
Squashed commit of the following: commit e23be46f540ded7f8c5797627bb9589eec9ffe5e Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:59:01 2021 +0000 update Midpoint doc. commit 70e23d0902027e7a1855dbacc275fdc2667ec5ec Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:55:27 2021 +0000 update Midpoint doc. commit 3daa38662a85c98c98314bf602352f96f0455c6f Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:46:04 2021 +0000 update README doc. commit 2e9d1df94dffddea972bc08527bf766ba723954a Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:19:39 2021 +0000 create and populate Light Wave doc. commit 73464777fe01bf7dc305b1c1a22b913420999011 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:34:37 2021 +0000 add Return to Ritherdon Project Overview .dot file. This is the file used to generate the .png version of the file in the main README.md file. commit 76710d26cb4414365b0250c765852db017f5dbb5 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:32:30 2021 +0000 update README doc. diagrams. I added a .dot file for the Return to Riterdon project overview and fix the image links for so the diagrams sit in their correct places within the document. commit 131bdefdc388e4ca778e58cab7df18f1df1faae2 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:49 2021 +0000 add .dot file for diagram in README. This is the file used to illustrate the how 'Personal Flash in Real-Time' fits into the 'Return to Ritherdon' project. commit 6dae2040dc8250825a530ef07badd05c4c73e6cb Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:27 2021 +0000 update README doc (main project overview). commit d20d59249562d5420a6d1534c819254a1d50df91 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:39:12 2021 +0000 update Midpoint doc. commit db74ec5d062b6faffba8158259727042a7dd2291 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:14:05 2021 +0000 populate midpoint doc. commit a4ecffeec941ac2bb20d9247abd4b22b7b3e81da Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:31:37 2021 +0000 start populating Midpoint doc. This is a work in progress (end of session) commit. commit bf8a961f99e0fbcb3e6daa58bb427e26ec47e66a Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:02:07 2021 +0000 fix typo in Relay doc. commit 8902037b83b9bb19da93c25e32a2b5b7a18b64b1 Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 19:53:14 2021 +0000 update Relay doc. commit 0e62c64f069d36c4fb7f933ff2f5882e11ce4eef Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 19:00:20 2021 +0000 stub out further sections for Relay doc. This is prep. work for expanding the documentation for the Relay project. End of session commit, though, which is the reason why the sections are not filled out. commit af03002f48b0e17a65d1a39001cb5381dd1ca835 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:50:31 2021 +0000 populated Relay doc. This is a rough transfer of my personal notes in to the public doc's for the Relay project. I've not gone through it properly so expect mistakes and it needing a good proof-read. commit c8eba160fb2eac9f42825072b07eb736e94ef933 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:07:02 2021 +0000 update Light Meter doc. commit 755db34e927c3abba5087c2c8a242668a802516e Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:52:21 2021 +0000 update light-meter doc. commit d28dea87c494ec7a6f5d5d9a0f1b18dfd81a0c10 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:15:13 2021 +0000 add install section to Eyes and Ears doc. commit d5e6440297e200f318a6a0b60eb3cea8ff153f7a Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:09:27 2021 +0000 add links to other projects (Eyes and Ears doc's). commit 5b2583c00b97f8b4fa5dee1ff2534d4af74681bc Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 16:59:32 2021 +0000 populate the Eyes and Ears section. commit b3408532d89e1c5ce0ee2e7def8796cb731e18ae Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 12:57:48 2021 +0000 change Ross to Andy. At some point, I forgot when it was, Ross was replaced by Andy as a welder. This name change is just me dotting the i's and crossing the t's.
2 years ago
Light Meter is one of three smaller projects which make-up the
'Personal Flash in Real-Time' -- which is one artwork within the main
'Return to Ritherdon' project. You should view the three smaller
projects as one project. And, for the purpose of this documentation, I
will refer to 'Personal Flash in Real-Time' as a system instead of an
artwork.
Squashed commit of the following: commit e23be46f540ded7f8c5797627bb9589eec9ffe5e Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:59:01 2021 +0000 update Midpoint doc. commit 70e23d0902027e7a1855dbacc275fdc2667ec5ec Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:55:27 2021 +0000 update Midpoint doc. commit 3daa38662a85c98c98314bf602352f96f0455c6f Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:46:04 2021 +0000 update README doc. commit 2e9d1df94dffddea972bc08527bf766ba723954a Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:19:39 2021 +0000 create and populate Light Wave doc. commit 73464777fe01bf7dc305b1c1a22b913420999011 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:34:37 2021 +0000 add Return to Ritherdon Project Overview .dot file. This is the file used to generate the .png version of the file in the main README.md file. commit 76710d26cb4414365b0250c765852db017f5dbb5 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:32:30 2021 +0000 update README doc. diagrams. I added a .dot file for the Return to Riterdon project overview and fix the image links for so the diagrams sit in their correct places within the document. commit 131bdefdc388e4ca778e58cab7df18f1df1faae2 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:49 2021 +0000 add .dot file for diagram in README. This is the file used to illustrate the how 'Personal Flash in Real-Time' fits into the 'Return to Ritherdon' project. commit 6dae2040dc8250825a530ef07badd05c4c73e6cb Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:27 2021 +0000 update README doc (main project overview). commit d20d59249562d5420a6d1534c819254a1d50df91 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:39:12 2021 +0000 update Midpoint doc. commit db74ec5d062b6faffba8158259727042a7dd2291 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:14:05 2021 +0000 populate midpoint doc. commit a4ecffeec941ac2bb20d9247abd4b22b7b3e81da Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:31:37 2021 +0000 start populating Midpoint doc. This is a work in progress (end of session) commit. commit bf8a961f99e0fbcb3e6daa58bb427e26ec47e66a Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:02:07 2021 +0000 fix typo in Relay doc. commit 8902037b83b9bb19da93c25e32a2b5b7a18b64b1 Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 19:53:14 2021 +0000 update Relay doc. commit 0e62c64f069d36c4fb7f933ff2f5882e11ce4eef Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 19:00:20 2021 +0000 stub out further sections for Relay doc. This is prep. work for expanding the documentation for the Relay project. End of session commit, though, which is the reason why the sections are not filled out. commit af03002f48b0e17a65d1a39001cb5381dd1ca835 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:50:31 2021 +0000 populated Relay doc. This is a rough transfer of my personal notes in to the public doc's for the Relay project. I've not gone through it properly so expect mistakes and it needing a good proof-read. commit c8eba160fb2eac9f42825072b07eb736e94ef933 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:07:02 2021 +0000 update Light Meter doc. commit 755db34e927c3abba5087c2c8a242668a802516e Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:52:21 2021 +0000 update light-meter doc. commit d28dea87c494ec7a6f5d5d9a0f1b18dfd81a0c10 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:15:13 2021 +0000 add install section to Eyes and Ears doc. commit d5e6440297e200f318a6a0b60eb3cea8ff153f7a Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:09:27 2021 +0000 add links to other projects (Eyes and Ears doc's). commit 5b2583c00b97f8b4fa5dee1ff2534d4af74681bc Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 16:59:32 2021 +0000 populate the Eyes and Ears section. commit b3408532d89e1c5ce0ee2e7def8796cb731e18ae Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 12:57:48 2021 +0000 change Ross to Andy. At some point, I forgot when it was, Ross was replaced by Andy as a welder. This name change is just me dotting the i's and crossing the t's.
2 years ago
For more information on the 'Return to Ritherdon' project, use the
following link:
Squashed commit of the following: commit e23be46f540ded7f8c5797627bb9589eec9ffe5e Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:59:01 2021 +0000 update Midpoint doc. commit 70e23d0902027e7a1855dbacc275fdc2667ec5ec Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:55:27 2021 +0000 update Midpoint doc. commit 3daa38662a85c98c98314bf602352f96f0455c6f Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:46:04 2021 +0000 update README doc. commit 2e9d1df94dffddea972bc08527bf766ba723954a Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:19:39 2021 +0000 create and populate Light Wave doc. commit 73464777fe01bf7dc305b1c1a22b913420999011 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:34:37 2021 +0000 add Return to Ritherdon Project Overview .dot file. This is the file used to generate the .png version of the file in the main README.md file. commit 76710d26cb4414365b0250c765852db017f5dbb5 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:32:30 2021 +0000 update README doc. diagrams. I added a .dot file for the Return to Riterdon project overview and fix the image links for so the diagrams sit in their correct places within the document. commit 131bdefdc388e4ca778e58cab7df18f1df1faae2 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:49 2021 +0000 add .dot file for diagram in README. This is the file used to illustrate the how 'Personal Flash in Real-Time' fits into the 'Return to Ritherdon' project. commit 6dae2040dc8250825a530ef07badd05c4c73e6cb Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:27 2021 +0000 update README doc (main project overview). commit d20d59249562d5420a6d1534c819254a1d50df91 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:39:12 2021 +0000 update Midpoint doc. commit db74ec5d062b6faffba8158259727042a7dd2291 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:14:05 2021 +0000 populate midpoint doc. commit a4ecffeec941ac2bb20d9247abd4b22b7b3e81da Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:31:37 2021 +0000 start populating Midpoint doc. This is a work in progress (end of session) commit. commit bf8a961f99e0fbcb3e6daa58bb427e26ec47e66a Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:02:07 2021 +0000 fix typo in Relay doc. commit 8902037b83b9bb19da93c25e32a2b5b7a18b64b1 Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 19:53:14 2021 +0000 update Relay doc. commit 0e62c64f069d36c4fb7f933ff2f5882e11ce4eef Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 19:00:20 2021 +0000 stub out further sections for Relay doc. This is prep. work for expanding the documentation for the Relay project. End of session commit, though, which is the reason why the sections are not filled out. commit af03002f48b0e17a65d1a39001cb5381dd1ca835 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:50:31 2021 +0000 populated Relay doc. This is a rough transfer of my personal notes in to the public doc's for the Relay project. I've not gone through it properly so expect mistakes and it needing a good proof-read. commit c8eba160fb2eac9f42825072b07eb736e94ef933 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:07:02 2021 +0000 update Light Meter doc. commit 755db34e927c3abba5087c2c8a242668a802516e Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:52:21 2021 +0000 update light-meter doc. commit d28dea87c494ec7a6f5d5d9a0f1b18dfd81a0c10 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:15:13 2021 +0000 add install section to Eyes and Ears doc. commit d5e6440297e200f318a6a0b60eb3cea8ff153f7a Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:09:27 2021 +0000 add links to other projects (Eyes and Ears doc's). commit 5b2583c00b97f8b4fa5dee1ff2534d4af74681bc Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 16:59:32 2021 +0000 populate the Eyes and Ears section. commit b3408532d89e1c5ce0ee2e7def8796cb731e18ae Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 12:57:48 2021 +0000 change Ross to Andy. At some point, I forgot when it was, Ross was replaced by Andy as a welder. This name change is just me dotting the i's and crossing the t's.
2 years ago
- [Return to Ritherdon Overview](https://git.abbether.net/return-to-ritherdon/rtr-docs)
Squashed commit of the following: commit e23be46f540ded7f8c5797627bb9589eec9ffe5e Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:59:01 2021 +0000 update Midpoint doc. commit 70e23d0902027e7a1855dbacc275fdc2667ec5ec Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:55:27 2021 +0000 update Midpoint doc. commit 3daa38662a85c98c98314bf602352f96f0455c6f Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:46:04 2021 +0000 update README doc. commit 2e9d1df94dffddea972bc08527bf766ba723954a Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:19:39 2021 +0000 create and populate Light Wave doc. commit 73464777fe01bf7dc305b1c1a22b913420999011 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:34:37 2021 +0000 add Return to Ritherdon Project Overview .dot file. This is the file used to generate the .png version of the file in the main README.md file. commit 76710d26cb4414365b0250c765852db017f5dbb5 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:32:30 2021 +0000 update README doc. diagrams. I added a .dot file for the Return to Riterdon project overview and fix the image links for so the diagrams sit in their correct places within the document. commit 131bdefdc388e4ca778e58cab7df18f1df1faae2 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:49 2021 +0000 add .dot file for diagram in README. This is the file used to illustrate the how 'Personal Flash in Real-Time' fits into the 'Return to Ritherdon' project. commit 6dae2040dc8250825a530ef07badd05c4c73e6cb Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:27 2021 +0000 update README doc (main project overview). commit d20d59249562d5420a6d1534c819254a1d50df91 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:39:12 2021 +0000 update Midpoint doc. commit db74ec5d062b6faffba8158259727042a7dd2291 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:14:05 2021 +0000 populate midpoint doc. commit a4ecffeec941ac2bb20d9247abd4b22b7b3e81da Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:31:37 2021 +0000 start populating Midpoint doc. This is a work in progress (end of session) commit. commit bf8a961f99e0fbcb3e6daa58bb427e26ec47e66a Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:02:07 2021 +0000 fix typo in Relay doc. commit 8902037b83b9bb19da93c25e32a2b5b7a18b64b1 Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 19:53:14 2021 +0000 update Relay doc. commit 0e62c64f069d36c4fb7f933ff2f5882e11ce4eef Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 19:00:20 2021 +0000 stub out further sections for Relay doc. This is prep. work for expanding the documentation for the Relay project. End of session commit, though, which is the reason why the sections are not filled out. commit af03002f48b0e17a65d1a39001cb5381dd1ca835 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:50:31 2021 +0000 populated Relay doc. This is a rough transfer of my personal notes in to the public doc's for the Relay project. I've not gone through it properly so expect mistakes and it needing a good proof-read. commit c8eba160fb2eac9f42825072b07eb736e94ef933 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:07:02 2021 +0000 update Light Meter doc. commit 755db34e927c3abba5087c2c8a242668a802516e Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:52:21 2021 +0000 update light-meter doc. commit d28dea87c494ec7a6f5d5d9a0f1b18dfd81a0c10 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:15:13 2021 +0000 add install section to Eyes and Ears doc. commit d5e6440297e200f318a6a0b60eb3cea8ff153f7a Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:09:27 2021 +0000 add links to other projects (Eyes and Ears doc's). commit 5b2583c00b97f8b4fa5dee1ff2534d4af74681bc Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 16:59:32 2021 +0000 populate the Eyes and Ears section. commit b3408532d89e1c5ce0ee2e7def8796cb731e18ae Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 12:57:48 2021 +0000 change Ross to Andy. At some point, I forgot when it was, Ross was replaced by Andy as a welder. This name change is just me dotting the i's and crossing the t's.
2 years ago
### 'Personal Flash in Real-Time': Project Overview
Squashed commit of the following: commit e23be46f540ded7f8c5797627bb9589eec9ffe5e Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:59:01 2021 +0000 update Midpoint doc. commit 70e23d0902027e7a1855dbacc275fdc2667ec5ec Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:55:27 2021 +0000 update Midpoint doc. commit 3daa38662a85c98c98314bf602352f96f0455c6f Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:46:04 2021 +0000 update README doc. commit 2e9d1df94dffddea972bc08527bf766ba723954a Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:19:39 2021 +0000 create and populate Light Wave doc. commit 73464777fe01bf7dc305b1c1a22b913420999011 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:34:37 2021 +0000 add Return to Ritherdon Project Overview .dot file. This is the file used to generate the .png version of the file in the main README.md file. commit 76710d26cb4414365b0250c765852db017f5dbb5 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:32:30 2021 +0000 update README doc. diagrams. I added a .dot file for the Return to Riterdon project overview and fix the image links for so the diagrams sit in their correct places within the document. commit 131bdefdc388e4ca778e58cab7df18f1df1faae2 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:49 2021 +0000 add .dot file for diagram in README. This is the file used to illustrate the how 'Personal Flash in Real-Time' fits into the 'Return to Ritherdon' project. commit 6dae2040dc8250825a530ef07badd05c4c73e6cb Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:27 2021 +0000 update README doc (main project overview). commit d20d59249562d5420a6d1534c819254a1d50df91 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:39:12 2021 +0000 update Midpoint doc. commit db74ec5d062b6faffba8158259727042a7dd2291 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:14:05 2021 +0000 populate midpoint doc. commit a4ecffeec941ac2bb20d9247abd4b22b7b3e81da Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:31:37 2021 +0000 start populating Midpoint doc. This is a work in progress (end of session) commit. commit bf8a961f99e0fbcb3e6daa58bb427e26ec47e66a Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:02:07 2021 +0000 fix typo in Relay doc. commit 8902037b83b9bb19da93c25e32a2b5b7a18b64b1 Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 19:53:14 2021 +0000 update Relay doc. commit 0e62c64f069d36c4fb7f933ff2f5882e11ce4eef Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 19:00:20 2021 +0000 stub out further sections for Relay doc. This is prep. work for expanding the documentation for the Relay project. End of session commit, though, which is the reason why the sections are not filled out. commit af03002f48b0e17a65d1a39001cb5381dd1ca835 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:50:31 2021 +0000 populated Relay doc. This is a rough transfer of my personal notes in to the public doc's for the Relay project. I've not gone through it properly so expect mistakes and it needing a good proof-read. commit c8eba160fb2eac9f42825072b07eb736e94ef933 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:07:02 2021 +0000 update Light Meter doc. commit 755db34e927c3abba5087c2c8a242668a802516e Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:52:21 2021 +0000 update light-meter doc. commit d28dea87c494ec7a6f5d5d9a0f1b18dfd81a0c10 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:15:13 2021 +0000 add install section to Eyes and Ears doc. commit d5e6440297e200f318a6a0b60eb3cea8ff153f7a Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:09:27 2021 +0000 add links to other projects (Eyes and Ears doc's). commit 5b2583c00b97f8b4fa5dee1ff2534d4af74681bc Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 16:59:32 2021 +0000 populate the Eyes and Ears section. commit b3408532d89e1c5ce0ee2e7def8796cb731e18ae Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 12:57:48 2021 +0000 change Ross to Andy. At some point, I forgot when it was, Ross was replaced by Andy as a welder. This name change is just me dotting the i's and crossing the t's.
2 years ago
The overall system ('Personal Flash in Real-Time') consists of three
separate/smaller projects. You should not view them as individual
pieces within the overall project. From an artwork point-of-view,
'Personal Flash in Real-Time' is one piece. The name of the software
projects are 'Light Meter' (which is this one), 'Midpoint' and
'Relay'. All three projects reside in their own git repositories. You
can find the repositories at the following links:
Squashed commit of the following: commit e23be46f540ded7f8c5797627bb9589eec9ffe5e Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:59:01 2021 +0000 update Midpoint doc. commit 70e23d0902027e7a1855dbacc275fdc2667ec5ec Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:55:27 2021 +0000 update Midpoint doc. commit 3daa38662a85c98c98314bf602352f96f0455c6f Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:46:04 2021 +0000 update README doc. commit 2e9d1df94dffddea972bc08527bf766ba723954a Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:19:39 2021 +0000 create and populate Light Wave doc. commit 73464777fe01bf7dc305b1c1a22b913420999011 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:34:37 2021 +0000 add Return to Ritherdon Project Overview .dot file. This is the file used to generate the .png version of the file in the main README.md file. commit 76710d26cb4414365b0250c765852db017f5dbb5 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:32:30 2021 +0000 update README doc. diagrams. I added a .dot file for the Return to Riterdon project overview and fix the image links for so the diagrams sit in their correct places within the document. commit 131bdefdc388e4ca778e58cab7df18f1df1faae2 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:49 2021 +0000 add .dot file for diagram in README. This is the file used to illustrate the how 'Personal Flash in Real-Time' fits into the 'Return to Ritherdon' project. commit 6dae2040dc8250825a530ef07badd05c4c73e6cb Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:27 2021 +0000 update README doc (main project overview). commit d20d59249562d5420a6d1534c819254a1d50df91 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:39:12 2021 +0000 update Midpoint doc. commit db74ec5d062b6faffba8158259727042a7dd2291 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:14:05 2021 +0000 populate midpoint doc. commit a4ecffeec941ac2bb20d9247abd4b22b7b3e81da Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:31:37 2021 +0000 start populating Midpoint doc. This is a work in progress (end of session) commit. commit bf8a961f99e0fbcb3e6daa58bb427e26ec47e66a Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:02:07 2021 +0000 fix typo in Relay doc. commit 8902037b83b9bb19da93c25e32a2b5b7a18b64b1 Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 19:53:14 2021 +0000 update Relay doc. commit 0e62c64f069d36c4fb7f933ff2f5882e11ce4eef Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 19:00:20 2021 +0000 stub out further sections for Relay doc. This is prep. work for expanding the documentation for the Relay project. End of session commit, though, which is the reason why the sections are not filled out. commit af03002f48b0e17a65d1a39001cb5381dd1ca835 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:50:31 2021 +0000 populated Relay doc. This is a rough transfer of my personal notes in to the public doc's for the Relay project. I've not gone through it properly so expect mistakes and it needing a good proof-read. commit c8eba160fb2eac9f42825072b07eb736e94ef933 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:07:02 2021 +0000 update Light Meter doc. commit 755db34e927c3abba5087c2c8a242668a802516e Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:52:21 2021 +0000 update light-meter doc. commit d28dea87c494ec7a6f5d5d9a0f1b18dfd81a0c10 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:15:13 2021 +0000 add install section to Eyes and Ears doc. commit d5e6440297e200f318a6a0b60eb3cea8ff153f7a Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:09:27 2021 +0000 add links to other projects (Eyes and Ears doc's). commit 5b2583c00b97f8b4fa5dee1ff2534d4af74681bc Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 16:59:32 2021 +0000 populate the Eyes and Ears section. commit b3408532d89e1c5ce0ee2e7def8796cb731e18ae Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 12:57:48 2021 +0000 change Ross to Andy. At some point, I forgot when it was, Ross was replaced by Andy as a welder. This name change is just me dotting the i's and crossing the t's.
2 years ago
- [Light Meter](https://git.abbether.net/return-to-ritherdon/light-meter)
- [Mid-Point](https://git.abbether.net/return-to-ritherdon/midpoint)
- [Relay](https://git.abbether.net/return-to-ritherdon/relay)
The (technical) aim of the project is to turn a set of lights on at
the gallery when the welding machines are active in the welding booths
at Ritherdon. The solution we arrived at was a three-stage
process. The stages are as follows:
1. Monitor the light levels in the welding booths at Ritherdon and
send that information to a sever (Light Meter).
2. Receive the light readings and store them in a database and make
them available for others to access (Midpoint).
3. Have the lights installed at the gallery connected to wi-fi enabled
relays which request the latest light readings from the server. If
the readings are above a certain threshold, have the light in the
gallery turn on (otherwise, turn off). The relays are responsible
for turning the lights on and off (Relay).
Each step should require no human intervention.
For more information on how each project accomplishes its task, please
use the (repo.) links above. Otherwise, here is an diagram to help
explain the three stages mentioned above.
![main-proj-architecture](attachments/main-proj-architecture.png)
## Hardware Specifications
Here are the list of parts used in this project:
- [Raspbian](https://www.raspberrypi.org/downloads/raspbian/) (You can
use the G.U.I. or "headless" version)
- [Raspberry Pi
4](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/) (I
am assuming you have the appropriate power cable, S.D. cards Etc.)
- [Light
Sensor](https://www.amazon.co.uk/s/ref=as_li_ss_tl?url=search-alias=aps&field-keywords=LDR&linkCode=ll2&tag=pimylifeup-21&linkId=8662811b5623ce86540420c7e8ce0268&language=en_GB)
(I tend to use "light sensor" and "light meter" interchangeably --
sorry if confusing)
- [2 x 1kΩ
Resistor](https://www.amazon.co.uk/1K-Resistors-50-Pack-Electronics/dp/B00JGUE0L0)
- [330nF
Capacitor](https://www.alibaba.com/product-detail/ODOELEC-334-0-33uf-330nf-50v_60626664828.html)
-
[Breadboard](https://thepihut.com/products/raspberry-pi-breadboard-half-size)
(Optional but recommended if you do not know how-to solder or you
don't feel comfortable doing it)
- [Jumper
Wires](https://thepihut.com/products/rpi-premium-jumper-wires-40pk-male-female-100mm?_pos=18&_sid=4d08c5200&_ss=r)
(I'm assuming you are using the breadboard. If are not, you might
need different cables like Female-to-Female or ones without a
connector on the ends)
### Raspberry Pi Technical Specifications
The information below was taken from [Raspberry Pi
Foundation](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/specifications/)'s
website.
- Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
- 2GB, 4GB or 8GB LPDDR4-3200 SDRAM (depending on model)
- 2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.0, BLE
- Gigabit Ethernet
- 2 USB 3.0 ports; 2 USB 2.0 ports.
- Raspberry Pi standard 40 pin GPIO header (fully backwards compatible with previous boards)
- 2 × micro-HDMI ports (up to 4kp60 supported)
- 2-lane MIPI DSI display port
- 2-lane MIPI CSI camera port
- 4-pole stereo audio and composite video port
- H.265 (4kp60 decode), H264 (1080p60 decode, 1080p30 encode)
- OpenGL ES 3.0 graphics
- Micro-SD card slot for loading operating system and data storage
- 5V DC via USB-C connector (minimum 3A*)
- 5V DC via GPIO header (minimum 3A*)
- Power over Ethernet (PoE) enabled (requires separate PoE HAT)
- Operating temperature: 0 – 50 degrees C ambient
**A good quality 2.5A power supply can be used if downstream USB
peripherals consume less than 500mA in total.**
Squashed commit of the following: commit e23be46f540ded7f8c5797627bb9589eec9ffe5e Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:59:01 2021 +0000 update Midpoint doc. commit 70e23d0902027e7a1855dbacc275fdc2667ec5ec Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:55:27 2021 +0000 update Midpoint doc. commit 3daa38662a85c98c98314bf602352f96f0455c6f Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:46:04 2021 +0000 update README doc. commit 2e9d1df94dffddea972bc08527bf766ba723954a Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:19:39 2021 +0000 create and populate Light Wave doc. commit 73464777fe01bf7dc305b1c1a22b913420999011 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:34:37 2021 +0000 add Return to Ritherdon Project Overview .dot file. This is the file used to generate the .png version of the file in the main README.md file. commit 76710d26cb4414365b0250c765852db017f5dbb5 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:32:30 2021 +0000 update README doc. diagrams. I added a .dot file for the Return to Riterdon project overview and fix the image links for so the diagrams sit in their correct places within the document. commit 131bdefdc388e4ca778e58cab7df18f1df1faae2 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:49 2021 +0000 add .dot file for diagram in README. This is the file used to illustrate the how 'Personal Flash in Real-Time' fits into the 'Return to Ritherdon' project. commit 6dae2040dc8250825a530ef07badd05c4c73e6cb Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:27 2021 +0000 update README doc (main project overview). commit d20d59249562d5420a6d1534c819254a1d50df91 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:39:12 2021 +0000 update Midpoint doc. commit db74ec5d062b6faffba8158259727042a7dd2291 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:14:05 2021 +0000 populate midpoint doc. commit a4ecffeec941ac2bb20d9247abd4b22b7b3e81da Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:31:37 2021 +0000 start populating Midpoint doc. This is a work in progress (end of session) commit. commit bf8a961f99e0fbcb3e6daa58bb427e26ec47e66a Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:02:07 2021 +0000 fix typo in Relay doc. commit 8902037b83b9bb19da93c25e32a2b5b7a18b64b1 Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 19:53:14 2021 +0000 update Relay doc. commit 0e62c64f069d36c4fb7f933ff2f5882e11ce4eef Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 19:00:20 2021 +0000 stub out further sections for Relay doc. This is prep. work for expanding the documentation for the Relay project. End of session commit, though, which is the reason why the sections are not filled out. commit af03002f48b0e17a65d1a39001cb5381dd1ca835 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:50:31 2021 +0000 populated Relay doc. This is a rough transfer of my personal notes in to the public doc's for the Relay project. I've not gone through it properly so expect mistakes and it needing a good proof-read. commit c8eba160fb2eac9f42825072b07eb736e94ef933 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:07:02 2021 +0000 update Light Meter doc. commit 755db34e927c3abba5087c2c8a242668a802516e Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:52:21 2021 +0000 update light-meter doc. commit d28dea87c494ec7a6f5d5d9a0f1b18dfd81a0c10 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:15:13 2021 +0000 add install section to Eyes and Ears doc. commit d5e6440297e200f318a6a0b60eb3cea8ff153f7a Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:09:27 2021 +0000 add links to other projects (Eyes and Ears doc's). commit 5b2583c00b97f8b4fa5dee1ff2534d4af74681bc Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 16:59:32 2021 +0000 populate the Eyes and Ears section. commit b3408532d89e1c5ce0ee2e7def8796cb731e18ae Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 12:57:48 2021 +0000 change Ross to Andy. At some point, I forgot when it was, Ross was replaced by Andy as a welder. This name change is just me dotting the i's and crossing the t's.
2 years ago
- [Raspberry Pi 4 Model B product brief](https://static.raspberrypi.org/files/product-briefs/200521+Raspberry+Pi+4+Product+Brief.pdf)
- [Raspberry Pi 4 Model B schematic diagrams](https://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/rpi_SCH_4b_4p0_reduced.pdf)
- [Raspberry Pi 4 Model B mechanical drawing](https://www.raspberrypi.org/documentation/hardware/raspberrypi/mechanical/rpi_MECH_4b_4p0.pdf)
## Project Set-Up
Light Meter consists of two parts: hardware and software. The hardware
part focuses on the electronics attached to the Raspberry Pi 4 and the
software side focuses on installing the required software dependencies
onto the operating system and any 'maintenance' tasks for sustained
use of the device (whilst in operation). For the actual code written
specifically for this project, please refer to the [project's
code repository](https://git.abbether.net/return-to-ritherdon/light-meter).
### Initial Raspbian Set-up
Upon the initial installation of Raspbian on to the Pi, you need to
make sure the following is established:
- The username is "rtrp".
- The host-name is "factory#" (where "#" is a number between 1 and 3).
- The Pi is set to auto-login with the "rtrp" account.
You can set the Pi up to automatically login to the desktop but the
recommended option is to login to a "headless" environment
(I.E. console-mode). Remember, you can only log into the desktop
environment if your version of Raspbian has one. The final version of
this project does not expect one.
### Hardware Preparations
#### Network Connections
Before installing the Raspberry Pi in its final location
(gallery/exhibition), make sure it can connect to the galleries
internet -- either via wi-fi or Ethernet cable. If you use an Ethernet
cable, you do not need to do anything, but the wi-fi requires a little
work on the command-line (if you are using a "headless" version of
Raspbian). If you are unsure how to connect to a router via wi-fi, use
the following link to learn how:
Squashed commit of the following: commit e23be46f540ded7f8c5797627bb9589eec9ffe5e Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:59:01 2021 +0000 update Midpoint doc. commit 70e23d0902027e7a1855dbacc275fdc2667ec5ec Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:55:27 2021 +0000 update Midpoint doc. commit 3daa38662a85c98c98314bf602352f96f0455c6f Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:46:04 2021 +0000 update README doc. commit 2e9d1df94dffddea972bc08527bf766ba723954a Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:19:39 2021 +0000 create and populate Light Wave doc. commit 73464777fe01bf7dc305b1c1a22b913420999011 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:34:37 2021 +0000 add Return to Ritherdon Project Overview .dot file. This is the file used to generate the .png version of the file in the main README.md file. commit 76710d26cb4414365b0250c765852db017f5dbb5 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:32:30 2021 +0000 update README doc. diagrams. I added a .dot file for the Return to Riterdon project overview and fix the image links for so the diagrams sit in their correct places within the document. commit 131bdefdc388e4ca778e58cab7df18f1df1faae2 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:49 2021 +0000 add .dot file for diagram in README. This is the file used to illustrate the how 'Personal Flash in Real-Time' fits into the 'Return to Ritherdon' project. commit 6dae2040dc8250825a530ef07badd05c4c73e6cb Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:27 2021 +0000 update README doc (main project overview). commit d20d59249562d5420a6d1534c819254a1d50df91 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:39:12 2021 +0000 update Midpoint doc. commit db74ec5d062b6faffba8158259727042a7dd2291 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:14:05 2021 +0000 populate midpoint doc. commit a4ecffeec941ac2bb20d9247abd4b22b7b3e81da Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:31:37 2021 +0000 start populating Midpoint doc. This is a work in progress (end of session) commit. commit bf8a961f99e0fbcb3e6daa58bb427e26ec47e66a Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:02:07 2021 +0000 fix typo in Relay doc. commit 8902037b83b9bb19da93c25e32a2b5b7a18b64b1 Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 19:53:14 2021 +0000 update Relay doc. commit 0e62c64f069d36c4fb7f933ff2f5882e11ce4eef Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 19:00:20 2021 +0000 stub out further sections for Relay doc. This is prep. work for expanding the documentation for the Relay project. End of session commit, though, which is the reason why the sections are not filled out. commit af03002f48b0e17a65d1a39001cb5381dd1ca835 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:50:31 2021 +0000 populated Relay doc. This is a rough transfer of my personal notes in to the public doc's for the Relay project. I've not gone through it properly so expect mistakes and it needing a good proof-read. commit c8eba160fb2eac9f42825072b07eb736e94ef933 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:07:02 2021 +0000 update Light Meter doc. commit 755db34e927c3abba5087c2c8a242668a802516e Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:52:21 2021 +0000 update light-meter doc. commit d28dea87c494ec7a6f5d5d9a0f1b18dfd81a0c10 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:15:13 2021 +0000 add install section to Eyes and Ears doc. commit d5e6440297e200f318a6a0b60eb3cea8ff153f7a Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:09:27 2021 +0000 add links to other projects (Eyes and Ears doc's). commit 5b2583c00b97f8b4fa5dee1ff2534d4af74681bc Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 16:59:32 2021 +0000 populate the Eyes and Ears section. commit b3408532d89e1c5ce0ee2e7def8796cb731e18ae Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 12:57:48 2021 +0000 change Ross to Andy. At some point, I forgot when it was, Ross was replaced by Andy as a welder. This name change is just me dotting the i's and crossing the t's.
2 years ago
- [Raspbian Wi-Fi Tutorial](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md)
The easiest way to do this is via the "raspi-config" file/command. You
can access it by entering `sudo raspi-config` into the console and
entering the "Network Options" section. For the other ways of
connecting to a wireless network, I recommend you read the tutorial
because it can get complicated and the options are numerous.
#### Light-Meter Set-Up
The light-meter is a custom addition to the Raspberry Pi which is
built using the Pi's general-purpose input and output (G.P.I.O.)
pins. You can see the layout of the components connected to the Pi in
the diagram below.
![hardware-layout](attachments/hardware-layout.png)
Depending on the type of enclosure you use, you might find it more
convenient to have the actual light-meter (component) connected to the
breadboard with a pair of jumper wires. To help explain the point,
please see the image below.
![light-meter-extension](attachments/light-meter-extension.png)
#### Power Supply
I am under the impression this device will run in a fully functional
building (I.E. the Ritherdon factory). Because of this, I have taken
no precautions or steps to assume a loss of power beyond the typical
scenarios found in a U.K. factory environment. I have no idea how the
Pi will operate whilst powered via batteries or other "mobile" power
sources. With that said, make sure you can place the Pi where you want
it whilst still being able to power it.
The Raspberry Pi should be programmed to turn itself off at a
designated time. At the time of writing it is expected to be around 6
P.M. with a plug with a timer cutting all power to the Pi
approximately 30 minutes after that (when the factory usually powers
down for the day). When the factory's electrics are turned on at the
start of a working day, the Pi will be included in that process. It
will require no intervention from any of the workforce -- apart from
the initial factory start-up process.
### Software Preparations
Depending on what version of Linux/Raspbian you are running, you might
need to install some dependencies. I have listed the common ones I
came across whilst developing this project. But, you might need to
rely on your own cunning to track down missing dependencies.
```bash
# Don't forget to apt update and upgrade first...
sudo apt install python3-pip
sudo pip3 install requests
sudo pip3 install RPi.GPIO
# You might need to install RPi.GPIO via apt
sudo apt install python3-rpi.gpio
# I will explain why this is here below...
mkdir ~/repos
```
**Note: I decided not to create/use a (Python) virtual environment
because of the projects objectives. I expect the software in this
repository to run on an unmanned machine with only one task to
complete. The environment this project will run in/on will not change
throughout the course of the exhibition. So, the redundancies afforded
by the virtual environment are not needed.**
When you clone this repository, you need to make sure you clone it
into the following location: `/home/rtrp/repos/light-meter/`. From
there, run the following command,
```bash
# This must be the first thing you run after you have cloned
# the repository.
. ~/repos/light-meter/make-log-files.sh
```
You can test the code is working properly by running it. You can do
that by entering `sudo python3 ~/repos/light-meter/cli_meter.py` into
the console. This is assuming the server specified in "cli_meter.py"
is set-up and working as intended.
**Note: For some reason, I had trouble running "cli_meter.py" without
`sudo`. I would sometimes get an error message saying "RPi.GPIO is not
available/installed" (paraphrased). If you manage to get it working
without the use of `sudo`, remain as you were. Otherwise, keep a
mental note of this if you come across the problem.**
When you are ready to run this project as intended, you can set-up a
cron-job for it. To do so enter `sudo crontab -e` into the console
(see note about `sudo` above). You might need to select an editor if
this is your first time setting up a cron-job. I tend to go for Nano
-- which is option "1" most of the time. When the crontab file opens,
enter the following commands at the bottom of the file,
```bash
@reboot bash /home/rtrp/repos/light-meter/startup.sh &
00 18 * * * /home/rtrp/repos/light-meter/shutdown.sh
```
These tasks make the Raspberry Pi send a message to the sever to
indicate its/their status ("on" or "off") and makes the "cli_meter.py"
script run. At this point, you should be able to walk away and let the
Pi do its thing. This is assuming the server is up and running and the
Pi is connected to the world-wide-web. If all is successful, you will
notice the Pi will turn itself off at 18:00 (6 p.m.) and will start
sending light reading when you turn it on without any input from
you. Unfortunately, the Pi can only manage the shutdown procedure on
its own. You will need to turn it on. (This has been accounted whilst
the exhibition is open.)
To make sure the Pi sends a "powering down" message to the server, I
tend you create an alias called `powerdown`. When you type this into
the console, it runs the "shutdown.sh" script -- which has the
shutdown command within it. To make the alias permanent, enter
`alias='~/repos/light-meter/shutdown.sh'` into `~/.bashrc`. This is
easier to test the bespoke shutdown procedure is working as
intended. You can, also, adjust the time in the crontab or run the
script by running the script like you normally would but I find them
to be frustrating to do in this instance.
Squashed commit of the following: commit e23be46f540ded7f8c5797627bb9589eec9ffe5e Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:59:01 2021 +0000 update Midpoint doc. commit 70e23d0902027e7a1855dbacc275fdc2667ec5ec Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:55:27 2021 +0000 update Midpoint doc. commit 3daa38662a85c98c98314bf602352f96f0455c6f Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:46:04 2021 +0000 update README doc. commit 2e9d1df94dffddea972bc08527bf766ba723954a Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 16:19:39 2021 +0000 create and populate Light Wave doc. commit 73464777fe01bf7dc305b1c1a22b913420999011 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:34:37 2021 +0000 add Return to Ritherdon Project Overview .dot file. This is the file used to generate the .png version of the file in the main README.md file. commit 76710d26cb4414365b0250c765852db017f5dbb5 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:32:30 2021 +0000 update README doc. diagrams. I added a .dot file for the Return to Riterdon project overview and fix the image links for so the diagrams sit in their correct places within the document. commit 131bdefdc388e4ca778e58cab7df18f1df1faae2 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:49 2021 +0000 add .dot file for diagram in README. This is the file used to illustrate the how 'Personal Flash in Real-Time' fits into the 'Return to Ritherdon' project. commit 6dae2040dc8250825a530ef07badd05c4c73e6cb Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 20:27:27 2021 +0000 update README doc (main project overview). commit d20d59249562d5420a6d1534c819254a1d50df91 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:39:12 2021 +0000 update Midpoint doc. commit db74ec5d062b6faffba8158259727042a7dd2291 Author: Craig Oates <craig@craigoates.net> Date: Thu Nov 4 19:14:05 2021 +0000 populate midpoint doc. commit a4ecffeec941ac2bb20d9247abd4b22b7b3e81da Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:31:37 2021 +0000 start populating Midpoint doc. This is a work in progress (end of session) commit. commit bf8a961f99e0fbcb3e6daa58bb427e26ec47e66a Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 20:02:07 2021 +0000 fix typo in Relay doc. commit 8902037b83b9bb19da93c25e32a2b5b7a18b64b1 Author: Craig Oates <craig@craigoates.net> Date: Wed Nov 3 19:53:14 2021 +0000 update Relay doc. commit 0e62c64f069d36c4fb7f933ff2f5882e11ce4eef Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 19:00:20 2021 +0000 stub out further sections for Relay doc. This is prep. work for expanding the documentation for the Relay project. End of session commit, though, which is the reason why the sections are not filled out. commit af03002f48b0e17a65d1a39001cb5381dd1ca835 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:50:31 2021 +0000 populated Relay doc. This is a rough transfer of my personal notes in to the public doc's for the Relay project. I've not gone through it properly so expect mistakes and it needing a good proof-read. commit c8eba160fb2eac9f42825072b07eb736e94ef933 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 18:07:02 2021 +0000 update Light Meter doc. commit 755db34e927c3abba5087c2c8a242668a802516e Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:52:21 2021 +0000 update light-meter doc. commit d28dea87c494ec7a6f5d5d9a0f1b18dfd81a0c10 Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:15:13 2021 +0000 add install section to Eyes and Ears doc. commit d5e6440297e200f318a6a0b60eb3cea8ff153f7a Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 17:09:27 2021 +0000 add links to other projects (Eyes and Ears doc's). commit 5b2583c00b97f8b4fa5dee1ff2534d4af74681bc Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 16:59:32 2021 +0000 populate the Eyes and Ears section. commit b3408532d89e1c5ce0ee2e7def8796cb731e18ae Author: Craig Oates <craig@craigoates.net> Date: Tue Nov 2 12:57:48 2021 +0000 change Ross to Andy. At some point, I forgot when it was, Ross was replaced by Andy as a welder. This name change is just me dotting the i's and crossing the t's.
2 years ago
## Running the Program
You should not need to run the program manually (after you have set
everything up). With that said, you can make sure the software works
by running the following commands,
```python
# This assumes you have followed the set-up steps above and you are
# not running the code in a virtual environment.
# Adjust the path to match the location of the .py file.
python3 /home/rtrp/repos/light-meter/cli_meter.py
```
There is a GUI program which you can run which runs locally. I used
this for testing and probably have not used it since the very early
stages of developing this project. It basically displays the light
levels on a screen. This requires Raspbain (RaspberryPi OS) to have it
desktop environment installed. To run it,
```python
# This assumes you have followed the set-up steps above and you are
# not running the code in a virtual environment.
# Adjust the path to match the location of the .py file.
python3 /home/rtrp/repos/light-meter/light_meter.py
```