Silicon micromachining techniques as a tool to fabricate channeling-based devices