0

Sous Vide Program
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Sous Vide Program

by adafruit_support_bill on Sat Sep 10, 2016 6:18 am

I'm wondering if there has been any issue with the code that is posted on GitHub.

None that we are aware of. But recent changes in the Arduino IDE have broken other libraries, so if you see a problem, let us know.

I ask because I tried to upload the .io file onto my Arduino Uno and I kept getting an error message.

What is the error message?

Do I have to upload the libraries AND the code?

Yes. The library links are are here in the guide:
https://learn.adafruit.com/sous-vide-po ... -downloads

Libraries should be installed as described in this guide:
http://learn.adafruit.com/adafruit-all- ... nstall-use

adafruit_support_bill
 
Posts: 62312
Joined: Sat Feb 07, 2009 10:11 am

Re: Sous Vide Program

by gorgorybmus on Sat Sep 10, 2016 6:48 am

Thanks a lot.

gorgorybmus
 
Posts: 8
Joined: Sat Sep 10, 2016 2:07 am

Re: Sous Vide Program

by doxie on Mon Mar 20, 2017 4:41 pm

Hi there, is this thread still being looked at?

Anyhow, I'm running into the following error when compiling.

Is this because I'm running legacy versions of the libraries?

Help appreciated, thank you,

Kaitlyn

Arduino: 1.8.1 (Mac OS X), Board: "Arduino/Genuino Uno"

In file included from /Users/doxie/Documents/Arduino/sous-vide/Sous_Viduino/Sous_Viduino.ino:15:0:
/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0/PID_AutoTune_v0.h:3:0: warning: "LIBRARY_VERSION" redefined
#define LIBRARY_VERSION 0.0.1
^
In file included from /Users/doxie/Documents/Arduino/sous-vide/Sous_Viduino/Sous_Viduino.ino:14:0:
/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5/PID_v1.h:3:0: note: this is the location of the previous definition
#define LIBRARY_VERSION 1.1.1
^
/Users/doxie/Documents/Arduino/sous-vide/Sous_Viduino/Sous_Viduino.ino: In function 'void DoControl()':
Sous_Viduino:571: error: 'class DallasTemperature' has no member named 'isConversionAvailable'
if (sensors.isConversionAvailable(0))
^
exit status 1
'class DallasTemperature' has no member named 'isConversionAvailable'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


The verbose version is:

Arduino: 1.8.1 (Mac OS X), Board: "Arduino/Genuino Uno"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/doxie/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/doxie/Documents/Arduino/libraries -fqbn=arduino:avr:uno -ide-version=10801 -build-path /var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/doxie/Documents/Arduino/sous-vide/Sous_Viduino/Sous_Viduino.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/doxie/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/doxie/Documents/Arduino/libraries -fqbn=arduino:avr:uno -ide-version=10801 -build-path /var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/doxie/Documents/Arduino/sous-vide/Sous_Viduino/Sous_Viduino.ino
Using board 'uno' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/Users/doxie/Documents/Arduino/libraries/LCDShield/Adafruit_MCP23017.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/Users/doxie/Documents/Arduino/libraries/LCDShield/Adafruit_RGBLCDShield.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5/PID_v1.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0/PID_AutoTune_v0.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/Wire.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/utility/twi.c" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/Users/doxie/Documents/Arduino/libraries/OneWire-master/OneWire.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master/DallasTemperature.cpp" -o "/dev/null"
Generating function prototypes...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "-I/Users/doxie/Documents/Arduino/libraries/LCDShield" "-I/Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5" "-I/Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src" "-I/Users/doxie/Documents/Arduino/libraries/OneWire-master" "-I/Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM/src" "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp" -o "/var/folders/t2/jjtq2hsd55n4g6tnjvtxnvnm0000gn/T/arduino_build_17723/sketch/Sous_Viduino.ino.cpp.o"
/Users/doxie/Documents/Arduino/sous-vide/Sous_Viduino/Sous_Viduino.ino: In function 'void DoControl()':
Sous_Viduino:571: error: 'class DallasTemperature' has no member named 'isConversionAvailable'
if (sensors.isConversionAvailable(0))
^
Using library LCDShield in folder: /Users/doxie/Documents/Arduino/libraries/LCDShield (legacy)
Using library br3ttb-Arduino-PID-Library-5adeed5 at version 1.1.1 in folder: /Users/doxie/Documents/Arduino/libraries/br3ttb-Arduino-PID-Library-5adeed5
Using library PID_AutoTune_v0 in folder: /Users/doxie/Documents/Arduino/libraries/PID_AutoTune_v0 (legacy)
Using library Wire at version 1.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire
Using library OneWire-master at version 2.3.3 in folder: /Users/doxie/Documents/Arduino/libraries/OneWire-master
Using library Arduino-Temperature-Control-Library-master at version 3.7.7 in folder: /Users/doxie/Documents/Arduino/libraries/Arduino-Temperature-Control-Library-master
Using library EEPROM at version 2.0 in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM
exit status 1
'class DallasTemperature' has no member named 'isConversionAvailable'

doxie
 
Posts: 2
Joined: Thu Dec 26, 2013 2:08 am

Re: Sous Vide Program

by adafruit_support_bill on Mon Mar 20, 2017 7:16 pm

It looks like they have made some changes to the Dallas Temperature Library. They have replaced "IsConversionComplete()" with "IsConversionAvailable()".

adafruit_support_bill
 
Posts: 62312
Joined: Sat Feb 07, 2009 10:11 am

Re: Sous Vide Program

by doxie on Mon Mar 20, 2017 9:34 pm

Awesome, it's working now! Thanks!

doxie
 
Posts: 2
Joined: Thu Dec 26, 2013 2:08 am

Re: Sous Vide Program

by rucky on Mon Mar 20, 2017 9:37 pm

Hi, I'm learning from Bill Earl's code in the Sous Vide project.

About the interrupt handling, it seems to work just fine.
I confirm that if I flash or something every 1000th hit, I get 15 sec cycle, which agrees with the code comments that the interrupt will fire on the 15 ms. Yay!

But he sets up like this:
// Run timer2 interrupt every 15 ms
TCCR2A = 0;
TCCR2B = 1<<CS22 | 1<<CS21 | 1<<CS20;

//Timer2 Overflow Interrupt Enable
TIMSK2 |= 1<<TOIE2;

Doesn't the TCCR2B get 00000111, so this uses rising edge of an external signal on T1 to count?
Not a scaled version of the 16 MHz clock.
But I don't see any documentation that there's a signal driving T1.
What am I missing?
Thanks,
John R.

(from https://arduinodiy.wordpress.com/2012/0 ... nterrupts/)
Clock Select bit description
CS12 CS11 CS10 Description
0 0 0 No clock source (Timer/Counter stopped)
0 0 1 clki/o/1 (No prescaling)
0 1 0 clki/o/8 (From Prescaler)
0 1 1 clki/o/64 (From Prescaler)
1 0 0 clki/o/256 (From Prescaler)
1 0 1 clki/o/1024 (From Prescaler)
1 1 0 External clock source on T1 pin. Clock on falling edge
1 1 1 External clock source on T1 pin. Clock on rising edge

rucky
 
Posts: 2
Joined: Mon Mar 20, 2017 9:23 pm

Re: Sous Vide Program

by adafruit_support_bill on Tue Mar 21, 2017 9:48 am

The timers and their default settings are described here: http://playground.arduino.cc/Main/TimerPWMCheatsheet

adafruit_support_bill
 
Posts: 62312
Joined: Sat Feb 07, 2009 10:11 am

Re: Sous Vide Program

by rucky on Wed Mar 22, 2017 10:50 am

okay, thanks for the quick response.

What I was missing is that I was referring to the setup for the wrong timer.

We are using timer 2, and
http://www.atmel.com/images/Atmel-8271- ... mplete.pdf
page 156 is what I should have been looking at:

clock select bits
CS22,CS21,CS20
111 --> clk_T2S/1024 (From prescaler)

but I was looking at a table which comes from page 134, which is for a different timer, timer 1:
CS12,CS11,CS10
100 --> clk_T2S/1024 (From prescaler)
111 --> External clock source on T1 pin. Clock on rising edge.

Thanks again!

rucky
 
Posts: 2
Joined: Mon Mar 20, 2017 9:23 pm

Please be positive and constructive with your questions and comments.