Skip to content

Light control using Arduino Nano, L298N, PIR and light sensor

Notifications You must be signed in to change notification settings

bartha-adam/KitchenLight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KitchenLight

Motion detection based light control done with Arduino.

Components:

  • Arduino Nano
  • L298N
  • 50k potentiometer
  • PIR HC-SR501 motion sensor
  • BH1750FVI light intensity sensor
  • L298N Dual H-Bridge Motor Controller
  • 12V 3A Power supply
  • 2 and 3 pins screw connectors

Build instructions:

In order to build the code using Arduino IDE, install the BH1750 library by claws

https://github.com/claws/BH1750

See BH1750 github homepage for details.

PCB

PCB was designed with Fritzing Feel free to update/improve the PCB design or suggest improvements, but don't blame me, it's my first PCB design :)

Used blue pnp sheets to transfer the circuit and I think, the result was acceptable...

Circuit after heat-transfer PCB after etching Work in progress

About

Light control using Arduino Nano, L298N, PIR and light sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages