Can anyone direct me to a SIMPLE tutorial to do this?
I have spent more than enough time on it with no actionable results and am pretty demotivated by this makerspace stuff.
I have the sensor working fine, but if you toss in a bunch of new additions to the firmware to get it into blynk for me straight off the bat, I can tell you it is gonna throw me for a loop.
Is their any solution that does not require me to alter ANY VARIABLE or function of my firmware?
Well then why is this advertised as plug and play?
If my particle published events have to be altered.
/***************************************************************************
This is a library for the BME280 humidity, temperature & pressure sensor
Designed specifically to work with the Adafruit BME280 Breakout
----> http://www.adafruit.com/products/2650
These sensors use I2C or SPI to communicate, 2 or 4 pins are required
to interface.
Adafruit invests time and resources providing this open source code,
please support Adafruit andopen-source hardware by purchasing products
from Adafruit!
Written by Limor Fried & Kevin Townsend for Adafruit Industries.
BSD license, all text above must be included in any redistribution
***************************************************************************/
#include <Wire.h>
#include <SPI.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
#define BME_SCK 13
#define BME_MISO 12
#define BME_MOSI 11
#define BME_CS 10
#define SEALEVELPRESSURE_HPA (1013.25)
Adafruit_BME280 bme; // I2C
//Adafruit_BME280 bme(BME_CS); // hardware SPI
//Adafruit_BME280 bme(BME_CS, BME_MOSI, BME_MISO, BME_SCK);
void setup() {
Serial.begin(9600);
Serial.println(F("BME280 test"));
if (!bme.begin()) {
Serial.println("Could not find a valid BME280 sensor, check wiring!");
while (1);
}
}
void loop() {
Serial.print("Temperature = ");
Serial.print(bme.readTemperature());
Serial.println(" *C");
Serial.print("Pressure = ");
Serial.print(bme.readPressure() / 100.0F);
Serial.println(" hPa");
Serial.print("Approx. Altitude = ");
Serial.print(bme.readAltitude(SEALEVELPRESSURE_HPA));
Serial.println(" m");
Serial.print("Humidity = ");
Serial.print(bme.readHumidity());
Serial.println(" %");
Serial.println();
delay(2000);
}
I would really love to see the ease of all these software libraries and apps, but I am not seeing it
First person to help without SNARK gets $20 in Bitcoin tipped to their wallet.
Cause that’s true for some projects. However hardware is very different. All of it has it’s own libraries, drivers, bugs and problems and every hardware works in different way. We are working on to make it even more easier.
I’m sure alot more than that eventually from someone with more money than sense, but no sadly he earned zero becsuse his reading comprehension is about equal.
I think the issue is your hardware.
buy yourself a NodeMCU variant of the ESP8266 and you won’t have these problems.
I’ve heard only bad things from people who have purchased Photon products.
And I just ordered a BME280 sensor and will be happy to share any info I gather along the way.
@Cloud I tried to use the Adafruit library with the BME280 sensor but had no luck. Somehow I had a timing problem which I gave up on. I switched to the CE_BME280.h library and it worked perfectly with their sample code example. I am using it to get environment variables back to my Blynk app. The simple code I am using can be seen here: http://pastebin.com/iK2R8Md6
There may be a few extra variables in the code which are not needed but you can delete them.
I think you are having problems getting this working because you are not explaining yourself very well. Prior to this comment where did you make reference to “visualize” and what does the term mean in plain English?
Have you looked through the details in the link provided by @Pavel? It is certainly something I would study if I had your problem.