Yes, or a chinese clone
I do have one more, I'll try using it
These are the results after changing my MAX485, the previous program still gives error E0.
Are these better reults since they are not filled with FFs?
Try with the modbusmaster code that gave you E3 before
I wonder what makes them to "stabilize"...
Is your rx/tx wiring tight and short???
It just stabilized over time. All wirings are tight and short. I'll try it with the previous code.
Do you think the values I am getting now are useful at all? Are these the actual values that the sensor is giving me?
Did you change the quantity of addresses to 0x02 on that last code??
I'm sorry , you mean in the ModbusMaster code?
No, did you change the code I posted yesterday?
No, I did not.
Ok, if you did response would have been echo.
You sent 1A 3 0 0 0 1
and in response you can see
1A 3 0 0 0 2.
Did you try with modbusmaster code?
Unfortunately that still gives me the same error
E0?
At the beginning you had E2, then it became E0 and E3...
Yep, E0. The program that you gave me, does it also read the holding registers?
It was just bare bones request for first holding register.
Slave 26(1A), holding register(03), start address 0h0l , quantity of registers 0h1l, CRC
Your request works, otherwise slave doesn't respond. But there is a problem with rx.
While running the code, if you touch/hold/move the wiring, does it change output?
Also if you added a termination resistor, take it out.
I havent added a termination resistor but I think the MAX 485 has one. (R7)
Do you think this might be causing issues?
Also, if I move the wiring, I get E2 error which confirms my wiring is solid.
To me it confirms that you lost connection completely.
True. I have ordered a Maxim MAX485 IC. Hopefully that works.
Unfortunately, error E0 still persists
On your last post it was E2. I have hard time to follow you with these error codes.
Difference between E0(orE3) and E2 is like day and night.
So you get constant E0 while touching/moving the wiring?