Giter Site home page Giter Site logo

darthaffe / remote-switch-bricklet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinkerforge/remote-switch-bricklet

0.0 1.0 0.0 1.19 MB

Controls remote mains switches

Home Page: https://www.tinkerforge.com/en/doc/Hardware/Bricklets/Remote_Switch.html

Shell 0.62% JavaScript 1.30% Ruby 1.00% Python 1.10% Perl 1.04% C 77.40% PHP 1.11% Java 1.44% Go 1.09% C# 1.11% MATLAB 2.09% Rust 1.29% Pascal 1.43% Mathematica 1.92% Makefile 0.32% HTML 2.93% CMake 1.65% Visual Basic .NET 1.16%

remote-switch-bricklet's Introduction

Remote Switch Bricklet

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.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).

remote-switch-bricklet's People

Contributors

batti avatar borg42 avatar iia avatar lukeler avatar photron avatar rtrbt avatar

Watchers

 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.