Fabrication of a Hydrogenated Amorphous Silicon detector in 3-D Geometry and Preliminary Test on Planar Prototypes