iot-api-sample

module
v0.0.0-...-786483b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2017 License: MIT

README

IoT API Sample

概要

Outline of this system

これは、以下の特徴をもったシステムのモック実装です。

  • Arduinoに接続したセンサーをGobotライブラリを用いて読み取る
  • gin-gonicライブラリを用いたREST APIサービスを作る
  • センサー読み取り値をREST APIで公開する(JSON over HTTP)

Qiitaの「Gobotの招きにあひて、徒然なるままにArduinoとRaspberry PiでIoTっぽいことをやってみるなり」という記事との連動リポジトリとなっております。

各ディレクトリの説明

  • api
    • gin-gonicを使ったAPIサービスのサンプル
  • sample-files
    • sensor-apiに関連したJSONデータのサンプル
  • sensor
    • gobotを使ってArduinoのセンサー値を読み取るサンプル
  • sensor-api
    • gobotでのセンサー読み取り値を、gin-gonicのAPIサービスと組み合わせたサンプル
  • temp-sensor
    • ArduinoのA0に温度センサーLM35DZをつけて温度を読み取るサンプル

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL