New library for CubeCell and a BME680 sensor


if have uploaded a new library for the BME680 sensor.
The BME680 sensor now fully works with the CubeCell devices.



Great of you!

Did i see you upload a PCB wiring diagram of the Cube capsule interface to this forum?

It showed a partial PCB and if I am not hallucinating, I do not see that on the forum anymore?

Please confirm



Do you mein the adapter Pcb for the bme680 sensor?

Or the adapter for changing the pinout from dev board to capsule?

1 Like

I meant the adapter for changing the pinout from dev board to capsule

Thanks @rsmedia for the upload

I love what you and your guys are doing. I am based in Vancouver, BC Canada. We are still in the planning stages of developing a smart framing project and would be contacting you to discuss how we can collaborate

Thanks for your excellent contributions on this forum

If you like i can sent you the Design and Gerber files. But Keep in mind that is my work and we should be mentioned when using that Design.

1 Like

I did check out what you guys are doing on your website - the wsn website.
I believe based on what I have seen so far we could get you guys to handle any new sensors we may need for use in the smart farming aspect of our project. There are 3 modules - principles of proper non high tech farming. Module 2 using the appropriate sensors to replace some practices of traditional farming and the final module being making average non technical farmers into smart farmers

We are used to collaborations and have over the past 30 years plus always given credit to the originators of non in house designs or products. Frankly, we would love to leave the sensor hardware/software side to you

We will of course love to try certain things out for ourselves based on your design. Let me talk to my other project engineers first and will get back to you on that generous offer.

BTW do you have any idea of when these guys are going to ship out the capsule versions? We ordered 2 dev boards and a sample each of the capsules and are still waiting to get our hands on any version?

Once again thanks @rsmedia for your contributions

we at would really like to help you, just get in contact next week and we will see how we can work together.
We are developing software in c, c++, c# and doing hardware design for over 10 years now.
We started in the event technic area developing anything related to professional show/event control and lighting. Dont having so much work in this area anymore we searched for a new challange and found it in the lorawan sector.

the agriculture/farming sector is new to us, we have been working with normal environmental sensoring and parkspace control. But we love to have new challenges.

i have got my first capsule 2-3 weeks ago and my dev board a week ago.
i have than bought 4 capsules directly from heltec and they arrived this week, shipping took nearly 2 weeks. I think a normal time from china to germany.


I do agree that the smart farming/agric market segment is still “closed” and controlled by a few companies like Libelium. A very significant amount of my time was spent in the M2M environment and based on my experirnce with Lora/Lorawan I would say you are making the right move. You should spend some time looking at Libelium - alternative sensors that does what theirs do BUT cheaper!

Luckily for you, you live in Europe: This is a big open secret. The EU funds a whole slew of projects yearly and continuously. Google for the EU funded smart farming / agric projects and review what you can find about sensors etc relevant to agric or farming. You should be able to find ides re sensors for smart farming - which by the way has a bigger market in Europe. Check Horizon 2020 etc for ideas Check for things like leaf wetness sensors, rain sensors etc. Let me know if you still need pointers to the EU arena



@rsmedia, considering the extreme hustle one has to go through to get a CubeCell capsule to work, I think I will take you up on your earlier offer

Could I get access to your Gerber files etc to test out the kind of packaging we are going to end up with? I also hope that we can get you to build sensors for our project.

While on this topic, do you have one of these boards built already? Would love to see a pic, if available. How much would you sell this adapter if you were to decide to do that?



I Only have self etched Prototype here.
I have ordered professional build pcbs hope they arrive next week. When this pcbs are ok i will order more. Now the pcbs are all not rohs compliant so i cant sell them. The next order is rohs compliant so i can sell them.

If you pay for postage i can send you one of the not rohs compliant ready soldered when they arrive.

I will send you the Gerber files for that pcb in a private message.

@Gipsyblues Do you have any sensors to recommend for the following

  1. Leaf wetness sensors
  2. Rain Sensors
  3. Water leak sensors

Thank you

@BDM, apologies for the late reply. We were trying to sought out some kinks in the project we are on now. I am assuming that you are seaking of sensors for the development board

I am going to need a few more days to get you some answers for the sensors your are looking for.
As you are aware sensors come in at all levels of pricing and application and it will help if you classify what you are looking to do with these sensors. In a commercial farming application or non commercial

For the meantime to get a better understanding of why I am asking these questions, please take a look at this website. Libelium have been pioneers in IoT
Sample Agric Operations and Sensors Used in those arenas

Stay tuned


@Gipsyblues Thanks for your reply.

Am looking at the commercial sensors for agriculture. I don’t have any live project, but something may come in the future. Libelium sensors /boards are very expensive and we need an alternative for that.

@BDM if you can tell which kind of sensor you need or have a specific sensor in mind, just tell me.
we can make the sensor work with the CubeCell series.

1 Like

Thanks @rsmedia . Will get back to you soon…

@rsmedia, it appears something has changed somewhere

My dev board sample which used to work with earlier software version seems to hang. Please note, I have no sensor connected to the board. My loc is US915

9.12.19 19:48:48: Downloadind Firmware …
29.12.19 19:48:48: Downloading Firmware done
29.12.19 19:48:48: Flashing Firmware …
29.12.19 19:48:53: Initialising bootloader.
29.12.19 19:48:53: Silicon ID 0x256a11b5, revision 0.
29.12.19 19:48:53: Verifying rows.
29.12.19 19:48:53: Array 0: first row 34, last row 511.
29.12.19 19:48:53: Starting upload.
29.12.19 19:48:53: Uploading ( 10 / 100 )
29.12.19 19:48:55: Uploading ( 20 / 100 )
29.12.19 19:48:57: Uploading ( 30 / 100 )
29.12.19 19:48:59: Uploading ( 40 / 100 )
29.12.19 19:49:02: Uploading ( 50 / 100 )
29.12.19 19:49:04: Uploading ( 60 / 100 )
29.12.19 19:49:06: Uploading ( 70 / 100 )
29.12.19 19:49:09: Uploading ( 80 / 100 )
29.12.19 19:49:11: Uploading ( 90 / 100 )
29.12.19 19:49:13: Uploading ( 100 / 100 )
29.12.19 19:49:13: Checksum verifies OK.
29.12.19 19:49:13: Rebooting.
29.12.19 19:49:13: Total upload time 23.55s
29.12.19 19:49:13: Flashing Firmware done
29.12.19 19:49:13: CleanUp Starting
29.12.19 19:49:13: CleanUp done
29.12.19 19:49:22: Copyright @ 2019 Heltec Automation.All rights reserved.
29.12.19 19:49:22: 29.12.19 19:49:22: +ERROR: error input format
29.12.19 19:49:22: +OK
29.12.19 19:49:22: +DutyCycle=0
29.12.19 19:49:23: Sensor Port Scanning…
29.12.19 19:49:24: found BH1750
29.12.19 19:49:25: Found HDC1080
29.12.19 19:49:25: Found ADS1015
29.12.19 19:49:26: Found VL53L1X
29.12.19 19:49:26: Found CCS811
29.12.19 19:49:26: Found MPU9250
29.12.19 19:49:47: +ERROR: error input format
29.12.19 19:49:47: +OK
29.12.19 19:49:47: +DevEui=0000000000000000(For OTAA Mode)
29.12.19 19:49:47: +OK
29.12.19 19:49:47: +AppEui=0000000000000000(For OTAA Mode)
29.12.19 19:49:47: +OK
29.12.19 19:49:47: +AppKey=00000000000000000000000000000000(For OTAA Mode)
29.12.19 19:49:47: +OK
29.12.19 19:49:47: +DutyCycle=0
29.12.19 19:50:50: AT+DevEui=00A5151A240545EA
29.12.19 19:50:50: AT+AppEui=70B3D57ED0027527
29.12.19 19:50:50: AT+AppKey=99D22FAAD556D60FC3D552C74E5AA886
29.12.19 19:50:50: AT+DutyCycle=900000
29.12.19 19:50:50:
29.12.19 19:50:51: AT+RESET=1
29.12.19 19:50:51: +ERROR: error input format
29.12.19 19:50:51: +OK
29.12.19 19:50:51: +DevEui=00A5151A240545EA(For OTAA Mode)
29.12.19 19:50:51: +OK
29.12.19 19:50:51: +AppEui=70B3D57ED0027527(For OTAA Mode)
29.12.19 19:50:51: +OK
29.12.19 19:50:51: +AppKey=99D22FAAD556D60FC3D552C74E5AA886(For OTAA Mode)
29.12.19 19:50:51: +OK
29.12.19 19:50:51: +DutyCycle=900000
29.12.19 19:50:51: +OK
29.12.19 19:50:51: Copyright @ 2019 Heltec Automation.All rights reserved.
29.12.19 19:50:52: Sensor Port Scanning…
29.12.19 19:50:53: found BH1750
29.12.19 19:50:54: Found HDC1080
29.12.19 19:50:54: Found ADS1015
29.12.19 19:50:55: Found VL53L1X
29.12.19 19:50:55: Found CCS811
29.12.19 19:50:55: Found MPU9250




Can ypu test what happens with a sensor connected?
I am right now on my way home from berlin and will be home in about 4 hours