BME280 Sensor and Ableton Max4Live

Greetings folks,
I'm yet another newbie who's dived into the wonderful world of Arduino.

I'm working on a project where I would like to use realtime weather readings from the BME280 sensor (Adafruit) to affect certain MIDI parameters in Live using the Max4Live Connections kit.

I've already done a similar project using text files documenting weather observations, then splitting them into three categories of pressure, temp and humidity and wrapping them to MIDI numbers but I want to use the BME280 to do it in real time.

Does someone have some tips for getting started? The BME280 library in the Arduino IDE functions excellently but I'm at a loss as to the next step to get the data into Ableton. I may be missing something but as M4L requires Firmata, this seems to mean that I lose the BME280 functionality. This sentence has probably adequately revealed my ignorance on this matter! My ignorant assumption tells me that by having the sensor plugged into the digital inputs, I should be able to just tap into the sensor readings but obviously that doesn't work... :confused:

Any help would be greatly appreciated or pointers towards other places to ask this question.

Thanks very much!

I've already done a similar project using text files documenting weather observations, then splitting them into three categories of pressure, temp and humidity and

sending the data, in some format, somewhere.

but I want to use the BME280 to do it in real time.

Same data (just a different source), same format, same place? Seems trivial, really.

The BME280 library in the Arduino IDE functions excellently

Really trivial.

I may be missing something but as M4L requires Firmata

Oh. Well, then you'll simply need to port the BME280 library to Ableton, so that it can diddle the appropriate pins at the appropriate times.

Or use some PC app that doesn't expect a lobotomized Arduino on the other end.

Great, thanks. Why all the "trivials"? I was attempting to provide enough information to explain my project in layman's (i.e. mine) terms.

Why all the "trivials"?

Because if you can send data from one source to one destination in some format, changing the source is simple.

The process of sending the data doesn't care if the data came from a text file, a sensor, or three calls to random().

I was attempting to provide enough information to explain my project in layman's (i.e. mine) terms.

You did OK at that.

Cool. Thanks, PaulS. I assumed that's what you meant but wanted to clarify. I probably don't have time with this project's deadline to figure out this basic concept. Too basic for me at the moment, it seems! I think I'll start with making a pretty LED go on and off, then build up from there when I'm not under such time constraints.

Thanks.