hrithik18k/night-light

This circuit employs a light-dependent resistor (LDR) and a transistor (Q1) to automatically turn on an LED in response to low ambient light levels.

Version
1.0.1
License
unset
Stars
0

package.json

{
  "name": "night-light",
  "version": "1.0.1",
  "description": "5 V LDR-controlled automatic night light with an NPN transistor LED switch",
  "main": "index.tsx",
  "keywords": [
    "tscircuit",
    "circuit",
    "pcb",
    "electronics"
  ],
  "scripts": {
    "dev": "tsci dev",
    "build": "tsci build",
    "snapshot": "tsci snapshot",
    "snapshot:update": "tsci snapshot --update",
    "start": "tsci dev",
    "typecheck": "tsc --noEmit"
  },
  "devDependencies": {
    "@types/react": "^19.2.18",
    "tscircuit": "^0.0.2280",
    "typescript": "^5.0.0"
  }
}