Dear All,
Greetings,fisrt of all i want to thank adminstrators and founders of this wonderfull website. you guys can't imagin how you are making difference. whatever you or any other blogs online that do the same thing. Thanks. anyhow i got avery simple problem in avery simple project, i don't know the reason. mayb because its my first time to use the 16th family. i usually use 18th.
i am trying to interface pic16f628a with seven segment display common cathod. my wiring is okay (i guess).. -segment is attatched to portb with series resistors 300 ohm, the program is supposed to display the number of high pulses enter PORTA.0, from 0~9 i write it in picbasic (proton). when i start the program it just display 0 as there is no high pulses enter porta.0, although i keep connect porta.0 to 5v and no respond. and onther issue; is uptill now 3 ics are damaged. don't know the reason. the connection are okay . Vss to gnd, vdd to 4.5v, mclr to 4.5v, crystal is 4mhz in the osc1,osc2 pins and 10kpulldown resistor on porta.0 and the rest are the button and the 7segment. so any help? is there any addiotional intialization i should do before i start the program.
Many Thanks For Your Attention.
And greetings to Nigel
Greetings,fisrt of all i want to thank adminstrators and founders of this wonderfull website. you guys can't imagin how you are making difference. whatever you or any other blogs online that do the same thing. Thanks. anyhow i got avery simple problem in avery simple project, i don't know the reason. mayb because its my first time to use the 16th family. i usually use 18th.
i am trying to interface pic16f628a with seven segment display common cathod. my wiring is okay (i guess).. -segment is attatched to portb with series resistors 300 ohm, the program is supposed to display the number of high pulses enter PORTA.0, from 0~9 i write it in picbasic (proton). when i start the program it just display 0 as there is no high pulses enter porta.0, although i keep connect porta.0 to 5v and no respond. and onther issue; is uptill now 3 ics are damaged. don't know the reason. the connection are okay . Vss to gnd, vdd to 4.5v, mclr to 4.5v, crystal is 4mhz in the osc1,osc2 pins and 10kpulldown resistor on porta.0 and the rest are the button and the 7segment. so any help? is there any addiotional intialization i should do before i start the program.
Many Thanks For Your Attention.
And greetings to Nigel