EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies /    Dear Sir,      I have

   Dear Sir,      I have

|

Microcontroller › PIC › RECEIVER PROBLEM IN UART ›    Dear Sir,      I have

February 22, 2014 at 1:59 pm #11083
Dhananjaya
Participant

 

 

 Dear Sir, 

 

    I have sending SMS through this i.e GSM SIM300 with PIC16F877A microcontroller I  have tested the code  for GSM SIM response like OK it will display on LCD i have written code like this

 

 

unsigned char i;

char buffer[25];

 

 

i=0;

while(!RCIF)

bufer[i++]=RCREG;

buffer=’’;

for(i=0;buffer!=’’;i++)

{

 

  lcd_goto(0x00+i);

  lcd_write(buffer);

}

 

in this case it will not entering for loop because codition is true for ‘’  for this i think it will not receiving any thing… and some times garbage value will display on LCD  what you have told GSM SIM data will give  a ASCII value so how to converting this ascii value into display in LCD is it possible and then how to comparing string for GSM Respose like OK….

 

otherwise please  give me a code for initialise the Receiving and Transmitting configuration bits for PIC16F877A Headder file..

RSS Recent Posts

  • Voltage comparator circuit verification April 10, 2026
  • Some opamp advice please April 10, 2026
  • Help with a coffee machine circuitboard April 10, 2026
  • Bot checks April 10, 2026
  • Assistance locating a 'trail' camera gadget, please ? April 10, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise