diff options
author | Steven <steven.vasilogianis@gmail.com> | 2021-09-23 15:41:10 -0400 |
---|---|---|
committer | Steven <steven.vasilogianis@gmail.com> | 2021-09-23 15:41:10 -0400 |
commit | eee4cb3b72aad7032c23a96d86e40be9c1afb4e9 (patch) | |
tree | 122076c0cab213753e0d861a5494ebdce34b5053 |
initial repo. psuedo code and some links.
-rw-r--r-- | research/links | 1 | ||||
-rw-r--r-- | research/teks | 38 | ||||
-rw-r--r-- | src/main.ino | 31 |
3 files changed, 70 insertions, 0 deletions
diff --git a/research/links b/research/links new file mode 100644 index 0000000..5be9b16 --- /dev/null +++ b/research/links | |||
@@ -0,0 +1 @@ | |||
https://kylegabriel.com/projects/2021/09/mushroom-cultivation-automation.html#Materials_Parts_List | |||
diff --git a/research/teks b/research/teks new file mode 100644 index 0000000..260ab67 --- /dev/null +++ b/research/teks | |||
@@ -0,0 +1,38 @@ | |||
1 | Uncle Ben Tek (aka Spiderman tek) | ||
2 | https://www.reddit.com/r/shrooms/comments/dbzy8e/uncle_ben_tek_aka_spiderman_tek_full_instructions/ | ||
3 | |||
4 | > Instructions: | ||
5 | > | ||
6 | > 1. Break up the rice in the bag with your fingers. | ||
7 | > | ||
8 | > 2. Wipe down the outside of your rice bags with alcohol or another | ||
9 | > disinfectant. | ||
10 | > | ||
11 | > 3. Wipe down your scissors with alcohol or another disinfectant. | ||
12 | > | ||
13 | > 4. (If using a still air box, do every step that follows inside of it) | ||
14 | > | ||
15 | > 5. Snip off the corner of the bag. | ||
16 | > | ||
17 | > 6. Heat your needle with a torch lighter or Bunsen burner until it’s | ||
18 | > red-hot. Wait a few seconds for it to cool down a little. | ||
19 | > | ||
20 | > 7. Inject 1cc of your spore solution on top of the rice through the corner | ||
21 | > you’ve cut open. It’s fine if you just drop it on top or stab right into the | ||
22 | > rice; it shouldn’t make a difference. Gravity will take the liquid where it | ||
23 | > needs to go, provided you’re not doing this in space. | ||
24 | > | ||
25 | > 8. Tape over the corner you cut open with micropore tape. I squeezed mine so | ||
26 | > it was propped open a little before I did so to allow for good gas exchange. | ||
27 | > Here is a photo of what I mean. | ||
28 | > | ||
29 | > 9. Wait for mycelium growth. If it’s near the bottom of the bag, you’ll be | ||
30 | > able to see it through the clear window. Here is a photo of one bag after 6 | ||
31 | > days. | ||
32 | > | ||
33 | > 10. Shake your bag once it’s about 30% colonized. If necessary, you can | ||
34 | > gently break up any large clumps you feel with your fingers. | ||
35 | > | ||
36 | > 11. Once the entire bag is colonized, spawn to bulk using the method of your | ||
37 | > choosing. | ||
38 | |||
diff --git a/src/main.ino b/src/main.ino new file mode 100644 index 0000000..627be8c --- /dev/null +++ b/src/main.ino | |||
@@ -0,0 +1,31 @@ | |||
1 | #define CHECK_FREQUENCY 1000; // check sensors every second | ||
2 | #define HUMIDITY_DESIRED 75; | ||
3 | #define HUMIDITY_VARIATION 3; // ultrasonic turns on at (75 - 3 = 72) and off at (75 + 3 = 78) | ||
4 | |||
5 | int humidity () { ; } | ||
6 | int tempature () { ; } | ||
7 | int co2 () { ; } | ||
8 | bool ultrasonic_start () { ; } | ||
9 | bool ultrasonic_stop () { ; } | ||
10 | bool fan_start () { ; } | ||
11 | bool fan_stop () { ; } | ||
12 | bool log ( int humidity, int temp, int co2 ) { ; } | ||
13 | |||
14 | void loop() { | ||
15 | delay(CHECK_FREQUENCY); | ||
16 | int humidity = humidity(); | ||
17 | int temp = temp(); | ||
18 | int co2 = co2(); | ||
19 | |||
20 | if ( humidity < (HUMIDITY_DESIRED - HUMIDITY_VARIATION) ) { | ||
21 | ultrasonic_start(); | ||
22 | fan_stop(); | ||
23 | } elseif ( humidity > (HUMIDITY_DESIRED + HUMIDITY_VARIATION) ) { | ||
24 | fan_start(); | ||
25 | ultrasonic_stop(); | ||
26 | } else { | ||
27 | ; // keep going | ||
28 | } | ||
29 | |||
30 | log(humidity, temp, co2); | ||
31 | } | ||