hotpoint95622
Well-known member
It all started when I came across a book on micro-controllers in Maplin called PIC in practice by D W Smith and is a simple project-based approach , the aim of the book is to teach you how to build control circuits using devices such as switches, keypads, analogue sensors and LED‘s, and so on. The PIC has timers and input, outputs. After a few weeks of working thought the book I hit on the idea of making my own washing machine control PCB using the 16F872 micro controller. I then started to work with some electronics books to teach myself how to use circuits to interface with the PIC (micro-controller) so that the outputs will work relay. PIC used 5V DC and relay use 12V DC and switch 240V AC to operate the machine components (pump, valves, motor) It has taken about 8 months to get to this point as I am total self taught and have made a lot of mistakes and found out the hard way.
So the program is complied in the software which comes with the PIC program board which connect to the office PC via the serial connection, the software converts the ASM file (assemble file) to the machine code which is then transferred to the chip (PIC).
The PIC is separated in to ports, which can be set up as an input or an output.
Porta 6bit = 6 input or output
Portb 8bit = 8 input or output
Portc 8bit = 8 input or output

So the program is complied in the software which comes with the PIC program board which connect to the office PC via the serial connection, the software converts the ASM file (assemble file) to the machine code which is then transferred to the chip (PIC).
The PIC is separated in to ports, which can be set up as an input or an output.
Porta 6bit = 6 input or output
Portb 8bit = 8 input or output
Portc 8bit = 8 input or output
