Ok, was just a guess. According to datasheet it should be more accurate than BMP. Maybe some error in the used Library?
Type: Posts; User: sigi
Ok, was just a guess. According to datasheet it should be more accurate than BMP. Maybe some error in the used Library?
What height above sea level do you take the measuring? Could it be that you are approx (8x43=424m) above sea level and take QNH as reference?
I am not sure you understood the problem @dgranger found:
Your code has
display.begin(SSD1306_SWITCHCAPVCC, 0x3D); // initialize with the I2C addr 0x3D (for the 128x64)
But your display uses...
Seems it needs additional pins.
I use u8g2 / u8x2 never had a display that refuses to work with this lib.
(Or buy Adafruit-Products to match their lib ;-) )
P.S. I2C scanners can help debugging...
Yep, already done that. Works perfect for me. But i understand also that this hurts the Arduino "Easy going, it just works" philosophy
Reed switches in anemometers tend to bounce. You can debounce in software, but i prefer a simple Schmitt-Trigger. Then instead of fiddling around with Interrupts i also prefer to count frequency with...
Yes, as i mentioned in the first post: There is no hardware needed to test this issue ;-)
At least the startup and watchdog setup should work after new programming.
Since my station is still beta,...
Wow! Thanks! Fast with LTO seems to work. Also serial init is much faster. From between 300ms and 400ms to sub 100ms. But cannot fully test it for now. My lab is outdoors at 2250m ASL ;-) I also...
Removed streaming library for simpler test
#include <AM2321.h>
int led1 = 13;
AM2321 ac; //Uncomment to unblock
void setup()
{
Thanks for your efforts. The Link to the AM Library was in the first post and for "Streaming.h" i thought everybody uses this. My bad.. ;-) I striped the example code to the bare minimum to reproduce...
You need no sensor for testing this, just Teensy3.x
It seems USB startup is not only delayed, it is blocked. Tested up to 30s. On Arduino Mega this code still runs with AM2321 ac; active
Hi,
i run a weather station since several years. Suddenly the startup did not work anymore. The debugging infos in startup over serial do not come. After several hours of debugging i could find...
delivered to Switzerland 10th October... Unfortunately no time to test it...
Sorry for kidnapping this thread but i have another question about Teensy hardware failures:
If a defective teensy 3.0/3.1 is getting hot when plugged in USB and draws around 30mA without...
for rpm counting with reed anemometer i use https://www.pjrc.com/teensy/td_libs_FreqMeasure.html library. It must be properly debounced. But works ok...
Simply keep trying ;-)
Hi Koni,
did you try the teensy audio library? This seems to be much more flexible to represent fine thermals. http://www.pjrc.com/teensy/gui/?info=AudioOutputAnalog looks promising to me...
Hi,
switched today to 1.6.0 with 1.21-beta6 on OSX Yosemite. Actual project compile and runs with a few more warnings. (from libraries too)
What i observe with teensy 3.0: No matter which speed i...
Hi, any News on this board?