Skip to content

kemokemo/IoT-API-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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をつけて温度を読み取るサンプル

About

IoT: API service using gin-gonic library combination with Arduino sensor value controlled by gobot library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages