Hello Lukas,
Great project! Really exciting.
I have trouble connection with MODBUS. I used the same setting as you, but keep having a modbus communication error. The exact error message in Artisan is:
Modbus error: readSingleRegister() Exeption response @line 28941
I have downgraded to the version of Artisan that you have probable used a year ago writing this manual to see if that fixes the issue (it doesn’t).
I have replaced the thermocouple readout with dummy data to make sure Arduino is actually sending data.
au16data[2] = ((uint16_t) 1452);
I have commented out the feedback interpretation on the Arduino end and have not included the slider for control and disabled the checkbox ‘control’. This to narrow down the search a bit.
//for(int i=1; i<=99; i++) {
// if(i<=au16data[4])
// digitalWrite(led, HIGH);
// else
// digitalWrite(led, LOW);
Artisan is set to the right serial settings and modbus slave 1 register 2 for the BT.
Issue seems similar to Brian von der Embse’s problem.
My thermocouple is K-type using a MAX6675 amplifier.
If you have time, would you mind giving me some suggestions for troubleshooting?
Thanks in advance,
Maarten