I don’t use Redstone much, but you should be able to face an observer 3 blocks high above a sugarcane plant, then add a piston right below it so it doesn’t break the entire plant, then you use a water current to take it into a hopper or whatever and grow sugar.