Emile666 / stc1000_stm8

STC1000p for the STM8 microcontroller (HW version WR-032)
GNU General Public License v3.0
45 stars 10 forks source link

Feature request: Communication protocol #4

Closed Highcooley closed 6 years ago

Highcooley commented 6 years ago

Could you please implement a communication protocol like Mats did on the pic version to read/write temperature as well as settings with an external controller? I plan to attach an IoT controller for remote control purposes, logging as well as having a graphical UI.

Emile666 commented 6 years ago

This is difficult to do for two reasons: 1) Hardware. The stock microcontroller has an UART connected to PD5 (UART1_TX) and PD6 (UART1_RX). Both pins are currently in use. If you give up the buzzer (now connected to PD6) and the new PID/SSR feature, you could implement this. In my opinion, the PID/SSR functionality is more useful than UART communication. But still: you need a new frontpanel PCB and that's not what most people are willing to do for this project. 2) Software. We only have 8K and pretty much everything is taken, since I already added most of Mats separate options in this firmware. UART communication with a command-interpreter is pretty substantial and would not fit in the remaining flash memory.

So: not feasible with the current hardware and software. But have a look at my other project: 'stc1000p on steroids'. That one has UART communications (and lots of other stuff).