C++ Sensor Library
#1
In this thread provides information about library for working with sensors for the C ++ programming language.

SIMPLE TEST FILE FOR MY LITTLE LIBRARY:

#include <iostream>
#include <TSL2561.h>
#include <TSL2561.c>

using namespace std;

int main () {
       float cur_illum, low_bow_illum;

       cur_illum = tsl2561_getdata(TSL2561_TOTAL_LUX);

       cout << "CURRENT TOTAL LIGHTING (LUX): " << cur_illum << endl;
       cout << "CURRENT VISIBLE LIGHTNING (LUX): " << tsl2561_getdata(TSL2561_VISIBLE_LUX) << endl;
       cout << "CURRNET INFRARED LIGHTNING (LUX):" << tsl2561_getdata(TSL2561_INFRARED_LUX) << endl;

return 0;
}


Attached Files Thumbnail(s)
   
#2
Good evening. If someone will need a library PM me. If someone wants to help develop, I will be glad. PM me.
#3
Some additional info about library. I am still working. Alpha release have 2 sensors (TSL2561 and BME280).

(10-01-2016, 02:50 AM)Artyom Wrote: Some additional info about library. I am still working. Alpha release have 2 sensors (TSL2561 and BME280).
[Image: 46ac0266a87e1646edb58d2f8bb0f6ea.jpg][Image: eff5d37802251866be8a312e909e8916.jpg]

And additional photo. Test programm... [Image: c0d6693eec6516edc1ff3ea8dc804c7b.jpg]
#4
Hi again. Now you can test library. Download from here: https://github.com/blademoon/Sensus
#5
thanks mate ill give it a try, so i can test the sensors that i have Big Grin
By. Zoidiano0!
Installed:
LAMP: Linux , Apache2.4 , Mariadb, phpMyadmin, PHP5 
Java 8 arm by oracle
Netbeans 8.1
chromium (uses way toooo much Ram)

Pine64 Head Unit Project.!
#6
(10-01-2016, 07:54 AM)Zoidiano0 Wrote: thanks mate ill give it a try, so i can test the sensors that i have Big Grin

Do not forget to write to me like your sensor has been tested, okay?
#7
Hello. I publish a new version of the library for interfacing with sensors. This stable release.

Fixed the following issues:
- Exhaustion of descriptors.

The new version of the library can be downloaded here:
https://github.com/blademoon/Sensus

All tested and working properly.

Comments and suggestions please send me by email: blademoon@yandex.ru.

(10-22-2016, 02:32 AM)Artyom Wrote: Hello. I publish a new version of the library for interfacing with sensors. This stable release.

Fixed the following issues:
- Exhaustion of descriptors.

The new version of the library can be downloaded here:
https://github.com/blademoon/Sensus

All tested and working properly.

Comments and suggestions please send me by email: blademoon@yandex.ru.

Or leave comments and suggestions here)))
#8
Yesterday ordered a new sensor - TCS34725 RGB Color Sensor with IR Filter and White LED for Arduino UNO R3. For details on the sensor here: https://www.aliexpress.com/item/TCS34725...0.0.klUceD.

When the send and the time will add to the library two new sensors.


Forum Jump:


Users browsing this thread: 4 Guest(s)