@Cracked wrote:
Just wanted to bring your attention to a new fork of the firmware repository in GitHub.
http://www.github.com/TheBeansTalk/OsPID-Firmware
The main objective of this fork is to facilitate communication between the osPID and freely available coffee roasting software (RoastLogger). Currently only a bit of a hack to output to serial in a string format which can be understood by RoastLogger. A work in progress.
Hi,
I made some changes in the original roastlogger firmware to recognise ospid.
But your approach is better, as the dashboard remains unchanged.
Maybe my ino file could give some ligth to make the necessary changes to make ospid work fine with roastlogger.
If so, please let me know.
Thanks.
#include “Adafruit_MAX31855.h” // here i added the thermocouple (my board is custom made)
int thermoDO = 12;
int thermoCS = 11;
int thermoCLK = 13;
Adafruit_MAX31855 thermocouple(thermoCLK, thermoCS, thermoDO);
// here i made the changes needed to roastlogger understand the temperature measured by OSPID board
t1_cur = thermocouple.readCelsius();
t2_cur = (thermocouple.readCelsius();
// heater = roundOutput( heater );
if (heater >= 0 && heater <101) {
output1.Out( heater, 0 ); // update the power output on the SSR drive Ot1
// here the values added in roastlogger program are executed in the board
pinMode (3, OUTPUT);
analogWrite (3, (2.55 * heater));