Components and supplies
TSL2561 digital luminosity light sensor
Arduino MKR Fox 1200
HTU 1D
SparkFun Atmospheric Sensor Breakout - BME280
Apps and platforms
Sigfox
ThingSpeak API
Arduino Web Editor
Project description
Code
Comments
Only logged in users can leave comments
Anonymous user
6 years ago
I've problem on Thingspeak: This is an error on Math Analisys URL is incorrectly formed, or the requested feature is not supported in this version of ThingSpeak.
Anonymous user
7 years ago
Hi, I'm organising a student challenge for projects in IoT that can help save the planet on the occasion of Earth's Day, using SIGFOX technology. I really like your project, do you want to participate? Eunate - SIGFOX Universities Program Manager https://www.sigfox.com/en/news/sensing-earth-sigfoxs-2018-universities-challenge https://www.hackster.io/contests/sigfoxuniversities
Anonymous user
7 years ago
Great project! Got it going after a couple of hours! First I used BME280. Then I had a bad wire and it took me some time to find out why nothing was happening! I had to wrestle with Things Speak analysis (and not use Get data from a private channel and change React from what can be seen above). The biggest problem however, was that the board went in an unending sleep... I don´t know why! I had the problem fixed by including some extra function to controlRTC: LowPower.attachInterruptWakeup(RTC_ALARM_WAKEUP, alarmEvent0, CHANGE); in setup and then a function: void alarmEvent0() { alarm_source = 0; } I don´t really fully understand the code but it works, tanks to help from the forum! Now I am getting beautiful graphics.
Anonymous user
2 years ago
Hi! So after defines (ex#define STATUS_TSL_KO 4) write float alarm_source; (so it won't go undeclared) Then in void setup(), just before if (!SigFox.begin()) {........ include the line LowPower.attachInterruptWakeup(RTC_ALARM_WAKEUP, alarmEvent0, CHANGE); At the end of everything define the function voidalarmEvent0({ alarm_source = 0; } It will work; I think the only problem you had was the lack of declaring alarm_source. Let me know how it goes! Pedro
Anonymous user
2 years ago
hi pedro, I am getting the same problem with the original code, fox module don't want wake up from sleep but your suggestion to control RTC (your code) is missing something ''alarm_source was not declared in this scope''. can you please send me whole code? thank you !
wimdemaes
7 years ago
Can you explain more detailen how the matlab analysis ? Ik seems to work but in the graph I see the 'raw' data as well as the converted values, what gives a kind of trinangular graph.
Anonymous user
7 years ago
Great project! I've mod this for sending only the board temp, but after the first sending (success!) the board sleeps until I switch OFF/ON.
Anonymous user
8 years ago
Good stuff! What's the average power consumption for this project? Has the battery voltage drop taken into consideration?
facchinm
2 years ago
The average power consumption is slightly less than 1 mA @ 3V , considering the 10 seconds wakeup time every 15 minutes and the consumption of the I2C modules (which do not implement any power saving mode). By using two good alkaline AA batteries the outdoor life is nearly 6 months. The battery dropout has not been considered since the batteries are directly connected to the 3.3V rail and all the modules are rated with 1.5 - 1.8 V as minimum VDD.
Anonymous user
8 years ago
I'm quite new to this but when I verify the code using the online editor I get a util/delay.h error. Is this related to the libraries?
00alis
2 years ago
@pobbleshasnotoes Adafruit has published the updated library, so the sketch now works out of the box. Thanks for your report!
Anonymous user
2 years ago
Great news! Thanks @00alis and @facchinm for your help
facchinm
2 years ago
We are aware of the problem, on the java IDE you can update the HTU21D library manually, while on Create we are waiting for Adafruit to tag it so it is automatically included (see https://github.com/adafruit/Adafruit_HTU21DF_Library/issues/11 ). In the meantime, manually uploading the latest version of that library does the trick in Create too ;)
Arduino_Genuino
49 Followers
•75 Projects
18
14
Anonymous user
4 years ago
In MATLAB Analysis section , How to write the form for sending data?