under this licence:
The problem: The floor where the turkeys are raised, known as a bed, is made up of rice husks, organic matter and humidity. It is an ideal environment for flies to lay their eggs. 95% of the flies are in a larval and pupal state, and only 5% are adults. This 5% is a problem for raising birds.
First draft
It is a device with a linear displacement, that loads an implement similar to a tiller rotavator and has a movement sensor.
When the device goes forward, the tiller rotavator breaks the compacted manure and destroy the conditions for fly larvae growth. Also, when the movement sensor detects and obstacle, it stops the system.
Ideally must be used in non-automated raising birds farms.
This device used two main systems, one to move two steppers motors and the other for control a motion detector (Ultrasonic Ranging Module HC - SR04). In interaction between this systems is simple, when the motion sensor detects an obstacle, send a LOW signal to the VCC conection of the other system, so that the current flow is cut off and the motors stop. For control the steppers motors, I use a Tecsup Fabduino 2019 model and a GRBL Shield for Fabduino Tecsup 2019, which aims to connect the DRV8825 drivers to the Fabduino.
Schematic of Fabduino
Board of Fabduino
Schematic of GRBL Shield
Board of GRBL Shield
Schematic of sonar
Board of sonar
Program the stepper motor system: I program the stepper motor system that uses the Atmega 328 p and the movement detector system uses an attiny 45, for both I use Arduino IDE for load the codes.
Movement detector system
This code requires the use of the following library: NewPing.h