Finally got back to working on the solar hot water home heating controller. I am using the Pic-EL as my test bed to work out the final solution to my friend's solar controller. Many months ago I finished assembling the Pic-El 3 and started learning MPASM the assembler for the PIC controllers. It has only been 30 years since I played in assembly language and then it was IBM Basic Assembler not any of the more recent microprocessors like the 6501 0r 6800. I missed that entire generation. So my first outing was to copy the LED flasher program from Peatman's "Design with PIC Microcontrollers." I got everything typed in and started looking for why I was seeing several assembler messages, warnings, and why it failed to assemble. After several hours of inspection spread over several months I finally have it assembled, and downloaded the code to the PIC-EL. The new task is to understand what is going on and how to use the banks and I/O pins for the controller. I have done a state diagram for what I think I want and will try coding it as soon as I better understand the PIC I/O, timer, and comparator structures.
Read more...


