Libelium is offering new technical support channels, to contact with de Technical Support team to solve any issue our doubt please contact with your sales agent or visit our contact site



Post a new topicPost a reply Page 1 of 1   [ 4 posts ]
Author Message
 Post subject: Use TSL 2485 lux sensor on waspmote (I2C)
PostPosted: Mon Aug 20, 2018 8:03 am 

Joined: Fri Jun 22, 2018 10:11 am
Posts: 16
Hi there !

I recently bought a Waspmote and I would like to use the tsl 2485 lux sensor from adafruit (I2C connection).
I tried to used their example code for arduino but I got an error about the missing wire.h library.
Is there a way to do I2C with one of your waspmote library ? or to simply integrate the missing native arduino library to use their code (just add wire.h isn't sufficient, it required all the library of the native arduino I think) ?

Any clue or idea will be appreciated
Thanks a lot

AGirafe


Top
 Profile  
 
 Post subject: Re: Use TSL 2485 lux sensor on waspmote (I2C)
PostPosted: Mon Aug 20, 2018 8:34 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hi,

We have a similar sensor (TSL2561) Already integrated in Waspmote platform. Please take a look in the library (TSL2562.cpp and TSL2561.h files) to know how to manage I2C to read the sensor.

Regards.


Top
 Profile  
 
 Post subject: Re: Use TSL 2485 lux sensor on waspmote (I2C)
PostPosted: Mon Aug 20, 2018 9:05 am 

Joined: Fri Jun 22, 2018 10:11 am
Posts: 16
Thank's I will try that !


Top
 Profile  
 
 Post subject: Re: Use TSL 2485 lux sensor on waspmote (I2C)
PostPosted: Mon Aug 20, 2018 2:37 pm 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
You're welcome!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 4 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use.