From eee4cb3b72aad7032c23a96d86e40be9c1afb4e9 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 23 Sep 2021 15:41:10 -0400 Subject: initial repo. psuedo code and some links. --- research/links | 1 + research/teks | 38 ++++++++++++++++++++++++++++++++++++++ src/main.ino | 31 +++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 research/links create mode 100644 research/teks create mode 100644 src/main.ino 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 @@ +Uncle Ben Tek (aka Spiderman tek) +https://www.reddit.com/r/shrooms/comments/dbzy8e/uncle_ben_tek_aka_spiderman_tek_full_instructions/ + + > Instructions: + > + > 1. Break up the rice in the bag with your fingers. + > + > 2. Wipe down the outside of your rice bags with alcohol or another + > disinfectant. + > + > 3. Wipe down your scissors with alcohol or another disinfectant. + > + > 4. (If using a still air box, do every step that follows inside of it) + > + > 5. Snip off the corner of the bag. + > + > 6. Heat your needle with a torch lighter or Bunsen burner until it’s + > red-hot. Wait a few seconds for it to cool down a little. + > + > 7. Inject 1cc of your spore solution on top of the rice through the corner + > you’ve cut open. It’s fine if you just drop it on top or stab right into the + > rice; it shouldn’t make a difference. Gravity will take the liquid where it + > needs to go, provided you’re not doing this in space. + > + > 8. Tape over the corner you cut open with micropore tape. I squeezed mine so + > it was propped open a little before I did so to allow for good gas exchange. + > Here is a photo of what I mean. + > + > 9. Wait for mycelium growth. If it’s near the bottom of the bag, you’ll be + > able to see it through the clear window. Here is a photo of one bag after 6 + > days. + > + > 10. Shake your bag once it’s about 30% colonized. If necessary, you can + > gently break up any large clumps you feel with your fingers. + > + > 11. Once the entire bag is colonized, spawn to bulk using the method of your + > choosing. + 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 @@ +#define CHECK_FREQUENCY 1000; // check sensors every second +#define HUMIDITY_DESIRED 75; +#define HUMIDITY_VARIATION 3; // ultrasonic turns on at (75 - 3 = 72) and off at (75 + 3 = 78) + +int humidity () { ; } +int tempature () { ; } +int co2 () { ; } +bool ultrasonic_start () { ; } +bool ultrasonic_stop () { ; } +bool fan_start () { ; } +bool fan_stop () { ; } +bool log ( int humidity, int temp, int co2 ) { ; } + +void loop() { + delay(CHECK_FREQUENCY); + int humidity = humidity(); + int temp = temp(); + int co2 = co2(); + + if ( humidity < (HUMIDITY_DESIRED - HUMIDITY_VARIATION) ) { + ultrasonic_start(); + fan_stop(); + } elseif ( humidity > (HUMIDITY_DESIRED + HUMIDITY_VARIATION) ) { + fan_start(); + ultrasonic_stop(); + } else { + ; // keep going + } + + log(humidity, temp, co2); +} -- cgit v1.2.3