Search found 18 matches

by pravin727@gmail.com
24 Nov 2017 15:12
Forum: mikroC PRO for PIC General
Topic: Can we connect thermal printer to PIC16F877A
Replies: 7
Views: 2418

Re: Can we connect thermal printer to PIC16F877A

Hello, I tried to connect same printer with ardiuno but having same problem. both controller sending data properly to computer. I need to connect printer with Max 232 module? https://www.amazon.in/MAX3232-Serial-Converter-Connector-modules/dp/B00L7NGW9C/ref=pd_rhf_pe_p_img_2?_encoding=UTF8&psc=1&ref...
by pravin727@gmail.com
24 Nov 2017 05:26
Forum: mikroC PRO for PIC General
Topic: Can we connect thermal printer to PIC16F877A
Replies: 7
Views: 2418

Re: Can we connect thermal printer to PIC16F877A

Hello,
Thanks for your suggestion, I am using RS 232 to connect with printer.
I am able to print using Computer/Laptop but not with controller.


Thanks & Regards,
Pravin.
by pravin727@gmail.com
23 Nov 2017 17:49
Forum: mikroC PRO for PIC General
Topic: Can we connect thermal printer to PIC16F877A
Replies: 7
Views: 2418

Re: Can we connect thermal printer to PIC16F877A

Hello, I have attach PIN diagram of printer and command. I have created following code: --------------------------------------- void main() { ANSEL = 0; // Configure AN pins as digital ANSELH = 0; UART1_Init(9600); // Initialize UART module at 9600 bps Delay_ms(100); while(1) { // Wait for UART modu...
by pravin727@gmail.com
22 Nov 2017 20:01
Forum: mikroC PRO for PIC General
Topic: hex code send by uart !!!!!!
Replies: 3
Views: 1801

Re: hex code send by uart !!!!!!

Hello,

Can you share your printer configuration and code . I am also trying to interface thermal printer with PIC controller
by pravin727@gmail.com
22 Nov 2017 19:58
Forum: mikroC PRO for PIC General
Topic: Can we connect thermal printer to PIC16F877A
Replies: 7
Views: 2418

Can we connect thermal printer to PIC16F877A

Hello, I am trying to connect PIC16F877A with thermal printer i.e EPM2a3-lv new name is EPM203-lv. Can we connect this printer serially with PIC16f877a? I have done connection but printer not able to communicate with PIC. Same printer is communicating with PC/Laptop with serial communication. Let me...
by pravin727@gmail.com
02 Apr 2017 20:36
Forum: mikroC PRO for PIC Wish List
Topic: interfacing SIM800 and read sms
Replies: 1
Views: 3820

interfacing SIM800 and read sms

Hello, I AM able to receive sms and read also. I can read only message ending with '$'. if message received with out '$' then i am not able to read it and am not able to read next sms with my logic also. Cos i am reading message on index=1, so when ever message come's without '$' it occupies index=1...
by pravin727@gmail.com
11 Mar 2017 15:28
Forum: PIC PRO Compilers
Topic: SIM800 INTERFACING WITH 16F877
Replies: 1
Views: 4222

SIM800 INTERFACING WITH 16F877

Hello, I want to read sms but i am not able to received data to micro controller. My code is working with hyper terminal, but not with sim. Please help me. void sms_read(); void sms_send(); char output[75]; char buffer1[12]; sbit LCD_RS at RB0_bit; sbit LCD_EN at RB2_bit; sbit LCD_D4 at RB4_bit; sbi...
by pravin727@gmail.com
06 Mar 2017 18:44
Forum: PIC PRO Compilers
Topic: Interfacing sim800 with PIC16F877a Tx and Rx SMS
Replies: 2
Views: 9199

Re: Interfacing sim800 with PIC16F877a Tx and Rx SMS

Hello, My code is working with hyper terminal, but not with sim. Please help me. void sms_read(); void sms_send(); char output[75]; char buffer1[12]; sbit LCD_RS at RB0_bit; sbit LCD_EN at RB2_bit; sbit LCD_D4 at RB4_bit; sbit LCD_D5 at RB5_bit; sbit LCD_D6 at RB6_bit; sbit LCD_D7 at RB7_bit; sbit L...
by pravin727@gmail.com
26 Feb 2017 05:29
Forum: PIC PRO Compilers
Topic: Interfacing sim800 with PIC16F877a Tx and Rx SMS
Replies: 2
Views: 9199

Interfacing sim800 with PIC16F877a Tx and Rx SMS

Hello, I want to turn on led when sim800 received "LED On". I have successfully transmit AT commands. and i am able to read data from hyper terminal. But while parsing data it is not working properly. My pars_sms() function is not working as per my logic. Can you please help me to sort out this issu...
by pravin727@gmail.com
03 Feb 2017 18:53
Forum: mikroC PRO for PIC General
Topic: I am not able to Tx & Rx data.
Replies: 16
Views: 4913

Re: I am not able to Tx & Rx data.

hello,

Where should i have to check? i have tried all baud rates. still giving garbage values.
by pravin727@gmail.com
02 Feb 2017 17:46
Forum: mikroC PRO for PIC General
Topic: I am not able to Tx & Rx data.
Replies: 16
Views: 4913

Re: I am not able to Tx & Rx data.

Hello,

On my development board (hardware) it is KDS20 000 which is 20Mhz. So i am using 20Mhz in programing.

Thank You.
by pravin727@gmail.com
02 Feb 2017 16:06
Forum: mikroC PRO for PIC General
Topic: I am not able to Tx & Rx data.
Replies: 16
Views: 4913

Re: I am not able to Tx & Rx data.

Hello,

In image I have change code for testing different baud rate. As per image that time I was using 9600 baud rate.

Thank You.
by pravin727@gmail.com
02 Feb 2017 07:11
Forum: mikroC PRO for PIC General
Topic: I am not able to Tx & Rx data.
Replies: 16
Views: 4913

Re: I am not able to Tx & Rx data.

Hello Sir, I am able to Tx and Rx now. but i still getting garbage value. following is output after changes. Why garbage values are sending and receiving? I am sending 'a'(0x61) but it is receiving 'x'(0x58). Now i can use same code for SIM300 for Tx and Rx? I know instruction to be send to control ...
by pravin727@gmail.com
01 Feb 2017 16:01
Forum: mikroC PRO for PIC General
Topic: I am not able to Tx & Rx data.
Replies: 16
Views: 4913

Re: I am not able to Tx & Rx data.

Hello Sir, I have tested with connecting ground. and i have received following output if i select hex mode. but if i use ASCII it is showing garbage. But i am not able to transmit data from PC to PIC. I have checked voltage of with out RS232 and With RS 232 and i found following voltages. RS232 Tx p...
by pravin727@gmail.com
31 Jan 2017 17:01
Forum: mikroC PRO for PIC General
Topic: I am not able to Tx & Rx data.
Replies: 16
Views: 4913

Re: I am not able to Tx & Rx data.

I am using following USB to serial converter.

Go to advanced search