i have been trying to get my arduino to send temperature information to a program called Artisan which plots roasting profiles. i initially set up my arduino to display the roaster temperature on 2 displays using MAX6675 k sensor modules. got that sketch to work, now i want to send the temperature data to Artisan to plot roast profiles. other people have done this, but i cannot replicate their success. Artisan allows you to use many different inputs and devices. for arduino, people either use a TC4 shield(which Artisan has a script for) Modbus, or a python script. one user was able to emulate the TC4 shield, but he used different max temperature modules and i have not been able to modify his sketch to make the MAX6675 chips work.
i was able to get my sketch to load and serial print to the serial monitor, but when i attempt communicate with Artisan i get a Modbus communication error. i made sure my COM and baud rate match everywhere. i do not know much about Modbus communication. i am attaching the TC4 emulator and my attempt at modifying it for the MAX6675 chips as well as the sketch for using the Modbus configuration.
TC4-Emulator.ino (1.93 KB)
TC4-Emulator2.ino (1.84 KB)
sketch_test.ino (2.28 KB)