Having Coding issues for my DIY Reflow Oven

Chat about pick and place machines, reflow ovens, assembly techniques and other SMT tips & trix

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
thorhammer
 
Posts: 1
Joined: Mon Dec 30, 2013 3:52 pm

Having Coding issues for my DIY Reflow Oven

Post by thorhammer »

Hi everybody!
I am new to electronics and especially to Arduino... I thought the best way to get better
at both of these was to tackle a easy Arduino controlled Reflow Oven for a class project.
I purchased the MAX31855 breakout board and wired up the thermocouple... Using the
example code that adafruit generously put together, the whole thing worked great for reading
temperatures! We are learning about PID in my Instrumentation course and I thought it
would be cool to implement a Relay and Brett's cool PID library in conjunction with my
Thermocouple... Problem is... I cant verify/compile the code!
I keep getting a error "thermocouple was not declared in this scope"--

In reference to "input = thermocouple.readCelsius();"
nextRead += SENSOR_SAMPLING_TIME;
// Read current temperature
#ifdef USE_Adafruit_MAX31855
input = thermocouple.readCelsius();
#else
Anybody else run into this?
...I can post all and any code required to give a bigger picture...
Thanks to anyone who can help me!

User avatar
adafruit_support_bill
 
Posts: 88037
Joined: Sat Feb 07, 2009 10:11 am

Re: Having Coding issues for my DIY Reflow Oven

Post by adafruit_support_bill »

If you can post your complete code, we might be able to reproduce the problem.

Locked
Please be positive and constructive with your questions and comments.

Return to “SMT (Surface Mount Tech)”