Proximity and ambient light monitoring with FlightSense and IBM Watson

Document created by HAMDI Mustapha on Jan 24, 2018Last modified by HAMDI Mustapha on Feb 3, 2018
Version 3Show Document
  • View in full screen mode

The X-NUCLEO-6180XA1 expansion board features the VL6180X proximity, gesture and ALS sensor, based on ST's FlightSense™, Time-of-Flight technology. It is an evaluation board that provides an introduction to the proximity, ranging and light sensing capabilities of the VL6180X module,  this combination of sensing capabilities is useful for applications, including smartphones, for which the VL6180 was designed. The FlightSense technology and was the global electronics giant LG uses for its smart phone G3 laser autofocus.  

This board can be useful beneficially for academic purpose when teaching Sensor nodes coupled to Cloud.  This Lab presents a typical demonstration about how to use the FlightSense as IoT Node connected to IBM quickstart and registred version for range  and light monitoring.

 

Required hardware: The VL6180X sheild coupled to Wifi with nucleo presents typical IoT node. 

Required Software:

  •  MBED ecosystem (for XNucleo6180XA1 and DWO1M1). 
  • IBM QuickStart and registred 

Please find attached the code (with Keil MDK) for IBM Quick-start motioning. 

For IBM registered, please see next tutorial to learn ho to connect and X-Nucleo based on IoT node :

Vibration monitoring using MEMS accelerometer and IBM Watson rules and actions - developerWorks Recipes 

 

 

 

PS: be careful about an eventual pins conflict between Wifi sheild and XNucleo6180XA1, the Satellites pins in the 6180XA1 can be ignored (changed) when using only light and range sensors to avoid any pins conflict. 

   

Mustapha HAMDI

Associate professor 

INSAT

1 person found this helpful

Outcomes