User Activity

  • Posted a comment on discussion Open Discussion on Great Cow BASIC

    Stan, yes they can be very accurate. I believe for weather forcasts the relevant thing is the amount of change in the last 3 hours (falling slowly and all that stuff). As for altitude the accuracy is such that on a good day they can detect less than a metre change in height. I too got mine from RS, but loose (849-6187) the LPS22 is cheaper and easier to code (111-6455). I have attached a picture of it on my homemade board. David T, I made a few compromises to cut down on the RAM. I only used 16-bits...

  • Posted a comment on discussion Open Discussion on Great Cow BASIC

    I've managed to get a temperature reading out of a BMP280. I made a few assumptions about the signs of the calibration values (as mine seem almost the same as those in the datasheet). The value is stored in the variable TEMP as temperature*100.

  • Posted a comment on discussion Open Discussion on Great Cow BASIC

    I soldered up a BMP280 several months ago, but when I looked through the datasheet I just gave up. The amount of calculation required to get a pressure reading is a problem (has anybody solved it?) I've gone back to using LPS22 pressure sensors their drawback is that they are extremely difficult to hand solder (at least for me), but the pressure calculation is easy. For humidity I have found the Si7006 works as good as any other and comes with a filter (it is very easy to contaminate the sensor)...

  • Posted a comment on discussion Open Discussion on Great Cow BASIC

    No problem. It is going to take a week to wire it up what with all the charge pump capacitors. I still haven't worked out if the pin diagrams are above or below - pretty crucial.

  • Posted a comment on discussion Open Discussion on Great Cow BASIC

    I've just got some graphics LCD displays (displaytech 64128K) with ST7565R drivers (they were cheap). First problem I am having is very basic - are the pin diagram from above (viewing side) or below. Also is there any existing drivers that would be a starting point to trying to drive this display? I will trying the SPI interface rather than the parallel.

  • Posted a comment on discussion Help on Great Cow BASIC

    I also use MPLAB IPE to read the memory. It shows up in a small box at the bottom. There is sometimes a problem with newer chips that have "read protect" set by default. It's in the datasheet how to remove this protect. As Anobium says you then go to "file - export" to save the contents of memory.

  • Posted a comment on discussion Open Discussion on Great Cow BASIC

    Yes I've used it. I find it is easier to construct a lookup table giving the expected output value for every degree (or so). If smaller divisions are needed a linear interpolation is good enough. Direct calculation using 8-bit integers is going to be a bit of a challenge (and slow).

  • Posted a comment on discussion Compiler Problems on Great Cow BASIC

    It only requires 15us aquisition when reading the fixed Vref. During normal reading from a pin Taq will depend on the parameters listed in the datasheet (mainly impedance of the source voltage). Yes I have written my own ASM I was merely pointing out some of the issues I had noticed in the GCB generated code such as: the incorrect conversion clock setting (at least at 64MHz clock speed) ANCON not being set (maybe this does not matter, but it should). The fixed aquistion time which is too long for...

View All

Personal Data

Username:
uwidavid
Joined:
2009-07-30 18:38:05

Projects

  • No projects to display.

Skills

  • No skills entered.

Personal Tools