In this paper we present results on the use of a multilayered a-SiC:H heterostructure as a device for wavelength-division demultiplexing of optical signals. This device is useful in optical communications applications that use the wavelength division multiplexing technique to encode multiple signals into the same transmission medium. The device is composed of two stacked p-i-n photodiodes, both optimized for the selective collection of photo generated carriers. Band gap engineering was used to adjust the photogeneration and recombination rates profiles of the intrinsic absorber regions of each photodiode to short and long wavelength absorption and carrier collection in the visible spectrum. The photocurrent signal using different input optical channels was analyzed at reverse and forward bias and under steady state illumination. A demux algorithm based on the voltage controlled sensitivity of the device was proposed and tested. The operation frequency of the device was analyzed under different optical bias conditions. An electrical model of the WDM device is presented and supported by the solution of the respective circuit equations.