close-circle
Close
0%
0%

Automated IoT compost

Amalgamate is an automated composting system that helps users build a compost, download the code, and connect to a user interface

Similar projects worth following
close
http://amalgamatecompost.com I built this for a final project after a 6 month development bootcamp. It measures soil moisture/temperature, allows for turning and watering, and has an web interface that users can connect to. The intended user is a DIY typer person who wants to build a compost/connect to a raspberry pi and then get the code from github and connect their compost the the interface. All instructions can be found on the webpage.

Making Your Own Composter

Make your own composter, add my code from github, and register for this app

Supplies


Ordering parts



  1. To start this project it is best if you think about breaking up the composter into pieces. To begin with I will walk you through ordering and setting up the appropriate devices. Again, no need to worry about code because if you order the correct parts you can use my exact code
  2. Order soil moisture sensor sht10 it is part of the sht1x series and although it is a little more expense then other soil moisture sensors it offered a water proof cover and tracks temperature and humidity.https://www.adafruit.com/product/1298
  3. Order a relay. I used an 8 prong relay because we need multiple sections of this relay and it is cheaper then buying multiple relays. There are a few additional features that may be added some day that would also use the relay. http://www.hobbytronics.co.uk/8-channel-relay-board To set up the relay you can watch this You Tube video https://www.youtube.com/watch?v=oaf_zQcrg7g The video is good for setup but the code is not what we need so when he gets to the code you can stop the video or try it out for practice and understanding but know that we won't be using that code.
  4. 12v drill that you can ruin. The specifics of the drill are less important as long as it is 12v and you know you are going to take it apart. I bought the cheapest 12v drill they offered at Harbor Freight. I bought a cordless, took off the battery, and hooked the wires directly to my wiring system
  5. A compost bin can be made or bought but if you want to set it up how I set it up (which I recommend so wires do not get tangled) then you will need to have a bin that rotates around a secure center post.http://www.ebay.com/itm/like/182206259455?lpid=82&chn=ps&ul_noapp=true this is the composter I used.
  6. Raspberry Pi. I used a model B but you can use any. If you use the one I used then you also need a wireless dongle. If you do not use the one I used you may need to look up pin configuration because some Raspberry Pi's are built with extra pins and the numbering may be different.
  7. 12volt water valve to use for the watering system https://www.adafruit.com/products/997?gclid=Cj0KEQjwsai_BRC30KH347fjksoBEiQAoiaqsQmReRZKJox_INCFEuEkslj2iodzXp6orYL3OyX0T7UaAq8W8P8HAQ
  8. 12v to 5v step down converter https://www.amazon.com/Nextrox-Converter-Power-Supply-Module/dp/B00A71CMDU

Making Circuits

    Prior to starting I am not going to walk through setting up the Raspberry Pi so if you are new to Raspberry Pi I suggest you look at the documentation on the Raspberry Pi site or
    https://www.raspberrypi.org/help/
  1. Set the relay up as demonstrated in this video https://www.youtube.com/watch?v=oaf_zQcrg7g This connects the relay to the raspberry pi. The ground pin recommended for the relay is already used for the sensor so you can choose to (pin 6), however pin 9 is also a ground pin so you can either plug the relay into ground pin 9 or connect both pins to an external circuit board that is hooked to the pin.
  2. Congratulations if you made it here your circuit is totally set up and ready to go! Now would be a good time to get the code off git hub onto your raspberry pi. Depending on how much you have used or set up your raspberry pi you may need to set up git in order to clone the repository https://github.com/Jayme-T/AmalgamateBackEnd

    At this point you should be able to run your relay by either logging into your raspberry pi or sshing into your pi and typing the following in the command line

    python relay.py


    this code will open one relay, pause, open a second relay, pause, and then turn them both off. You will hear loud clicks and this is just the switches in the relay being flipped. You should also be able to run

    python app.py


    this will start a server on port 5000. If these are not working see the trouble shooting section at the bottom of this page. Otherwise if everything is working we will start putting things together.

Building the Compost

    The relay is working but how do we make...
Read more »

  • Moving Forward

    Jamie10/26/2016 at 19:46 0 comments

    I am in the process of connecting with a second person who is a bit more proficient at development. We are going to fine tune and add a few more features like adding a weight sensor to the project. This will help control amount of compost for zoning laws as well as calculating waste diversion. I hope then this can be used as a model for waste diversion in small batches or in community composting hubs.

  • to updatae soon

    Jamie10/20/2016 at 20:45 1 comment

    Currently this project is built and I used ngrok to connect to IoT without using port forwarding. I am working on figuring how much weight the composter can hold and still turn automatically and will update others one I know. I also want to add a weight sensor

View all 2 project logs

Enjoy this project?

Share

Discussions

load.nikon wrote 05/29/2017 at 23:38 point

I just found this from a HaD tweet.  Congratulations, it looks so good.  How has it been working for you?  I have a similar project in my page but I'm officially held up until I get a welder.  I have so many more questions for you though, are you up to share your experience so far?

  Are you sure? yes | no

Jamie wrote 10/26/2016 at 13:16 point

A few people have asked me what the bucket on the top is for so  I guess I forgot to talk about that in my instructions. The 5 gallon bucket on the top is for water. I didn't feel like adding a water pump so that holds water and when the relay opens the water valve water just flows out and into the compost. Sorry for any confusion and I hope that clarifies things. 

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates