Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By solace

Thread: Artisan - Arduino UNO - MAX6675 - Linux: Errno 8

  1. #1
    Senior Member solace's Avatar
    Join Date
    Oct 2016
    Location
    Adelaide, SA
    Posts
    195

    Artisan - Arduino UNO - MAX6675 - Linux: Errno 8

    Gene Cafe Coffee Roaster $850 - Free Beans Free Freight
    I know there are some fellow code bashers amongst these pages so here goes...

    I am trying to move my software monitoring setup to Artisan. I have a Type K thermocouple connected to an Arduino UNO via MAX6675 breakout board. In Artisan I am simply reading temp data from std out coming from a python script using the serial interface.

    Currently I am getting something similar to the following error when engaging ‘On’ in Artisan:

    ”Exception in callProgram() [Errno 8]”

    I know the sketch is fine as I get temp output via the Serial Monitor in the Arduino IDE. My python script also works and prints temp readings when run manually.

    I have had a glance over the Artisan source but struggling to debug this error message.

    Before opening an issue request on GitHub I thought I would canvas if anyone else has had such issues?

    OS is Ubuntu 18.04 and Artisan version is 1.5

  2. #2
    Coffee Nut fg1972's Avatar
    Join Date
    Jan 2012
    Location
    Melbourne
    Posts
    461
    Anything in the syslog?

  3. #3
    Senior Member solace's Avatar
    Join Date
    Oct 2016
    Location
    Adelaide, SA
    Posts
    195
    Nothing of much use in syslog, it looks as though ModemManager was trying to take control of the device however have disabled that service and still the same result. Also added a udev rule thinking it was something funky going on with the device name but again the same result.

  4. #4
    Senior Member solace's Avatar
    Join Date
    Oct 2016
    Location
    Adelaide, SA
    Posts
    195
    Behmor Coffee Roaster
    UPDATE: I managed to get this working but not with my original sketch. I ended up using a TC4 sketch for RoastLogger that someone had modified to allow Artisan support. Effectively you fool Artisan into thinking the MAX 6675 is a TC4.
    Dimal likes this.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •