You need to look at the PIC16F877A data sheet page 51 which says that port D is a parallel Slave Port.
I think you need to disable the PSP.
Type: Posts; User: abidr; Keyword(s):
You need to look at the PIC16F877A data sheet page 51 which says that port D is a parallel Slave Port.
I think you need to disable the PSP.
I'd rather code the button to debounce something like below:
CHECK_PB:
IF PB = 0 THEN DEBOUNCE_PB
RETURN
DEBOUNCE_PB:
PAUSEUS 200
IF PB = 0 THEN...
If you look at elektor issues like Nov 2001, and dec 2001, you ll find a very good power supply around PIC and all sourcecodes included in Basic.
Ioannis:
I think what you have mentioned is not very difficult to achieve, but for that you ll need a bigger PIC like 16F877A and probably two ULN chips. I intend to make an input selector with a...
try using with the configuration bits as watchdog timer off and brown out detect off, power up timer on and oscillator as XT
Here is another approach, this is a pre amp and volume controller which uses PGA2310, an IR, switch to change input (a 4 input selectors) , PIC 16F876A, 16x2 LCD and rotary encoder.
Pre is complete,...
Here is my approach to control volume of any amplifier, i have used DS1802 a digital pot from Dallas Semi with buttons control. No need for a microcontroller. These are schematics and layouts of the...
Ok guys:
Code completed sucessfuly, just needed a few tweaks here and there, it has compiled sucessfully and burnt to 16F876A well, now its testing (which I ll do over the weekend).
Once completed...
Rojodu:
Thanks man for the help I think this code sample will be all that i need.
Here is my updated version of preamp I call it V1.3.
I guess this code will be enough.
Check_sel
If sel=0 then...
Attached is the PIC of populated Project PCB.
I have decided to put the button at RB6 and debounce it, so that it could change between inputs.
I have already posted the whole code along schematics....
Thanks dave heres is the code:
ACTIVATE_RELAY:
LOW MUTE ' Activate MUTE
select case RELAY
case 1 : PORTD =...
thanks "mackrackit"
link is not helpful.
Other part is that is VAR=0 then input is "IPOD" if input =2 etc.
My issue is how to define variable "an exmaple will be of great help" and how to shift...
Hi Guys:
I am quite new to PIC Programming and I thought it would be an excellent place to learn about it at this forum.
I have been working on this idea of developing a high end pre around PIC...