Skip to content

axelclark/whos_at_the_door

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Who's At The Door

A nerves project using an ultrasonic ranger to detect visitors or intruders

This project reads an ultrasonic ranger sensor and updates a RGB LCD display to greet a visitor with the total number of visitors. Press the button to arm the alarm. When an intruder arrives, the LED turns on, the RGB LCD display turns red, and the buzzer buzzes. Press the button again to reset the system.

On the GrovePi+ or GrovePi Zero, connect the following devices:

  • Button: Port A0
  • Buzzer: Port A1
  • LED: Port A2
  • Ultrasonic Ranger: Port D3
  • RGB LCD display: IC2-1 port

This project was created as a Nerves app. To start your Nerves app:

  • Change into the firmware directory cd firmware
  • export MIX_TARGET=my_target or prefix every command with export MIX_TARGET=my_target, Example: export MIX_TARGET=rpi3
  • Install dependencies with mix deps.get
  • Create firmware with mix firmware
  • Burn to an SD card with mix firmware.burn

About

A nerves/grovepi project using an ultrasonic ranger to detect visitors or intruders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published