I do not have a SSR lying around but I have bunch of "no name / no marking" 25A 600V triac's that are perfect for the job, I used the MOC3043 (optocoupler with triak output and zero crossing detection) to separate the electronics from the AC going in to heat bed (I'm using 41VAC), the microchip PIC16F819 is used to drive the LCD, read NTC and work as I2C slave. NTC is connected with 10K resistor to maximize reading range between 20 and 180C. NTC used is same one from BFB hot end's (GT-204).
"firmware" is written in PICC C, it takes ~70% ROM and ~40% RAM so there's room for more functionality if needed. I2C slave address is 0xAB but it can be changed, first 2 addresses (0 and 1) are read/write and contain target temperature for the heat bed while second 2 (2 and 3) are read only and here you can read current temperature of the heat bed. To avoid float math, the temperature is stored as *100 value. When turned on - the controller reads last stored temperature from the EEPROM (locatio 0 and 1), when both key's are pressed the current target temperature is stored in EEPROM. You can both change the target temp via i2c or using key's (whatever happens last).
Source (PICC C file) is available here.
Source (PICC C file) is available here.
Hello! Can you please send me a working hex of this project. I'm very starter and i can't make hex from your picc c (mplab doesn't want it) Please help me. hezsai.daniel@gmail.com
ReplyDelete