phone line controller v1

Rasprava o PIC mikrokontrolerima, PIC projekti i drugo vezano za PIC-eve...

Moderators: pedja089, stojke369, [eDo], trax

Bluebirdiran
Posts: 14
Joined: 20-04-2010, 07:29

Re: phone line controller v1

Post by Bluebirdiran »

Hi Trax
Well, everything seems to be under control. I have done the setup too. It just remains to say a big thank you to you and appologize if I took too much of your time. Wishing you all the best.
I will probably try the V2 if I get the time later.
Bluebird
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: phone line controller v1

Post by trax »

No problem :-)

I am glad you like this project.
hurijaam
Posts: 1
Joined: 06-10-2010, 04:21

Re: phone line controller v1

Post by hurijaam »

What 3G Frequency Does T-Mobile Germany/Deutschland Use? I am curious because I wanted to know if it is possible to use a German iPhone 3gs with an American T-Mobile SIM Card.
affiliateelite
hijas12
Posts: 8
Joined: 18-02-2011, 20:32

Re: phone line controller v1

Post by hijas12 »

hi Trax,
I am very much interested in your project phone line controller v2. But unfortunately the PIC16F876A is not available in my city. but PIC16F876 is available. Is there any difference between between them? can i use 16F876 for this project? or any other options? plz help me.....
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: phone line controller v1

Post by trax »

hello,
there are small differences, and I think that you can NOT use that one. can't you find it on ebay?
hijas12
Posts: 8
Joined: 18-02-2011, 20:32

Re: phone line controller v1

Post by hijas12 »

hai......
i got that PIC.. :D Actually I am going to do this as my project. but for getting sanction i want the source code.
i tried my level best to write code for past few months. But I failed to write it. :cry:
sir, you are the only one right here to help me. I promise you, i will not publish it any where. I just only just want a similar one. Not the exact one. just to satisfy our project co-ordinator. plz do help me... :(
if you are willing, plz send code to my mail ID : hijas12@gmail.com" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
hijas12
Posts: 8
Joined: 18-02-2011, 20:32

Re: phone line controller v1

Post by hijas12 »

hijas12 wrote:hai.. Trax....
i got that PIC.. :D Actually I am going to do this as my project. but for getting sanction i want the source code.
i tried my level best to write code for past few months. But I failed to write it. :cry:
sir, you are the only one right here to help me. I promise you, i will not publish it any where. I just only just want a similar one. Not the exact one. just to satisfy our project co-ordinator. plz do help me... :(
if you are willing, plz send code to my mail ID : hijas12@gmail.com" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: phone line controller v1

Post by trax »

Do you know how to program in assembler? Do you understand something like this:

Code: Select all

;***** PrimiPass ******
; primi pass i provjeri ga
PrimiPass
		bsf		bPASSOK		; set pass-ok bit
		movlw	d'4'		; 4cifreni password
		movwf	TMP1		; 
		movlw	LOW(PW1)	; w=adresa prvog pass znaka
		movwf	FSR			; nastimaj pokazivac na njega
		CALL	CkIni		; moramo upaliti interrupt
		movlw	d'150'		; smanjimo trajanje interrupta povecanjem ovog registra
		movwf	CKERR1		; 
PrimiPass_1
		; ako nisu isti, resetuj bPASSOK
		CALL	GetDTMFtone	; cekaj i uzmi dtmf znak u W
		subwf	INDF, 0		; uporedi
		btfss	STATUS, Z	; do if not the same
		bcf		bPASSOK		; reci da pass nije ok, ali nastavljamo sa kupljenjem svih 4 znaka

		incf	FSR, 1		; slijedeci pass znak u RAM-u
		decfsz	TMP1, 1		; --, skip if zero
		GOTO	PrimiPass_1	; jos

		CALL	CkDeIni		; ugasimo interrupte, unio je neka 4 znaka
		RETURN				; vrati se...
hijas12
Posts: 8
Joined: 18-02-2011, 20:32

Re: phone line controller v1

Post by hijas12 »

hai... trax
i am now studying that... i can understand only simple programs.....
hijas12
Posts: 8
Joined: 18-02-2011, 20:32

Re: phone line controller v1

Post by hijas12 »

plz do help me sir...
buco-1
Napredujem
Napredujem
Posts: 105
Joined: 24-10-2010, 21:22

Re: phone line controller v1

Post by buco-1 »

Sorry i interrupt your discussion.
What you do not understand? Soeme rutine or soemething else.
Today's scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality.
- Nikola Tesla
hijas12
Posts: 8
Joined: 18-02-2011, 20:32

Re: phone line controller v1

Post by hijas12 »

hai....
Actually i am now studying about PIC and its program. I cant understand big programs.
I think that program is for checking the Password entered.
buco-1
Napredujem
Napredujem
Posts: 105
Joined: 24-10-2010, 21:22

Re: phone line controller v1

Post by buco-1 »

hijas12 wrote:I cant understand big programs.
Point is to understand structure of program. Soemething like flow diagram. Most of "big programs" solved problems useing call for subrutines structure. Same as one you got as in example. Example have not egsact subrutine called from partial rutine and we do not see main program but we can see point of calling and test for test pin number.
As mine upinion that coud be maded little bit simpliest but... that is no point of that discission.
hijas12 wrote:I think that program is for checking the Password entered.
Yes. That is wrote in comments beside program lines.
Today's scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality.
- Nikola Tesla
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: phone line controller v1

Post by trax »

@hijas12
if you don't understand programming in assembler, then there is no point of me sending you my source-code. it is not written in picbasic, or C, or pascal or any other programming language but assembler.
do you need to change something in the source code? did you make the device (I have .hex file available for you at the download section on the project page)?
hijas12
Posts: 8
Joined: 18-02-2011, 20:32

Re: phone line controller v1

Post by hijas12 »

hi trax,
i dont want to change the source code. i told u sir, it is just to satisfy my project co-ordinator.
i know some basics of programming in assembler. I can write simple programs like LED flashing etc..
I dont want to understand the source code. thats why I want only a similar code. I didnt started making it.. I want sanction. For that i hav to submit source code :( otherwise it will be waste... plz do help me sir. I hav no enough time. :(
hijas12
Posts: 8
Joined: 18-02-2011, 20:32

Re: phone line controller v1

Post by hijas12 »

hi trax,
i dont want to change the source code. i told u sir, it is just to satisfy my project co-ordinator.
i know some basics of programming in assembler. I can write simple programs like LED flashing etc..
I dont want to understand the source code. thats why I want only a similar code. I didnt started making it.. I want sanction. For that i hav to submit source code otherwise it will be waste... plz do help me sir. I hav no enough time. :cry: :cry: :cry:
Post Reply