Things used in this project

Hardware components:
Photon new
Particle Photon
×1
Temperature probe
×1
2.5mm audio jack.
×1
Hand tools and fabrication machines:
09507 01
Soldering iron (generic)

Schematics

BBQ breadboard
bbq.fzz
BBQ schematic
Bbq bb

Code

Photon firmwareC/C++
Comile and upload via the web IDE for Photon devices.
// these values are for Maverick PR-003 probe, which works with devices Et-71/72/73/901
//float steinhart_a = 0.00024723753;
//float steinhart_b = 0.00023402251;
//float steinhart_c = 0.00000013879768;

//float c;
//float k;
//float f;
int boardLed = D7;
int therm = A0;
int therm2 = A1;
int resistance;
int resistance2;

void setup() {
    pinMode(boardLed,OUTPUT);
    pinMode(therm,INPUT); 
    pinMode(therm2,INPUT); 
    //Particle.variable("therm", &measure, INT);
    Particle.variable("resistance", &resistance, INT);
    Particle.variable("resistance2", &resistance2, INT);
    RGB.control(true);
    pinMode(D0, INPUT);
}

void loop() {
  int measure = 0;
  for (int x=0; x<8; x++) {
    measure += analogRead(therm);
    delay(10);
  }
  measure /= 8;
  //resistance = 150000;
  resistance = int(10000.0 / (4095.0/measure - 1.0));
  
  int measure2 = 0;
  for (int x=0; x<8; x++) {
    measure2 += analogRead(therm2);
    delay(10);
  }
  measure2 /= 8;
  //resistance = 150000;
  resistance2 = int(10000.0 / (4095.0/measure2 - 1.0));
  
  // Steinhart equations for calculating temp. 
  //float ln_resistance = ln(resistance);
  //k = 1/(steinhart_a+steinhart_b*ln_resistance+steinhart_c*(ln_resistance*ln_resistance*ln_resistance));
  //c = k-273.15;
  //f = c*1.8+32;
  //char f_char[6];
  char m_char[8];
  char r_char[8], r_char2[8];
  //sprintf(f_char,"%d", f);
  //sprintf(m_char,"%d", measure);
  sprintf(r_char,"%d", resistance);
  sprintf(r_char2,"%d", resistance2);
  //Particle.publish("therm",m_char);
  Particle.publish("resistance",r_char);  
  Particle.publish("resistance2",r_char2);
  //Particle.publish("temp",f_char);
  if (digitalRead(D0)) {
    digitalWrite(boardLed,HIGH);
    delay(500);
    digitalWrite(boardLed,LOW);
    delay(10000);
  }
}
BBQ Android App
Import into Android Studio and compile and upload to your phone. Requires usb-debugging to be enabled on your phone to upload.

Credits

Photo
Michael Hartman

ASIC/SoC Hardware Engineer by trade.

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Particle Photon Based Security System with Alerting
Intermediate
  • 1,251
  • 20

Full instructions

Be alerted to any door or window opening and closing in your house on your smart phone.

Happy Plant Notifier
Intermediate
  • 235
  • 4

Full instructions

Get a text or call if your plant is getting too dry, along with a nice LCD display giving information regarding your plant's health.

My Guardian for the Workshop
Intermediate
  • 144
  • 3

Full instructions

Device will send emails if the door or window has been opened, and will monitor the temperature and humidity of the place.

Smart and Safe Outdoor Plant Watering System
Intermediate
  • 2,423
  • 18

Monitors soil moisture and weather forecasts to give plants just the water they need. Safe garden hose hookup for season long watering.

Christmas Gift Box
Intermediate
  • 3,681
  • 595

Full instructions

Christmas Gift Box plays music and sends an email when it is opened.

Carbon Fiber Vacuum Chamber
Intermediate
  • 3,025
  • 94

Full instructions

Our project is a carbon fiber vacuum chamber that is monitored by multiple particle photons and various sensors.

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaFree StoreBlog