My interest is detecting "Starlight"
Is it starlight as in you are pointing it at a star?
Are you looking for a variable star?
Is it one specific star at a time or a general average?
The light detector you want sounds quite simple.
Chances are you will need some type of PIN diode detector, a
transimpedance amplifier and a comparitor.
A PIN diode can be had as a very small photovoltaic cell for quite a low
price. For more money, you can get a better one.
A transimpedance amplifier sounds scary but it isn't really. More on this
a bit later.
The comparitor can be a slight misuse of an op-amp.
Go look up the LM324 or TL074 op-amp. Many quad op-amps all share the
same pin-out. If you use a socket, you can change your mind about the
op-amp by just plugging a different one in.
Lets imagine we are going cheap. You can improve it later.
Lets also say we use the TL074.
First we need some voltages like this:
V(+)
!
\
/ 100K
\
/
!
+------!+\ U1A
! ! ----- V1
\ --!-/ !
/ ! !
\ -------
/ 5K
!
+------!+\ U1B
! ! ----- V2
\ --!-/ !
/ ! !
\ -------
/ 100K
!
V(-)
Now the transimpedance section:
0.1uF
-----!!-----
! 100K !
+----/\/\/---+
! !
----+--!-\ U1C !
! ! -------+-- Bright
--- V1-!+/
^ D1
!
V2
Note: The photodiode D1 has a very small back bias on it. If D1 is one
that is intended for photoconductive use, you can ground the end of it
instead.
If light hits D1 "Bright" will go to a voltage greater than V1. The more
light the higher the voltage.
You may want to raise the 100K to 1Meg to get a higher gain.
Now the comparitor:
10K
Bright ---/\/\/---!+\
! ---- BuzEn
V(+) -----!-/
! !
\ !
/ !
100K \ !
/ !
! !
/ !
10K \<---
10T / This is a 10 turn pot.
\
!
V1
When "bright" goes above where you've set the pot, BuzEn goes positive.
Now we just need to drive the buzzer. A power MOSFET is likely to be all
you need here.