I see a lot of "!TSF" and "NACK" which seems to be radio communication problems.
That's MySensors related and can be related to many things, from soldering problem to power / capacitor issues.
In MY_DEBUG mode you should see your temp/hum printed on serial every ~15s so there is something wrong there, either wiring or a code issue.
Ty with the example included with the library "i2c_SI7021.h", without any MySensors related stuff, to see if your sensor is detected. You should see temp/hum on the serial.
Hello Tilman, this is really a very nice design. I have ordered a pack of PCBs from elecrow, based on your gerber files, and have a few questions:
in your BOM you have listed 5 smd-capacitors and 7 smd resistors, but on the PCB i have solderpads for 6 capacitors and 8 resistors. Can you just explain?
is there a uniflächentaster-model for 2 ways?
i think i have to flash the bootloader first, do you have a tutorial for this, and a sample-sketch for the board?
Thank you very much
@jocke4u I run 2 RF gateways and it's not a problem. When you 'migrate' a node to a new gateway make sure to run the mysensors clear eeprom sketch first to get rid of the old routing table or you might have issues.
@Olaf-Jacobs It's a straight analogue read on a single ADC pin relative to Vcc and ground of the Arduino Node.
In my case it's a pro-mini, the ADC pin in this example earlier defined as "Pressure", the result radioed in only if the ADC reading has changed. Three other binary inputs for contactors are polled every second on separate digital pins (one of which is pin 3), which uses all 4 pins available on this pro-mini due to the radio etc.
if ((!hidro&&!Hidro&&(counter2>=132))||initialise){
int incoming=analogRead(Pressure);
if (prevolume!=incoming){
prevolume=incoming;
sleep(50);
float tankvolume=(((incoming-102.3)*6.704199635)+0.5);//5psi sensor
send(msg8.set(tankvolume,0));//This is actual volume
sleep(100);
}}
I'm not clear on the rest of what you're trying to incorporate or what pin 3 (digital interrupt) has to do with it, the pressure sensor signal goes to an analogue pin to enable the voltage to be read.
@yveaux thank you for letting me know about this great project! The thread is also very useful.
I managed to find a relatively quiet range in channels.
Hi, sorry for the delay, I had just read your post and I could said "me too"
But I solved the problem and it works for two years now.
I explain my solution here, if the French don't afraid you.
https://easydomoticz.com/forum/viewtopic.php?f=20&t=6497
I resume, a 7.5volts power supply, a passive injector, and a spécial home-made cable to bypass the RJ45 socket. The 7.5 v go to Vin-Gnd of the Nano to produce 5v wich is returned to the W5100. QED.
Rpx.
@MiKa
Hi.
oki, in case i'll add some explanation.. I'll be busy for this week but you can simply use the serial gw example from MySensors for getting started, this should work. I didn't need to create a special board in arduino for this board, so if you're using it, you'll need to install&use the mattairtech SAMD21 board definition for the pin mapping.
https://github.com/mattairtech/ArduinoCore-samd