Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:remotelab:ume:arancino [2019/10/01 18:39] salvatdien:iot-open:remotelab:ume:arancino [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ==== Introduction ==== ==== Introduction ====
  
-Its main goal is to provide a single-node testbed consisting of a next-generation “combo” board, a.k.a. Single-Board Computer (SBC) mainly focusing on smart environment monitoring scenarios. To this purpose, 1 node has been equipped and made available to students for practicing in these contexts. This node is a combo SBC which combines onto the same node a so-called “carrier board”, in this case an Arancino™ by smartme.IO, with an Arduino-like MCU (based on an ARM Cortex M0+ @48MHz) built-in, hosting a Raspberry Pi 3 Compute Module (CM3). In this section, we will focus on this Arancino node and its sensors/actuators.+Its main goal is to provide a single-node testbed consisting of a next-generation “combo” board, a.k.a. Single-Board Computer (SBC) mainly focusing on smart environment monitoring scenarios. To this purpose, 1 node has been equipped and made available to students for practicing in these contexts. This node is a combo SBC which combines onto the same node a so-called “carrier board”, in this casean Arancino(TM) by smartme.IO, with an Arduino-like MCU (based on an ARM Cortex M0+ @48MHz) built-in, hosting a Raspberry Pi 3 Compute Module (CM3). In this section, we will focus on this Arancino node and its sensors/actuators.
  
 ==== Prerequisites ==== ==== Prerequisites ====
Line 34: Line 34:
 The BME680 is a (combined) digital gas, humidity, pressure, and temperature sensor based on proven sensing principles. The BME680 is a (combined) digital gas, humidity, pressure, and temperature sensor based on proven sensing principles.
 The humidity sensor provides an extremely fast response time for fast context awareness applications and high overall accuracy over a wide temperature range. The pressure sensor is an absolute barometric pressure sensor with extremely high accuracy and resolution. The humidity sensor provides an extremely fast response time for fast context awareness applications and high overall accuracy over a wide temperature range. The pressure sensor is an absolute barometric pressure sensor with extremely high accuracy and resolution.
-The integrated temperature sensor has been optimized for lowest noise and highest resolution. Its output is used for temperature compensation of the pressure and humidity sensors and can also be used for estimation of the ambient temperature.+The integrated temperature sensor has been optimized for the lowest noise and highest resolution. Its output is used for temperature compensation of the pressure and humidity sensors and can also be used for estimation of the ambient temperature.
 The gas sensor within the BME680 can detect a broad range of gases to measure indoor air quality for personal well being. Gases that can be detected by the BME680 include Volatile Organic Compounds (VOC) from paints (such as formaldehyde), lacquers, paint strippers, cleaning supplies, furnishings, office equipment, glues, adhesives, and alcohol. The gas sensor within the BME680 can detect a broad range of gases to measure indoor air quality for personal well being. Gases that can be detected by the BME680 include Volatile Organic Compounds (VOC) from paints (such as formaldehyde), lacquers, paint strippers, cleaning supplies, furnishings, office equipment, glues, adhesives, and alcohol.
  
Line 58: Line 58:
 ==== Actuators ==== ==== Actuators ====
  
-There are no mechanical actuators or displays in this laboratory. The node is nevertheless equipped with three LEDs, including an MCU-controlled one. By default, i.e., after MCU reset (which may be triggered by quick double-click on the corresponding button) the aforementioned LED starts “breathing”, slowly. The “breathing” effect may be felt when LED turns on and off by fading in and fading out, respectively.+There are no mechanical actuators or displays in this laboratory. The node is nevertheless equipped with three LEDs, including an MCU-controlled one. By default, i.e., after MCU reset (which may be triggered by quick double-click on the corresponding button) the aforementioned LED starts “breathing”, slowly. The “breathing” effect may be felt when an LED turns on and off by fading in and fading out, respectively.
  
 ==== Power supply ==== ==== Power supply ====
 The node is powered by an external DC (5V) power supply over USB. The node is powered by an external DC (5V) power supply over USB.
-Software, libraries and externals+Software, librariesand externals
 The following libraries are required to run the example proposed below for the hands-on labs: The following libraries are required to run the example proposed below for the hands-on labs:
   * SPI   * SPI
Line 225: Line 225:
 === Step 2 === === Step 2 ===
  
-Functions definitions for: BME680 sensor initialization and settings configuration (bme680_begin()); sample(s) acquisition, and writing into MPU-visible Redis variables (bme680_read()); (diagnostic) LED blinking (blink_status()).+Functions definitions for: BME680 sensor initialization and settings configuration (''bme680_begin()''); sample(s) acquisition, and writing into MPU-visible Redis variables (''bme680_read()''); (diagnostic) LED blinking (''blink_status()'').
  
 <code c> <code c>
Line 274: Line 274:
 === Step 3 === === Step 3 ===
  
-Initialize the Redis structures (Arancino.begin()), initialize/setup the (e.g., I2C) communication logic (Wire.begin()) and sensor(s) (bme680_begin()), declare the LED pin as OUTPUT - we suggest to perform those steps within the setup() function:+Initialize the Redis structures (Arancino.begin()), initialize/setup the (e.g., I2C) communication logic (''Wire.begin()'') and sensor(s) (''bme680_begin()''), declare the LED pin as OUTPUT - we suggest to perform those steps within the setup() function:
  
 <code c> <code c>
Line 290: Line 290:
 === Step 4 === === Step 4 ===
  
-Implement loop() to do in the order: +Implement ''loop()'' to do in the order: 
   - perform the readings (see Step 2 for more details);    - perform the readings (see Step 2 for more details); 
   - blink the led (see Step 2 for more details).   - blink the led (see Step 2 for more details).
en/iot-open/remotelab/ume/arancino.1569955198.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0