Hi S,Hi
My lack of input has not been due to inactivity, the BME280 is a real beast of a sensor to program. Certainly the most difficult one I've ever tried to code, the most difficult part is understanding the pretty horrendous equations. I've been doing my own research and also a bit of collaboration with ppl on the GCB forum.
The good news is that I've managed to get Temperature and Humidity working, there isn't enough flash on a 16f887 for Pressure, the numbers are on the big side. It is coded for SPI
I need to tidy up and comment the code, then I'll post it under a new thread. I'm not over bothered about Pressure, so it will have to wait a while, I'll try using a Mega328P because I have some.
The code highlights a number of things in Oshonsoft that don't work or don't work as expected, but there were workarounds.
Hi D,Hi C
I've gone quiet again ;-)
I'm also suffering from "Burn out" on this project so I need to do something else for a while.
I don't have access to the code on this PC, I'll post it later today. I'll give it a new Thread Name i.e. BME280 SPI
Hi S,Yes you are correct, I had a niggling bad feeling about this project and sure enough after a quick check I found a wire adrift, now humidity works but it's too low 11%
If I give it a "haw" the humidity goes up so the sensors working but not very accurately.
I think it might be SPI related becuase I get different calibration data from the same BME280 when using Oshonsoft or GCB
I'm talking big differences, but it only needs a slip of a few bits to completely change things.
Unfortunatly the Stretch_Clock doesn't work so tweaking isn't possible. Maybe a different SPI FOSC
Very strange though because the Data Analyser shows output data exactly as expected.
Anyway more research needed and I'm still burnt out, I just don't want to do it , yet!
Bottom line is I've not posted today as promised, I need to put in a few more comments, and today's discovery took the time away.
I'll still post it, as it will still help if you haven't done anything with the BME/BMP before. I'll do the extra comments first.
Hi,Sounds like a good idea to have a rest if you've got 'burn out' I sometimes feel like a terrier with a rag, that won't let go
Hi E,Hi,
Its easy to get stale on a niggling project, resulting in diminishing returns on your efforts.
I find the best cure is to switch to another project, that requires some physical effort for a couple of days.
E
Hi S,Hi E and C
I agree, I've been fixing my vehicle access restriction Post (Bollard). It's been laying the garage for months awaiting a time slot. It's the sink into the ground type so corrosion & gunk from water ingress often cause problems.
Nice board C, one advantage of SMD, shame about the tiny traces, I can hardly see them. I've just bought a Hot Air Rework Stations so I'll be doing some SMD experiments soon. Once I've sorted this B****dy280 sorry BME280 ;-)
Hi S,Well all this grief is not without benefit, I went back to Proton Basic and quickly solved my earlier problems. Just one biggy no sensor output, just a repeating pattern of 0,0,128 decimal.
I've posted on the Proton Forum to see if there's a solution.
If not I think I'll retire from this project, it's easier to learn how to make Arduino work with my peripherals.
C, although I'm not a beginner with pcb making, I'm always interested in anything that might improve my results
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?