This is called the Photoelectric Effect

Imagine the surface of our digital detector is like the graph paper shown above. Each square can contain a certain amount of information - that is, receive a certain amount of incident light.
The more light that is received, the more electrical charge that is built up on that square. That charge is converted to a number so you computer might render the graph paper like what is shown below:

Once we have numbers to represent the light that hit the detector we can reconstruct a picture on the computer screen from the brightness values, as we see on the left. On this scale, 0 is completely black while 255 is completely white.

Note that because the light sensitive elements are so small, we usually don't see the individual picture elements ("pixels"). Reduced in size, we see what this star looks like at the usual level of detail. Individual pixels can't be seen by the eye at this scale, but they're there.
And Voila, we have Digital Imaging:
To do this we will use the CCD simulator JAVA applet. A snapshot
of this is shown below
The features of this applet are:
to
make an intial box, place the cursor on the gray background
and use the left mouse button to draw a square. Then change
the size of the square to 20x20.
The mean counts in the green box are 2260, those counts include the background counts since the star sits on the background level of the detector which is determined by the brightness of the night sky at the time of the observation.
The mean background count is 1999.
So the actual brightness of the star is then 2260 - 1999 = 261 counts. You have to subtract the background to get the true brightness of the star on the detector
There are five cases below to do. Fill out your worksheet accordingly and hand them in to Rachel when your done. The "reference" stars referred to on the work sheet are Star A - in the upper right hand corner of the detector and Star B - the brightest star in the field near the right center of the detector. (These are also shown in yellow in the image above). On the applet simulation they will be labelled star 3 and star 1.
Record on your worksheet the values reported under the label "Mean" in the applet. The values in the green readout box refer to the values in the green box (which should be around a star), the values in the red readout box are for the red box, which should be placed on the background (i.e. no star should be in that box)
After you have completed this, we will have a discussion.
Use an exposure time of 20 seconds for each case, except case 1 where you use an exposure time of 80 seconds
In all five cases, the detector is "imaging" the same
field of stars so in each case there are 8 stars on the
detector. But not all detectors will detect 8 stars or even
Star A. All detectors will record star B.
You should think about what aspects of the various virtual
observations are precluding detection of the fainter stars
as you can also learn, increasing the exposure time still
won't cause star A to be detected in most cases.
Case 1 (80 seconds exposure)
Case 2 (20 seconds exposure)
Case 3 (20 seconds exposure)
Case 4 (20 seconds exposure)
Case 5 (20 seconds exposure)