This P typeThere's a P typesemiconductorbecauseholesairsortofpositivelycharged.
I guessyouwouldn't thinkofitthatway.
Rememberthatthe n andthe P returnedrefertothechargecarrierwhetherthechargecarriersnegativeorpositive, neitherofthesematerialsisactuallyhasanoverallelectricalcharge.
Wherethisgetsinterestingisifwehave a singlesiliconcrystalhere, wherehalfofitisisdopedwithwith n tightmaterial, andhalfofitis p typematerialdopedwiththeboronoverhere.
Intheendtypehalf.
We'vegotnegativechargecarrierswithextraelectrons.
They'refreetowanderaround.
Andoverhereintheinthe p typehalf, we'vegot a positivechargecarriers, whicharetheholesthatarefreetowanderaround.
Andso a coupleinterestingthingsaregonnahappenhere, youknow, first, youknowthisthiskindofregionof n tightmaterialhereisgonna, youknow, takeon a littlebitofah, positivechargeisgonnabekindof a positivechargeinthisregionbecausetheelectronshavehavekindofwanderedoff.
Thisregionhereisgoingtotakeon a littlebitof a negativechargebecausesomeextraprotonshaveshownup.
Excuseme?
Someextraelectronshaveshownupandarefillinginthoseextraholes, sothere's a littlebitof a slightpositivechargehere, a littlebitofslightnegativechargehere.
Butotherwise, youknow, therestofthisandtypematerialoverhereisgonnabeThisis n Titanmaterialoverhereisgonnabekindofnormal.
Everythingjustlikewedescribed.
Andtherestofthis p typematerialoveronthissideisgonnabejustlikewetalkedaboutbefore.
Butrightatthisboundary, youknow, a coupleinterestingthingsgoingon.
There's nowayforthemtokindofmoveacrosshereandsoyouwon't get a currentflowing, youknow.
Butinreality, actually, ififthisbatteryisreallyofanydecentsize, um, there's gonnabeenoughelectronsgoinginthatactuallytheyaregoingtostarttogetcloserandclosertothisdepletion, youknow, ortothetotheboundary, the P M junction.
Andatthesametime, there's gonnabeelectronsoveronthe P side.
And, uh, it's a littlebitconfusingbecauseyouhavethisarrowthatpointsinthisdirectionhere, Um, andthat's becausetheelectricalengineerstendtoprefertothinkaboutcurrentflowingin a positivedirection.
Soin a dialledlikethis, eventhoughthearrowissortofpointinginthisdirection, theelectronsareflowinginthisdirection, andit's a littlebitconfusing, butthe, uh I guessthediscoverersofelectricitydidn't didn't knowaboutelectrons.
So I guessBenjaminFranklingotitwrong.
Youknowwhenwhenhewhenhewassayingthatthechargesflowfrompositivetonegative, butitactuallyturnsoutthatitdoesn't reallymake a differencewhichwaythecurrentisreallyflowing a CZlongasweuseoneconventionconsistentlyandsticktoit, whetherit's positiveornegativeornegativetopositive, becausethedirectionofcurrentflowdoesn't reallyaffectwhatthecurrentdoes.
So a lotofengineersprefertothinkofcurrentflowing, Um, justthiswayfrompositivetonegative, eventhough, really, theelectronsaregoingfromnegativetopositive.