Skip to content

USB HID Ambient Light Sensor (ALS) implementation using Digispark Attiny85-based microcontroller development board

License

Notifications You must be signed in to change notification settings

3cky/tiny-hid-als

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-hid-als

This project contains open-source firmware for an USB HID Ambient Light Sensor (ALS) implementation using Digispark Attiny85-based microcontroller development board and BH1750FVI I2C light sensor module.

Schematic

Digispark connected to BH1750

OS support

USB HID sensors framework is supported out of the box since Linux 3.7 and Windows 8.

Compiling and installing

First, please install PlatformIO open source ecosystem for IoT development compatible with Arduino code and its command line tools (Windows, MacOs and Linux). Also, you may need to install git in your system.

Note: with platformIO you don't need the Arduino IDE and install libraries, this will do it for you.

Clone the project:

git clone https://github.com/3cky/tiny-hid-als && cd tiny-hid-als

Compiling and installing:

pio run --target upload

Note: you need connect your Digispark after each compiling for upload the new firmware or reset it. More info here.

License

This project is distributed with GPL license, see LICENSE file for more informations.

About

USB HID Ambient Light Sensor (ALS) implementation using Digispark Attiny85-based microcontroller development board

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published