navigationGo.pngQuick Navigation
allprojects32.pngAll projects
hardware32.pngHardware
links32.pngLinks

favoriteStar32.pngTop projects
Alan numitron clock
Clapclap 2313/1386
SNES Pi Webserver
USB Volume/USB toys
Smokey amp
Laser cutter
WordClock
ardReveil v3
SNES Arcade cabinet
Game boy projects
cameleon
Home Presence Detector

github32.pngGitHub
AlanFromJapan

navigationMail.pngContact me

alanfjmail.png
3flags.pngWho's Alan?


Akizukidenshi
Elec-lab
Rand Nerd Tut
EEVblog
SpritesMods
Switch-science
Sparkfun
Suzusho
Datasheet Lib
Reddit Elec
Ermicro
Carnet du maker (fr)
Marutsu
ATmel blog (defunct)

Arduino and a photocell

kalshagar - Arduino and a photocell

Things to know

  • This is also called a CdS photocell (Cadmium Sulfide)
  • Don't forget that d*mned pull down resistor (depending on your schema)! And don't be cheap, go for the 10 kOhm !

Using the wavelength response as a cheap color sensor

The CdS varies its resistance according the amount of light received, but also according the wavelength. You can turn that to a poor man color sensor!
See the sample project here :

CdS without a CdS


Pictures / Schema

09088-02-L_i_ma.jpg
Photocell.jpg
And don't forget that ####### pull down ! (schema and photo are courstesy of Sparkfun)

Links

Shopping

Tutorials

All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated)
electrogeek.cc ~ Formerly known as Kalshagar.wikispaces.com (AlanFromJapan [2009 - 2019])