Thanks for ALL the answers!!! ⊠still, I find extremely hard to pull out some details from you
So, if I understand you right:
You have a PLC. (But itâs a secret what kind of⊠)
OH is not running on that, but somewhere elsewhere. (Itâs probably a secret too? )
There is one cable starting from the PLC >> running around your place and there are 5 Arduino boards attacked to that bus. (Or is it a star topoligy width 5 cable running in 5 direction?) ⊠this remains a mistery forewer.
I guess they are connected with these pins: RX0=30 + TX1=31 ?
and the sensors (which type and brand can not be ever reviled ) are attacked to those Ardu boards in a short distance.
Or i2c ? Well ⊠if you donât like sarcastic humour > you wonât ever answer to these question and weâll never know.
You donât really use any of the digital ports for switching things, only the analog pins to read the sensors. Right?
Yes, of course! But sometimes you have to change also the boot loader, or the EEPROM too, etc.
The sketch itself is just on top of those.
Iâve asked about those software in general. Can you share/upload the .ino file here?
You have a PLC. (But itâs a secret what kind of⊠)
No itâs no secret itâs Fatek PLC but it can be Siemens or whatever, it can be simply converter rs485 to ethernet for example ADA, btw in other post i share my all lader code, so where is the secret?
OH is not running on that, but somewhere elsewhere. (Itâs probably a secret too? )
If You read carefully, i write OH is connected to PLC by binding. PLC pass through all data from arduino to OH
There is one cable starting from the PLC >> running around your place and there are 5 Arduino boards attacked to that bus. (Or is it a star topoligy width 5 cable running in 5 direction?) ⊠this remains a mistery forewer.
Topology is not important, in my case is star.
I guess they are connected with these pins: RX0=30 + TX1=31 ?
Sorry, what pins?
and the sensors (which type and brand can not be ever reviled ) are attacked to those Ardu boards in a short distance.
No sensor was attacked :). Attached are BME 280, DS 18b20, HC SR-04
Or i2c ? Well ⊠if you donât like sarcastic humour > you wonât ever answer to these question and weâll never know.
What You mean I2C? Sensors or what?
You donât really use any of the digital ports for switching things, only the analog pins to read the sensors. Right?
You are totally wrong iâm using only digital pins.
You expect me to answer the questions you havenât asked.
Yes, of course! But sometimes you have to change also the boot loader, or the EEPROM too, etc.
Are you sure? Arduino memory, let the bootloader be the silence:)
Sorry donât have. I wrote it two years ago, it was simply sketch with modbus library. I donât keep .ino files coz often when library change you must modify sketch. You can find alot examples if you google it
How do you distinguish the 5 boards?
there is no magic its modbus.
Mysensors.org uses Arduinos & nrf24l01 radios to set up a gateway and custom sensor network. There is a binding floating around for mysensors & openHAB, it is not listed in openhab must be downloaded and manually installedâŠ