imhereithink
New Member
Right now iv programed the PIC the program now doesnt work lol.
What i am trying to accomplish is the 16F74 reads in an analogue voltage on AD0, this voltage comes from a sample/hold device which is controlled by the PIC. So the PIC enables the sample/hold device to let data though by setting RB0 high, once high the data then enters AD0. This is then converted, this result is then placed from ADRES onto TXREG to transmit through the USART, then repeat.
Once i have this working i will then extend it to three analogue inputs. I have attached the circuit diagram and the .asm file.
Any pointers in the right direction would be greatly appreciated.
p.s. this is my first time with the 16f74![Roll Eyes :rolleyes: :rolleyes:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
What i am trying to accomplish is the 16F74 reads in an analogue voltage on AD0, this voltage comes from a sample/hold device which is controlled by the PIC. So the PIC enables the sample/hold device to let data though by setting RB0 high, once high the data then enters AD0. This is then converted, this result is then placed from ADRES onto TXREG to transmit through the USART, then repeat.
Once i have this working i will then extend it to three analogue inputs. I have attached the circuit diagram and the .asm file.
Any pointers in the right direction would be greatly appreciated.
p.s. this is my first time with the 16f74