GithubHelp home page GithubHelp logo

aaronk6 / ambient-light-v2-bricklet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinkerforge/ambient-light-v2-bricklet

0.0 2.0 0.0 1.32 MB

Measures ambient light up to 64000lux

Home Page: http://www.tinkerforge.com/en/doc/Hardware/Bricklets/Ambient_Light_V2.html

CMake 1.81% Shell 2.00% C 26.60% Python 3.72% C# 3.78% Pascal 5.28% Java 4.68% HTML 10.14% JavaScript 4.31% Perl 3.59% PHP 3.82% Ruby 3.04% MATLAB 7.47% Mathematica 7.40% Makefile 0.35% Rust 4.61% Go 3.26% Visual Basic .NET 4.14%

ambient-light-v2-bricklet's Introduction

Ambient Light Bricklet 2.0

This repository contains the firmware source code and the hardware design files. The documentation generator configs can be found at https://github.com/Tinkerforge/generators

Repository Content

software/:
  • examples/: Examples for all supported languages
  • build/: Compiled files
  • src/: Source code of firmware
  • Makefile: Makefile to build project
hardware/:
  • Contains KiCad project files and additionally schematics as PDF
datasheets/:
  • Contains datasheets for sensors and complex ICs that are used

Hardware

The hardware is designed with the open source EDA Suite KiCad (http://www.kicad-pcb.org). Before you are able to open the files, you have to install the Tinkerforge kicad-libraries (https://github.com/Tinkerforge/kicad-libraries). You can either clone them directly in hardware/ or clone them in a separate folder and symlink them into hardware/ (ln -s kicad_path/kicad-libraries project_path/hardware). After that you can open the .pro file in hardware/ with KiCad and from there view and modify the schematics and the PCB layout.

Software

If you want to do your own Brick/Bricklet firmware development we highly recommend that you use our build environment setup script and read the tutorial (https://www.tinkerforge.com/en/doc/Tutorials/Tutorial_Build_Environment/Tutorial.html).

To compile the C code we recommend you to install the newest GNU Arm Embedded Toolchain (https://launchpad.net/gcc-arm-embedded/+download). You also need to install bricklib (https://github.com/Tinkerforge/bricklib) and brickletlib (https://github.com/Tinkerforge/brickletlib).

You can either clone it directly in software/src/ or clone it in a separate folder and symlink it into software/src/ (ln -s bricklib_path/bricklib project_path/software/src/ and ln -s brickletlib_path/brickletlib project_path/software/src/). Finally make sure to have CMake installed (http://www.cmake.org/cmake/resources/software.html).

After that you can build the firmware by invoking make in software/. The firmware (.bin) can then be found in software/build/ and uploaded with brickv (click button "Flashing" on start screen).

ambient-light-v2-bricklet's People

Contributors

aaronk6 avatar batti avatar borg42 avatar iia avatar lukeler avatar photron avatar rtrbt 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.