Giter Site home page Giter Site logo

3cky / tiny-hid-als Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 3.0 171 KB

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

License: GNU General Public License v3.0

C 75.41% C++ 9.35% Assembly 15.24%
hid light sensor usb arduino digispark

tiny-hid-als's Introduction

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.

tiny-hid-als's People

Contributors

3cky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.