the discovery of the silicon pn junction is a landmark in the development of modern microelectronics . silicon and other inorganic semiconductors are the predominant materials in electronic manufacturing today ; however , the development of organic - based electronic components has been a focus of intensive research and development . organic electronics have become an active research area in recent years because they are an alternative to the traditional semiconductor technology and challenges in design on a smaller scale from microscale to nanoscale . moreover , organic materials have vast potential for integration in low - cost microelectronic devices . organic - based semiconductors , for example polymeric gels , may have superior properties due to their flexibility against to regulate some physical properties of the materials even after the production , e.g. , by changing the volume of the gel . circuits and displays based on organic electronics may also be flexible , low - weight , and environment friendly . due to great diversity and functionality of the polymers , they may also be produced for specific requirements , like biocompatible semiconductors . last , some water - tolerant organic devices may be biocompatible , that is , they may be used in circuits that directly reside on or are implanted inside animal and human tissue and could perform various sensing , interfacing , and controlling functions for drug delivery , prosthetics , and neural - electronic integration . insulating polymers have been made conductive so far by using various methods such as ion implantation [ 1 - 4 ] , press contacting , and photochemical doping . the impressive properties of these materials that have been taken advantage are the ability to manipulate electronic properties by changing their molecular structure . differently current rectifying in semiconductor diodes via diffusion of ionic charges across a pn junction sets up a built in potential ; there is unidirectional current is observed across a membrane where a built in potential arises from diffusion of anions and cations in organic junctions . we considered that the principle of the electrical conductivity in polymeric gels can be changed by doping static ( inactive ) ions having counter ions as charge carriers and these gels can be used to form pn junctions that work similar to inorganic semiconductors . these semiconductor polymeric gels can be doped with both negative ( n - type ) and positive ( p - type ) counter ions as charge carriers . we have shown that the pn junction formed by combining p - type and n - type gels together in much closer contact rectifies the current . p - type hydrogels were synthesized via free radical cross - linking co - polymerization of acrylamide ( aam ) and n , n-methylene bisacrylamide ( bis ) as crosslink agent in the presence of pyranine ( 8-hydroxypyrene-1,3,6-trisulfonic acid , trisodium salt ) in varying amount , 10 , 10 , 10 mol / l [ 10 - 12 ] . the ratios of aam to bis and aam to aps were kept fixed for all samples ; aam / bis = 31 and aam / aps = 43 in bidistilled water . the samples were deoxygenated by bubbling nitrogen during 10 min , and the gelation was performed in the 1  1 cm square - shaped holders ( 4 cm of volume ) at 60c in a heat bath . after gelation processes were completed , gels were washed with pure water during 15 days with changing their water every day . thus , pollutions and unreacted chemicals washed out from the gel , and only pyranines , which were bound to the polymer strands chemically [ 10 - 12 ] , were stayed in the gel . after the gels dried at 40c furnace , they were cut into thin slices with ~1 mm thickness for electrical measurements . n - type gels were synthesized , similar to p - type , as free radical cross - linking co - polymerization of n - isopropylacrylamide ( nipa ) and n , n-methylene bisacrylamide ( bis ) as crosslink agent in the presence of methacrylamidopropyltrimethylammonium chloride ( maptac ) in varying amount , 3  10 , 3  10 , 3  10 mol / l [ 13 - 15 ] . the ratios of nipa to bis and nipa to aibn were kept fixed for all samples ; nipa / bis = 50 and nipa / aibn = 71 in dimethylsulphoxide ( dmso ) . these gels were prepared for electrical measurements in similar way with p - type gels . aam , nipa , and doping concentrations of the samples were summarized in table 1 . properties and codes of synthesizing semiconducting gels to be able to evaluate the net effect of the doping on the electrical properties , samples p1 , p5 , n1 , and n5 were synthesized without doping agents for comparison with the other samples . the gels , prepared in the slice shapes of area a and thickness d , were swollen to a certain swelling ratio , and then placed between platinum electrodes , and sealed from the air against drying . the current densities per unit mass , j / m , of the gel were measured against the time , the applied voltage and the swelling ratio of the gels . p - type hydrogels were synthesized via free radical cross - linking co - polymerization of acrylamide ( aam ) and n , n-methylene bisacrylamide ( bis ) as crosslink agent in the presence of pyranine ( 8-hydroxypyrene-1,3,6-trisulfonic acid , trisodium salt ) in varying amount , 10 , 10 , 10 mol / l [ 10 - 12 ] . the ratios of aam to bis and aam to aps were kept fixed for all samples ; aam / bis = 31 and aam / aps = 43 in bidistilled water . the samples were deoxygenated by bubbling nitrogen during 10 min , and the gelation was performed in the 1  1 cm square - shaped holders ( 4 cm of volume ) at 60c in a heat bath . after gelation processes were completed , gels were washed with pure water during 15 days with changing their water every day . thus , pollutions and unreacted chemicals washed out from the gel , and only pyranines , which were bound to the polymer strands chemically [ 10 - 12 ] , were stayed in the gel . after the gels dried at 40c furnace , they were cut into thin slices with ~1 mm thickness for electrical measurements . n - type gels were synthesized , similar to p - type , as free radical cross - linking co - polymerization of n - isopropylacrylamide ( nipa ) and n , n-methylene bisacrylamide ( bis ) as crosslink agent in the presence of methacrylamidopropyltrimethylammonium chloride ( maptac ) in varying amount , 3  10 , 3  10 , 3  10 mol / l [ 13 - 15 ] . the ratios of nipa to bis and nipa to aibn were kept fixed for all samples ; nipa / bis = 50 and nipa / aibn = 71 in dimethylsulphoxide ( dmso ) . these gels were prepared for electrical measurements in similar way with p - type gels . aam , nipa , and doping concentrations of the samples were summarized in table 1 . properties and codes of synthesizing semiconducting gels to be able to evaluate the net effect of the doping on the electrical properties , samples p1 , p5 , n1 , and n5 were synthesized without doping agents for comparison with the other samples . the gels , prepared in the slice shapes of area a and thickness d , were swollen to a certain swelling ratio , and then placed between platinum electrodes , and sealed from the air against drying . the current densities per unit mass , j / m , of the gel were measured against the time , the applied voltage and the swelling ratio of the gels . the pyranine binds to the polymer chains , over its oh group , chemically during the polymerization as it is discussed in detail in references [ 10 - 12 ] , and they form stable charged sites doped with positive counter ions . thus , the polyacrylamide gel is doped with pyranine having   ions as side groups and na as counter ions , so - called p - type semiconducting gel . similarly , nipa gel was doped with maptac , having cl as counter ions , so - called n - type semiconducting gel . the maptac binds to the polymer chains chemically during the polymerization , thus they form stable charged sites doped with negative counter ions as represented in scheme 1together with the p - type gel . this doping process was also discussed in detail in references , . when these gels are in the collapsed state , no current is observed . when the gels start to swell , the current starts to flow through the gels . schematic representation of the p - type ( a ) and n - type ( b ) gels doped with pyranine and maptac the currents decrease with time for a constant applied voltage as shown in fig . as the charge carriers ( the ions in water phase of the gel ) were gathered on the electrodes , the density of the charge carriers decrease in time , and thus the current . as seen , the initial values of the currents measured for the doped gels are considerably bigger than that of the  neat  gel ( the gel that was not doped with ions ) at a certain swelling ratio , v / v0 = 1.28 and under constant applied voltage , u = 5 v. furthermore , the initial amplitude of the currents increases with increasing doping concentration . this clearly shows that the net charge in the gel increases with increasing doping concentration . aj / mgel vs time plots for the doped ( p2 , p3 , p4 ) and neat ( p1 ) gels under constant applied voltage , 5 v , and swelling ratio , v / v0 ~ 1,28 . bj / mgel versus time plots upon short - cut of the circuit for samples p4 , p3 , p2 , p1 . the vertical bar represents the standard error for each plot examples for the short - cut experiments -the source of the voltage was removed and the current was measured by means of an ammeter without changing its polarity- were also indicated in ( fig . 1b ) where all the current takes first a negative value , as it is expected , and then goes to zero with time . figure 1 clearly indicates that the free charges leading the current are accumulated on the surfaces of the gel on which the voltage is applied ( similar to charging a parallel plate capacitor ) and the gels have ionic charge carriers . figure 2a shows typical current - time plots of the slab gels for increasing pyranine content . the gels were swollen in pure water up to certain swelling degree ( v / v0 = 1,3 ) , under a fixed applied voltage , 1 v. as seen , the currents for all samples decrease with time ; however , the initial values of them increase with increasing doping agent ( pyranine content ) . aj / mgel versus time plots of the samples p6 , p7 , and p8 , b the ratios of j / mgel for the doped and neat gels ( p8/p5 ) as function of the applied voltage for varying swelling ratio , v / v0 figure 2b shows the ratio of the normalized current densities ( j / mgel ) for doped ( p8 ) to neat ( p5 ) gels as function of the applied voltage for varying swelling ratio . the currents were measured 5 s later just after applying voltage . as seen , the doping effect on the current decreases when the swelling ratio is increased . this may be due to the vast increase in the free ions coming from the water which causes screening . this picture may indicate that doping effect ( p - type behavior ) can be fulfilled up to a certain swelling degree of the above - mentioned gel which semiconducting behavior will be lost . the instantaneous currents  the currents that were measured 5 s later just after changing the voltage- as function of the volume of the gels for varying voltages were also measured , and the results were indicated in fig . as seen from this figure , distinct peaks appear as the solvent uptake , v / v0 , increases . the peaks almost disappear for the gels doped with pyranine due to increasing homogeneity of the gels in the presence of the ions . the results coincide with the recent literature where three dominant peaks , each corresponding to a different swelling stage in the conductivity , were observed . figure 3 indicates that the volume of the gel is one of the main parameters determining the current . variation in j / mgel against v / v0 for ( a ) the neat gel , p1 , and for ( b ) the doped gel , p2 these peaks were related to the distribution of dense polymer regions ; they are defined as the  blobs  appearing in a microstructure of the given paam gel having at least some average sizes . this special behavior in these gels may result specific features related to the electrical features . the heterogeneity of the gel may decrease essentially in case when it is prepared with the charged groups . the internal electric field due to the charged sites could disturb the tendency between the polymer units ( affinity of the aam momoners to the cross - linker molecules ) because the charge excess has a tendency to form denser polymer regions especially in mesoscale regions . the formation of the rigid network in the charged gel makes it more homogenous in comparison with the neutral gel . this could cause the decreasing amplitude of the peaks , and overall decrease in the conductivity as it is confirmed by fig . 3 ( see also fig . 2 of reference ) . therefore , in the charged gel , the penetration of neutral water molecules through the system of large channels located in the vicinity of small blobs is facilitated . figure 4 represents the normalized current density per unit mass as function of the voltage for the gels ( sample p3 ) swollen with water ( fig . dmso is not a polar molecule ; therefore , the ions like h or oh are absent in it . as seen from this figure , the current density decreases fairly for the gels swollen with dmso since no contribution to the current occurs via h and oh ions . the current occurs mainly due to doped ions ( the counter ions of the doping agent ) . this observation clearly indicates that the possible negative effects of the water upon the pnjunctions that may be formed by means of our gels can be eliminated . j / mgel versus applied voltage , u , for the doped gel ( p3 ) swollen in ( a ) pure water , b and in dmso all the above - mentioned measurements were repeated for n - type gels , and the similar results were reproduced . here the results are not given to avoid the repetition . in fig . 5 , representative examples of i - u(current  voltage ) character of polymeric diode are given for the neat and the doped gels . figure 5a shows the current  voltage character that was made by means of close connection of p-(sample p4 ) and n - type ( sample n4 ) slab gels- putting one of the gel on the top of the other for each gel . the swelling ratio of each gel was kept the same , v / v0 = 1,2 . when the neat gels are used for both the p - and n - type sides , figure 5a clearly shows that the current of the interface between the cationic and anionic gels , which is passing through only one direction , originates directly from the doping effect of the gels . a i versus u plot for pn junction formed with p - and n - type gels ( p4-n4 ) , b i versus u plot for the junction formed with neat gels ( p1-n1 ) in this study , we have shown that p- and n - type doped hydrogels can be synthesized and be used to built pn junction . the synthesis of these gels and making junctions are more simple , inexpensive , and scalable than traditional pn junctions . the current  voltage characteristic of the polymeric pn junction can be changed by changing doping concentration , swelling ratio etc that will be discussed in our feature works . the percentage of the standard deviations changes around 20% as can be seen from fig . the reasons for this high standard deviations can be explained by the following arguments : ( 1 ) the electrical futures of these gels depend strictly on the swelling ratio of the gels as can be seen from fig . 3 and from the detailed discussion given in a recent work   and ( 2 ) on the internal morphology ( nonergodicity or random distribution of the heterogeneous regions in the gels ) . this strict volume dependence and the randomness of the internal distributions of the heterogeneous regions   set a barrier for comparison of the samples from the point of the current amplitudes due to the difficulties to bring the gels to exactly the same swelling ratios and to repeat the synthesis with exactly the same internal morphology . therefore , the stability and reversibility problems need detailed experiments and probably more controllable polymer synthesis . this article is distributed under the terms of the creative commons attribution noncommercial license which permits any noncommercial use , distribution , and reproduction in any medium , provided the original author(s ) and source are credited .
in this study , we synthesized the new kinds of semiconducting polymeric gels having negative ( n - type ) and positive ( p - type ) counter ions as charge carriers . 
 the polyacrylamide gel was doped with pyranine ( 8-hydroxypyrene-1,3,6-trisulfonic acid , trisodium salt ) , havingions as side groups and na+ as counter ions , so - called p - type semiconducting gel . 
 the doping process was performed during the polymerization where the pyranine binds to the polymer strands over oh group chemically via radical addition . in a similar way , 
 n - isopropylacrylamide ( nipa ) gel was doped with methacrylamidopropyltrimethyl ammonium chloride ( maptac ) , having cl as counter ions , so - called n - type semiconducting gel . here 
 maptac was embedded by copolymerization within the polymer network ( nipa ) . 
 these semiconducting gels can show different electrical properties by changing the concentration of the doping agents , swelling ratio etc . 
 we have shown that the pn junction , formed by combining p - type and n - type gels together in close contact , rectifies the current similar to the conventional si and ge diodes .