A middle game easy farm.
Step 1: Step 1
Get the block your farm is gotta be made out of. Next get a button, 2 pieces of redstone, one sticky piston and one repeater
Step 2: Step 2
This is how it will work.
Step 3: Step 3
Get some more redstone 11 repeaters (10 depending many sticky pistons) and the blocks of your choice.
Step 4: Step 4
For the collecting system get two buckets of water (to make it be an item transport system), two hoppers, and two chest.
Step 5: Step 5
Place the chest in the middle of the farm with the two hoppers facing it so they get sent into the chest.
Step 6: Notes
This farm is a 10 * 6 farm so it can grow 60 items at a time if you work a little bit maybe you can make it larger I haven't tried it. Also you have to plant the crops manually.