The present disclosure relates to a dispensing device for an agricultural sprayer. The dispensing device includes a supply manifold having at least two inlets, each inlet connectable to a product source and engaging with a closing valve, and a dispensing manifold having at least two outlets, each outlet connectable to at least one spraying member and engages with a closing valve. The dispensing device further includes a control mechanism that includes at least one camshaft having a plurality of cams. Each cam controls the opening and closing of an associated valve.