Coder Social home page Coder Social logo

line-things-snippets's Introduction

line-things-snippets

Sample codes and snippets for LINE Things

LINE Things 向けのサンプルコードと、再利用できそうな作例を置いてあるリポジトリです。

LINE Things の活用例として、センサーの値を取得したり、デバイスをコントロールするコードを、LIFF アプリとハードウェア側のファームウェアがセットでおいてあります。

./LICENCE の範囲内で、ご自由にお使いください。

使い方

LIFF App - HTML and Javascript

/liff-app 以下に、LINE Things 向けの LIFF アプリのサンプルコードが置いてあります。

それぞれ以下のセンサーやデバイス向けの LIFF アプリとなっています。 それぞれの LIFF アプリに対応するファームウェアのコードが、このリポジトリには含まれています。

すべてのセンサーデバイスがすべてのハードウェア向けに実装されているわけではないので、以下に対応するファームウェア一覧を記載します。

  • liff-app/accelerometer
    • 加速度センサーの値を取得
    • 対応するファームウェア
      • microbit-mma8653
      • nrf52-mma8452
  • liff-app/display
    • LED ドットマトリックスディスプレイ向け
    • 対応するファームウェア
      • esp32-ledmatrix
  • liff-app/environmental-sensing
    • 温度・湿度・気圧など、環境センサーの値を取得
    • 対応するファームウェア
      • esp32-at30ts (温度のみ)
      • esp32-dht11 (温度・湿度)
      • esp32-s5851a (温度のみ)
      • nrf52-at30ts (温度のみ)
      • nrf52-dht11 (温度・湿度)
      • nrf52-bme280 (温度・湿度・気圧)
      • nrf52-bmp280 (温度・気圧)
      • nrf52-bmpdht (温度・湿度・気圧)
  • liff-app/pulseoximeter
    • パルスオキシメーターを利用して、脈拍と血中酸素濃度を取得
    • 対応するファームウェア
      • nrf52-max30100
  • liff-app/rc-car
    • BLE を利用して操作できるラジコン向け
    • 対応するファームウェア
      • nrf52-drv8830-4wd
  • liff-app/thermometer
    • 非接触赤外線放射温度センサー向け
    • 対応するファームウェア
      • nrf52-mlx90614

Firmware - Hardware codes

/nrf52, /esp32, /microbit, /tyble16 のディレクトリの下に、Arduino スケッチなどハードウェア側のコードが置いてあります。

それぞれ、以下のデバイスで動作させることを対象としています。(一部例外があります)

殆どが、Arduino 環境向けに書かれています。 必要なライブラリや手順があれば、それぞれの README やインラインコメントで説明しています。

line-things-snippets's People

Contributors

hktechn0 avatar

Stargazers

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