Micromachined flow sensor on silicon membrane