Skip to content

Take readings from a VL53L0X sensor and toggle a digital output if the detected distance ot less that a set value. Created for AutoLight

Notifications You must be signed in to change notification settings

meowmeowahr/VL53L0X_DigitalOut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoLight VL53L0X over DigitalOut

An alternate and simpler control system for AutoLight. Takes periodic readings from a VL53L0X sensor and outputs whether it is tripped to a Digital Pin. Recommended if you are running sensora over a long wire.

Setup

  • Install VSCode and the PlatformIO extension.

  • Configure target Arduino device in platformio.ini

    Example targets

    Board ID
    Arduino Nano (New Bootloader) nanoatmega328new
    Arduino Nano (Old Bootloader) nanoatmega328
    Arduino Pro Mini (Old Bootloader) nanoatmega328

    A full list ia available at https://docs.platformio.org/en/latest/boards/

  • Configure settings in config.h

About

Take readings from a VL53L0X sensor and toggle a digital output if the detected distance ot less that a set value. Created for AutoLight

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published