Hi everyone,
anyone here tried to create a PID controller based on a PIC16f877 (or any other PIC) using ASM? I'm currently planning to use simple hysterisis control, but would like to switch to PID later on. The thing that worries me is handling floats and bigger numbers using 8bits.
Perhaps I should just switch to a 16bit uC and C programming instead to save some time? the only issue with that would be having to re-write the whole interface code, as the PID is pretty much the only thing that I have to add.
Would appreciate any feedback.
Regards,
dsc.
anyone here tried to create a PID controller based on a PIC16f877 (or any other PIC) using ASM? I'm currently planning to use simple hysterisis control, but would like to switch to PID later on. The thing that worries me is handling floats and bigger numbers using 8bits.
Perhaps I should just switch to a 16bit uC and C programming instead to save some time? the only issue with that would be having to re-write the whole interface code, as the PID is pretty much the only thing that I have to add.
Would appreciate any feedback.
Regards,
dsc.