{"id":1089,"date":"2022-02-05T10:32:05","date_gmt":"2022-02-05T15:32:05","guid":{"rendered":"http:\/\/robotsbench.com\/?p=1089"},"modified":"2022-09-11T21:06:42","modified_gmt":"2022-09-12T02:06:42","slug":"custom-arduino-uno-shield-for-growing-oyster-mushrooms","status":"publish","type":"post","link":"https:\/\/robotsbench.com\/custom-arduino-uno-shield-for-growing-oyster-mushrooms\/","title":{"rendered":"Custom Arduino Uno shield for growing oyster mushrooms"},"content":{"rendered":"\n
I’m building an Arduino project to automate growing oyster mushroom in a box. I can’t vouch for the results of growing the mushrooms yet, but the electronics are now complete, so I wanted to do a little writeup on it while it was fresh into my mind.<\/p>\n\n\n\n
For this project I was aiming to use mostly off-the-shelf parts and Arduino shields, stacking them as needed<\/a>. Still, I need to handle connecting the devices to control to the Arduino in a relatively solid way. That’s where the custom shield come in: it’s mostly a bunch of connectors with the circuitry to control them from the Arduino. I also added in a LCD shield to see the current status of the sensors.<\/p>\n\n\n\n You can see the schematic, PCB design and Arduino sketch on my GitHub: https:\/\/github.com\/CindyPotvin\/OysterControl<\/a><\/p>\n\n\n\n The shield connects the following components to the Arduino:<\/p>\n\n\n\n The power sources for all those devices (24V and 5V) are separate from the Arduino power source. I could have gotten the power from the Vin pin for the 5V, but the 24V needs to come from an external supply since it’s higher than the Arduino can handle. Since I’m already messing with external power source, I decided that it would be cleaner if all devices worked that way, and it gives me more options if my current devices are not enough to do the job and I need to draw more current.<\/p>\n\n\n\n I was able to find a LED strip and fans that were already USB, so those devices are also plugged in using USB port to the shield. Everything else is connected using small screw terminal blocks, so it’s still pretty convenient to work with. The external sensor wiring is done using spare ethernet cable.<\/p>\n\n\n\n The humidifier, the pair of fans and the LCD are each controlled by the Arduino using a IRL520 MOSFET:<\/p>\n\n\n\n To design the schematic and the PCB for the shield, I used KiCad as in my last project<\/a>. As a starting point, I used the built-in template in KiCad for an Arduino shield under File\/New Project\/New Project from Template<\/em>, and selected Arduino Uno<\/em>. The template comes with:<\/p>\n\n\n\n Since I was also using a LCD Keypad shield, I had to make sure I was not reusing the same I\/O pins. In my case, I had no worries about the power since all my devices are powered separately: I have more than enough to spare for the rest of the project. Another advantage of having an external supply for everything!<\/p>\n\n\n\n The part that required the most planning was the size of the shield and the components since I wanted to be able to stack my shield using the standard headers. I’m also using the LCD Keypad shield, which obviously goes on top, so I couldn’t use extra vertical space even if I wanted to.<\/p>\n\n\n\n I was a bit short on space trying to keep the shield the size of the Arduino Uno, so ended up making the shield longer than the Arduino. I briefly considered having two shields so I had more space for connectors, but that extra bit of length was enough.<\/p>\n\n\n\n Here are a few more points that helped me:<\/p>\n\n\n\n Now, the only thing left is to wire the whole thing in its final place so I can start testing the mushroom growing. I’ll keep you posted about my progress!<\/p>\n\n\n\n I’m building an Arduino project to automate growing oyster mushroom in a box. I can’t vouch for the results of growing the mushrooms yet, but the electronics are now complete, so I wanted to do a little writeup on it while it was fresh into my mind. For this project I was aiming to use … Read moreCustom Arduino Uno shield for growing oyster mushrooms<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1225,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"none","_seopress_titles_title":"","_seopress_titles_desc":"How I created a PCB for a custom Arduino Uno shield to add various connectors driven by the Arduino using MOSFET to help me grow oyster mushrooms.","_seopress_robots_index":"","inline_featured_image":false},"categories":[87,6,94],"tags":[],"featured_image_urls":{"full":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-scaled.jpeg",2560,1920,false],"thumbnail":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-150x150.jpeg",150,150,true],"medium":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-300x225.jpeg",300,225,true],"medium_large":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-768x576.jpeg",768,576,true],"large":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-1024x768.jpeg",1024,768,true],"1536x1536":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-1536x1152.jpeg",1536,1152,true],"2048x2048":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-2048x1536.jpeg",2048,1536,true]},"post_excerpt_stackable":" I’m building an Arduino project to automate growing oyster mushroom in a box. I can’t vouch for the results of growing the mushrooms yet, but the electronics are now complete, so I wanted to do a little writeup on it while it was fresh into my mind. For this project I was aiming to use mostly off-the-shelf parts and Arduino shields, stacking them as needed. Still, I need to handle connecting the devices to control to the Arduino in a relatively solid way. That’s where the custom shield come in: it’s mostly a bunch of connectors with the circuitry to…<\/p>\n","category_list":"Arduino<\/a>, Circuit Boards (PCB)<\/a>, Featured<\/a>","author_info":{"name":"Cindy","url":"https:\/\/robotsbench.com\/author\/cindyptn\/"},"comments_num":"0 comments","featured_image_urls_v2":{"full":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-scaled.jpeg",2560,1920,false],"thumbnail":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-150x150.jpeg",150,150,true],"medium":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-300x225.jpeg",300,225,true],"medium_large":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-768x576.jpeg",768,576,true],"large":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-1024x768.jpeg",1024,768,true],"1536x1536":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-1536x1152.jpeg",1536,1152,true],"2048x2048":["https:\/\/robotsbench.com\/wp-content\/uploads\/2022\/02\/oystercontrol-shield-2048x1536.jpeg",2048,1536,true]},"post_excerpt_stackable_v2":" I’m building an Arduino project to automate growing oyster mushroom in a box. I can’t vouch for the results of growing the mushrooms yet, but the electronics are now complete, so I wanted to do a little writeup on it while it was fresh into my mind. For this project I was aiming to use mostly off-the-shelf parts and Arduino shields, stacking them as needed. Still, I need to handle connecting the devices to control to the Arduino in a relatively solid way. That’s where the custom shield come in: it’s mostly a bunch of connectors with the circuitry to…<\/p>\n","category_list_v2":"Arduino<\/a>, Circuit Boards (PCB)<\/a>, Featured<\/a>","author_info_v2":{"name":"Cindy","url":"https:\/\/robotsbench.com\/author\/cindyptn\/"},"comments_num_v2":"0 comments","_links":{"self":[{"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/posts\/1089"}],"collection":[{"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/comments?post=1089"}],"version-history":[{"count":17,"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/posts\/1089\/revisions"}],"predecessor-version":[{"id":1227,"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/posts\/1089\/revisions\/1227"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/media\/1225"}],"wp:attachment":[{"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/media?parent=1089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/categories?post=1089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robotsbench.com\/wp-json\/wp\/v2\/tags?post=1089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<\/figure><\/div>\n\n\n\n
Shield concept<\/h2>\n\n\n\n
<\/figure><\/div>\n\n\n\n
Shield Schematic<\/h2>\n\n\n\n
Shield PCB Design<\/h2>\n\n\n\n
<\/figure><\/div>\n\n\n\n
<\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"