Skip to content

abkaya/II-Ambient-Intelligence-

Repository files navigation

II-Ambient-Intelligence-

General info

Openhab

-mqtt
Services toevoegen: in /etc/openhab2/services Mqtt.cfg # URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883 #.url=tcp://:1883 opehabmqtt.url=tcp://localhost:1883

Items toevoegen: /etc/openhab2/items
    Hier een .items file aanmaken
  Mqtt: 
  Number temperature "temp7 [%.1f]" mqtt="<[opehabmqtt:tempdash7:state:default]" }
  
    "}
Restart openhab na elke aanpassing om in te laden:
  pi@raspberrypi:~ $ sudo systemctl stop openhab
  pi@raspberrypi:~ $ sudo systemctl start openhab
  pi@raspberrypi:~ $ sudo systemctl enable openhab
  pi@raspberrypi:~ $ sudo systemctl status openhab

MEMS-sensor

-Raspberry Build en run: /home/pi/rpi-mems-sensor/test.c gcc -o tempProg test.c libmemssensor.a -l bcm2835 sudo ./tempProg

Project folders:

Nucleo-project

Dash7, USART, Interrupts and GPIO

airQuality-nucleo-l152-i2c-usart

Eclipse project for the air quality sensor. CCS811 Sensor peripheral data readouts, using an STM32L152 (I2C, USART)

Readouts are not yet interrupt based

output format:

CO2-data TVOC-data

airQ-plot

plotted with the adjusted python script : plotSerial.py --port /dev/ttyACM0 > /dev/null 2>&1 & disown

Python matplotlib usage from instructables.com/id/Plotting-real-time-data-from-Arduino-using-Python-/

CCS811 documentation github.com/sparkfunX/CCS811_Air_Quality_Breakout/tree/master/Documentation

informal setup i.imgur.com/Sd1VDdG.jpg

barometer

About

IoT: Low Power Embedded Communication - Low-Power Communication & Localization - Low-Power Embedded Programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published