Elixir/Phoenix projects for fukuoka.ex#11
- 1: examples_on_grovepi (copied from adkron/grovepi)
- 2: dht_sensor
- Print temparature and humidity values to IO when value was change on 3s
- DHT for Port D7
- Run by
$ MIX_ENV=prod iex -S mix
- Print temparature and humidity values to IO when value was change on 3s
- 3: home_weather_display_host
- Display temparature and humidity values to LCD when value was change on 3s
- DHT for Port D7
- LCD for I2C-1
- Run by
$ MIX_ENV=prod iex -S mix
- Display temparature and humidity values to LCD when value was change on 3s
- 4: home_weather_csv
- Write temparature and humidity values to CSV (
dhtdata.csv
) when value was change on 3s- DHT for Port D7
- LCD for I2C-1
- Run by
$ MIX_ENV=prod iex -S mix
- Write temparature and humidity values to CSV (
- 5: phx_chartjs
- Chart.js example on phoenix
- Run by
$ mix phx.server
- 6: phx_csvjs
- Display DHT value by Chart.js
- Run by
$ MIX_ENV=dev mix phx.server
- Also run
home_weather_csv/
on another terminal.
- Also run
- 7: home_weather_phx
- Display temparature/humidity and ultrasonic distance values on Phoenix Page!!
- DHT for Port D7
- Ultrasonic Ranger for Port D4
- LCD for I2C-1
- Set today's date to L150 of
lib/home_weather_phx_web/templates/page/index.html.eex
- Run by
$ MIX_ENV=dev mix phx.server
- Then, access to
http://<IP>:4000/
to show the DHT & distance value
- Display temparature/humidity and ultrasonic distance values on Phoenix Page!!
- GitHub repository
- Qiita article (in Japanese)
- T.B.A