You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Mike C 9f477b490f Add note about using Adafruit Trinket Pro 6 years ago
src Minor tweaks 6 years ago
Bill of Materials.ods Removed PIR from BoM as it's not working presently 6 years ago
LICENSE-APACHE-2.0.txt Initial project creation 6 years ago
LICENSE-CC-BY-SA-3.0.html Initial project creation 6 years ago
README.md Add note about using Adafruit Trinket Pro 6 years ago
Safe Lighting.fzz Updated Fritzing, exported Fritzing graphics, to do 6 years ago
Safe Lighting_bb.png Updated Fritzing, exported Fritzing graphics, to do 6 years ago
Safe Lighting_schem.png Updated Fritzing, exported Fritzing graphics, to do 6 years ago
TODO.md Added skeleton for PIR sensor; non-functional and omitting for the time being 6 years ago

README.md

Overview

This project is a basic lighting system that can be used with smaller SentrySafe products such as the X125 model.

The project uses Adafruit NeoPixels as a lighting source, Arduino for control, and has support for different sensors to check if the safe door is open. The build also is setup to allow the color of the NeoPixels to be changed, brightness to be changed as well as an "always on" switch.

Build

There is a Fritzing schematic of the project in the main folder (look for the fzz file) that outlines how all of the parts need to be put together.

There is a bill of materials (OpenOffice Calc format) in the main folder listing all parts that were used in the build.

IMPORTANT: To use the Adafruit Trinket Pro, you must setup a slightly different Arduino IDE as described here: https://learn.adafruit.com/adafruit-arduino-ide-setup/overview

Customization

The build can be customized in the following ways

  • Use an Adafruit Trinket Pro or Arduino Micro
  • Use a SparkFun LiPo fuel gauge to track battery level and flash the lights when the battery reaches a critical level
  • Use a magnetic door sensor or PIR distance sensor to check if the safe door has been opened

Source Code Tweaks/Config

In the code you'll find the following variables which may need tweaking

  • SLEEP_INTERVAL : The amount of time (in miliseconds) that the device sleeps for between checks
  • ALERT_LEVEL : The battery level that generates an alert. This must be set between 1 and 32%, inclusive

Known Issues

Please see the TODO.md document for current, known issues.

Code License

All code is licensed under the Apache 2 License (http://www.apache.org/licenses/LICENSE-2.0) unless otherwise specified.

The following external libraries are included and may not be licensed under the Apache 2 License

Non-Code License

All non-code Assets, documentation, etc is licensed under the Creative Commons Attribution-ShareAlike 3.0 license (https://creativecommons.org/licenses/by-sa/3.0/us/)