Search found 22 matches

by yogesh
18 Nov 2019 11:55
Forum: mikroC PRO for PIC General
Topic: nano gps(org1411) not working
Replies: 1
Views: 844

nano gps(org1411) not working

hi recently i bought https://www.mikroe.com/nano-gps-click i thought it is simply receiver, but need to initialise by power on-off pin . i tried as per datasheet https://origingps.com/wp-content/uploads/2019/09/Nano-Hornet-ORG1411-Datasheet-Rev-4.3.pdf gettting some data on terminal.but look like ga...
by yogesh
11 Dec 2018 13:07
Forum: mikroC PRO for PIC General
Topic: GPS and GPRS interfacing
Replies: 2
Views: 993

GPS and GPRS interfacing

hi all,
i want to use GPS and GPRS at the same time in sim808 module, but i have doubt . it is possible to send the data on GPRS while GPS is on. please suggest me answer.
thanking you. :)
by yogesh
23 Oct 2018 09:39
Forum: mikroC PRO for PIC General
Topic: even parity setting in 9-bit transmission mode in 16f1824
Replies: 1
Views: 1001

Re: framming error in interfacing of RS485 modbus with PIC16

hi, i am interfacing rs485 with PIC16F1824, but there is no register setting for even/odd parity inPIC16F1824. for that i selected 9-bit data transmission mode, enable TX9 bit, calculate the parity using function , write TX9D bit and write further data in TXREG register. ###to calculate number of O...
by yogesh
19 Oct 2018 18:47
Forum: mikroC PRO for PIC General
Topic: even parity setting in 9-bit transmission mode in 16f1824
Replies: 1
Views: 1001

even parity setting in 9-bit transmission mode in 16f1824

hi, i am interfacing rs485 with PIC16F1824, but there is no register setting for even/odd parity inPIC16F1824. for that i selected 9-bit data transmission mode, enable TX9 bit, calculate the parity using function , write TX9D bit and write further data in TXREG register. ###to calculate number of On...
by yogesh
17 Sep 2018 13:36
Forum: mikroBasic PRO for PIC General
Topic: how to send array of HEX value using UART
Replies: 1
Views: 2116

how to send array of HEX value using UART

hi, i am interfacing RS485 with PIC controller for reading of energy meter. earlier i have done GPS and GSm interfacing, but now i have to implement protocol for rs485 modbus. for that i have to send array of hex value. like const unsigned char send_mtr[] = {0x01,0x03,0x00,0x64,0x00,0x08,0x05,0xd3};...
by yogesh
02 Oct 2017 19:15
Forum: mikroBasic PRO for PIC General
Topic: how to change array which already define in main program..
Replies: 1
Views: 1222

how to change array which already define in main program..

hi .. my objective is send the message whenever the door is opened to specified number which i already declared in program. like// char cntct[]="73505XXXXX" ; and used for sms sending .. void Num() { //UART1_Write_Text("AT+CMGS=\"+917350534654\"\r"); UART1_Write_Text("AT+CMGS=\"+91"); UART1_Write_Te...
by yogesh
26 Sep 2017 11:54
Forum: mikroBasic PRO for PIC General
Topic: hardware delay problem
Replies: 9
Views: 3053

Re: hardware delay problem

what else if i want delay of greater than 5 volt without engaging CPU. That's surely a mistake - did you mean delay longer than 5 seconds? In minute. suppose i want to check the input after a min when the program start and there is another task in mean while time . how to implement this logic witho...
by yogesh
25 Sep 2017 06:53
Forum: mikroBasic PRO for PIC General
Topic: hardware delay problem
Replies: 9
Views: 3053

Re: hardware delay problem

16F877A processor Then try T1CON=0x30; // prescaler 1:8, Fosc/4, timer off TMR1H=0x0B; // set count for 100ms TMR1L=0xDC; PIR1.TMR1IF=0; // clear interrupt flag PIE1.TMR1IE=1; // enable timer interrupt INTCON.PEIE=1; // enable interrupts INTCON.GIE=1; T1CON.TMR1ON=1; // start the timer i observed t...
by yogesh
22 Sep 2017 14:00
Forum: mikroBasic PRO for PIC General
Topic: hardware delay problem
Replies: 9
Views: 3053

Re: hardware delay problem

janni wrote:Which processor do you use?

BTW, you'd get more answers by posting in appropriate forum - this is mikroBASIC for PIC forum.
16F877A processor
by yogesh
21 Sep 2017 15:48
Forum: mikroBasic PRO for PIC General
Topic: hardware delay problem
Replies: 9
Views: 3053

Re: hardware delay problem

janni wrote:65536-((100ms * 20Mhz)/(8*4)) = 3036 = 0x0BDC
i make the change but still i am not getting the output.
by yogesh
21 Sep 2017 13:39
Forum: mikroBasic PRO for PIC General
Topic: hardware delay problem
Replies: 9
Views: 3053

hardware delay problem

hi, i want to simply blinking the led using hardware delay, for that i have written a code, but it is not working , i checked the output proteus oscilloscope but i am not getting output. unsigned char value=0; void Interrupt() { if(PIR1.TMR1IF==1) //check the timer overflow { value=~value; // innver...
by yogesh
17 Sep 2017 11:40
Forum: mikroBasic PRO for PIC General
Topic: passing string as a argument
Replies: 1
Views: 2129

passing string as a argument

hi, my task is read a incoming number from UART and compare with four contact which i have defined in code/read from sim card . for that i have to write a function. comparing the incoming number with saved number.i used this logic. void cmp_num() { for (i=0;rcvd[i]='\0;i++') { if(rcvd[i]=num[i]) //r...
by yogesh
08 Sep 2017 11:43
Forum: mikroC General
Topic: USART interrupt example
Replies: 23
Views: 73240

Re: USART interrupt example

/////////////////////////////////////////// //LCD decleration// #define LCD_DIR TRISD #define CTRL_DIR1 TRISB.F0 #define CTRL_DIR2 TRISB.F1 #define LCD_DIR TRISD #define LCD PORTD #define RS PORTB.F0 #define E PORTB.F1 #include"lcd.h" ////////////////////////////////////////////////////// #define S...
by yogesh
07 Sep 2017 19:19
Forum: mikroBasic PRO for PIC General
Topic: msg sending problem after comparing received string in sim80
Replies: 2
Views: 1652

Re: msg sending problem after comparing received string in s

hi, i have written a code for sim808 module to operate a relay whenever the received message is equal to specify msg. i checked on protues the relay is operated properly whenever the new msg equal to predefined msg,but as i inserted function for sending the msg after received string match the code ...
by yogesh
06 Sep 2017 12:20
Forum: User Projects
Topic: getting error in writing AT+CPBF="yogesh" and AT+CMGF="ALL"
Replies: 3
Views: 2962

Re: getting error in writing AT+CPBF="yogesh" and AT+CMGF="A

skyefaceconcept wrote:Please i have been trying to connect GSM Module with 8051 using MikroC but its fails please can anyone help me out?

hi
you should create new topic with your exact problem.

Go to advanced search