Streetlight Project
This project uses a BJT to amplify an AC source before passing it through logic gates and regulating the voltage to allow it to power an LED representing a streetlight. A photoresistor senses ambient light and changes the amplification of the source voltage to either allow the light to come on if it was dark enough or make sure the light was off if it was bright enough.