The p-n Junction
Joined p-type and n-type semiconductors
+++++++
+++++++
------------
------------
Diffusion across junction creates barrier
potential     ++-+++-++
-++-++-++-
+--+--+--+
---+----+---