Search Engine

73 Threads found on 16f877a Serial
Hi friends, i'm doing a circuit for communicating 2 pic's in master and slave mode. In this data from port B of master is transmitted in serial to the slave and output the data to port B of slave. but its not working. there is no response. I'm using pic 16f877a, 20MHZ xtal. please help here is the circuit 135046
Dear All, I'm trying to create a software UART for my 16f877a controller for interfacing serial bluetooth and gsm modem for a home automation purpose. But i got stuck in the first step itself. First i tried FORCE_SW function on the CCS C complier but it is not working properly. i mean, the data displayed on the terminal is full of junk. the c
I can't see anything on the development board that lets you use it to program the 16f877a, it looks like it can only be used for experimenting with software. The white connector on the right side might have "ICSP" (In Circuit serial Programming) written beside it, I can't see clearly, if it does, you might be able to plug a programmer into it. You
hi, I don't use C programming, but PORTD and E2,1,0 of the 16f877a are designed to operate with external peripherals , ie: printer etc. Look up your printer Character and Control codes. E
I am using PIC 16f877a I am using serial communication using PIC when i press switch on PIC i want a file like music to turn ON on my pc, can i do it using PC.
Good morning Ladies & Gents, I have a slight issue that has been troubling me for a few days. I have a PIC 16f877a which is part of my data logging system, this records data and sends it to a RPi. Currently the entire system is powered by a voltage regulator circuit, this has proven capable of supplying the PIC and associated circuits with the
Hi, I want to connect PIC to FM TX and then to transmit digital signals from PIC UART TX over FM. And want to connect another PIC to FM RX and then to recieve digital signals transmitted by TX. Can any one help me about it.:-?
I've done UART communication,with virtual serial port driver. Hope it would be helpful to you the newbeez to microcontroller. Here is the sample code in Mikro c and simulated in ISIS. :)
Hello , can any one please give a simple code that generates random serial numbers to the RS232 port , i need to run some operations on it thank you
Hello! All, I am really glad that usually I find most of the solutions in this site. Tnx to all for providing such support with their expertise and wisdom. I am working with a temperature sensor. Its a PIC 16f877a, LM35 based temperature sensor. Its working perfectly. But now I want to use KST TX01 and KST RX 806 TX-RX module to send and receive
hi, i'm using jz862 serial antenna and i want to connect it with pic 16f877a and i need code for this help me plzzzz if you can :) !!!
HI HXSP-2108E is a converter form serials to TCP/IP I wont to connect H
Hi i have connected a potentiometer to pin AN 2 of pic16f877a .The 10 bit ADC converts input from 0-1023 . Now ,i want to transmit the data serially to arduino uno R3 and display on the monitor .I have connected the Tx of pic to Rx of arduino and also have a common ground .I have also created a software serial port in the Arduino so that (...)
is it possible to send number from Pic (16f877a) to Arduino ????
Idea for code generator for PIC16f877a This app in C# (webform or winform) will generate code, in part if not all, for a multiprocessor network using the SPI sync serial port and each digital and analog io port to take readings from sensors, switches and control digital output. Each processor goes into a loop (after calling the appropriate init
hy: i m reading the GSM sim900 data on interupt after AT+CMGR=1 but Garbage come on my lcd ,,,can any one chack my receiving code,, uC 16f877a,,,,Compiler Hitech. //////////////serial Interrupt Setting///////////////////// //////////////////Rx Interupt//////////////////////////// void interrupt receive(void) { if(RCIE && RCIF)
Since the GPS module has RX and TX pins, you can use the UART module of the PIC16f877a. The PIC168F77A has an on-board hardware UART module. First consult the datasheet to read about it. Then go through Hi-Tech C resources to find out about the UART module functions, routines, etc. Hope this helps. Tahmid.
There are a few options, easiest is to buy an RFID reader with UART connections (5volt level serial) such as the SMB130 module from sparkfun for 13.56MHz cards. Connect UART data out pin to receive pin on 16f877a and data in pin to transmit pin on 16f877a. Write the software. Seeedstudio has a si
Hello there, I was wandering wether anyone can help me on a way to transmit a character message that is inputted from the LCD, in serial form (1 bit at a time), on an LED. The texting programming has been finished but the only thing remaining is to find a way to make an LED flash according to the saved message. Thanks in advance
Hello I am unable to develop pic 16f877a burner circuit though i have search net and worked according to the circuit diagram but still the program is not been uploaded in the chip. Please help me.:-D
How to calculate CCPR1L in varying data? and also, CCPR1L contains the upper 8 bits of the 10 bit Duty Cycle value CCP1CON<5:4> contain the lower 2 bits How to divide the 8 bits and 2 bits in calculation? - - - Updated - - - I have formula and i got a pwm in standard data but i am confused,about automatic calculation
Dear All This is related to pic16f877a MCU I found ID Locations in configuration bits Can any one please guide me what are the benefits, we can use this ID Locations in practical situations What is the important of this ID Locations Thanks in advance
Hi I need an help,that how to interface GSM(sim 300), with pic 16f877a.I have source code but i need an idea in hardware part. you can connect GSM modem with pic16f877 by using serial communication (rs-232) protocol. you need to convert TTL to pc-level voltage for that purpose you need max-232 le
Hi everybody; I've built a test circuit. It has an LCD display on PORTD besides serial comm. with computer. I've only used the LCD before and tested a program. It works well. After that, I've initialized the RCSTA and TXSTA to communicate on serial bus, but the LCD has obstacled. serial comm is working but LCD is not working (...)
hello, here i ve a code for tlv2543 using i2c protocol for pic c compiler. we are not getting any results on serial terminal.pls rectify the errors and let us know how do we correct it. #include <16f877a.h> #device adc=16 #BYTE PORTB = 0x06 #BYTE PORTD = 0x08 #BYTE PORTC = 0x07 #BYTE PORTE = 0x09 #BYTE PORTA = 0x05 #BIT RC0
Hi forum your opinion needed Today i programed a PIC 16f877a micro controller with a program to test watch dog timer of the micro.I used mikroc serial boot loader to program micro first and the result was :micro controller program did notwork.Then i programed same micro controller with same program but this time using pikit2,and then the progra
Hello guys, as usually i'm stucked in my project again. ;) So definitily in need of your help. :) I'm doing a project regarding control switches through sms messaging. I found some circuit diagrams to connect AT supported mobile to the PIC 16f877a. but i have no idea how to write codes to program the pic to access the message memory and deco
hello, Maybe your transmit buffer is not empty just after power on. and after you get this kind of Uart error : FERR: Framing Error bit 1 = Framing error (can be updated by reading RCREG register and receive next valid byte) 0 = No framing error bit 1 OERR Overrun Error bit 1 = Overrun error (can be cleared by clearing bit CREN) 0 = No
as im trying to communicate between the P16f877aController and PC.. i done the program in Embedded C using PCW. but im getting the output in Real Pic Simulator, while im trying to connect with lap, it wont coming in the hyper Terminal. i dono how to configure the hyper terminal. is there any modification to change in my program?
iam interfacing idg500 to PIC16f877a , iam giving output of gyro to ADC porta.0 and then transmit it serially problem is that when no input is applied serial transmit is open but when i connect gyroscope no serial transmit is recived can any one help me out ?
i have connected pic 16f877a with max232 and i am sending data via serial port. i made GUI in VB10 but the problem is that it is not writing hex file on PIC.Plz can any body help me..
i m doing my GPS tracking Project. and stuck in the $GPRMC string filtering as the GPS M-89 HOLUX (UART)serial transmit number of strings so our focus is on filtering gprmc string. we are using pic 16f877a , so for testing i use two virtal terminal same 9600bps, attached the tx of first virtual terminal to rx of controller, and attached rx of se
There are several options available for I/O Port expansion. Digital I/O Expansion For Unidirectional Output Port Expansion, a shift register, like the 74HC595 would suffice. These devices can be cascaded to provide high pin counts to fit the design requirements. [URL="ht
hi everybody i want to write code that send data ( image) from PIC to serial port in pc using or microbasic and i am not familiar with it , if anybody can help me to write this cod i will be Grateful to him
i could not understand how to write or read from eeprom. so plz tell me interfacing of i2c eeprom & if any one has program so plz tell me.
Hai, You can use pic microcontroller (like pic GSm first you study about AT commands and in GPS study NME sentence.
there is only 1 Tx pin and 1 Rx pin in the Pic 16f877a. If i use the tx and rx pin for remote control circuit, can i use the same pin to connect to PC for serial comm? I have an idea for my remote control circuit, not sure can it work. i am NOT using any Microcontroller for my TX part of the remote control,my Tx circuit is just TWS module to H
hi all, how to connect skm53 gps module to pic 16f877a?as it is known that the output of GPS module output is serial connection at 2.85v ttl ,please anybody help me GPS module's data sheet is in this link SKM53.pdf thanxxxxxxxx a lot
@ tharaka.nw: I had also encountered the same problem, you should short pin 6 and pin 7 of DB9 connector at the GSM end . I have made a cable for this and it works fine. ---------- Post added at 09:22 ---------- Previous post was at 09:22 ---------- @ ckshivaram: hi, i have properly interfaced the sim900 mod
i have done this before but on 18F452 16f877a has a memory limitation for my scenario why dont u use serial interrupt. what exactly you are doing?
this problem had me going crazy for a weeks already.. i assemble my circuit on a breadboard,using 4Mhz(24pF),20Mhz(33pF) and each time i power on the circuit,the led wont blink.For the setting with 4Mhz oscillator,the led will blink very fast and for the setting with 20Mhz,i had to touch or wiggle the capacitor to make the circuit works but still,
i have a working GUI in C#, and a working PIC code for 16f877a, using serial port. Works also with hyperterminal. In can call back send text and can control 2 LED. In Proteus, it works nicely.for proteus, i used the virtual serial port (COM1 and COM2). I tested it by shortening out the pin 2 and 3 of the USB serial (...)
hi everyone, i need help I want to develop GUI in MATLAB and perform serial communication with PIC 16f877a..for example if click a button in gui then it must send simple command that should flash a led by Microcontroller... please help...every help will be appreciated
Currently I am working on a project that involes serial communication between one PIC and another. The task is to flash an led at a rate (77) sent via serial. the code is as follows. Sender: PIC 16f877a CLEAR DEFINE OCS 4 TRISA = %000000000 LOOP1: SEROUT PORTA.0, 3, GOTO LOOP1: END Receiver: PIC 12F683 CLEAR ANSEL = 0 C
hi I m using C compiler for programming the 16f877a. I would like send binary data through this PIC by using RS 232 communication which able to transmit data serially. I would to program like i have a push button connected to PIC. When a press the push button, the pic will send certain binary i hope the members would give suggestion
Hi, Please i am doing a similar project only i am using PIC16f877a to connect to a bluetooth-enabled system over an RN 41 bluetooth module.i have three LM 35 sensors connected to the PIC and the PIC is meant to transmit the values it is receiving over the bluetooth to the PC.the problem is i have connected an LED to the TX
Is it possible to use PIC 16f877a to communicate with CMUCAM3 by using serial connection? Please give me some information about this, thx!
hello , I need to communicate between pic16f877a and sm630 fingerprint scanner that communicate in serial UART I have written sample code as test for the sm630 to add finger by sending the first packet and waiting for the replay but unfortunately it dose not work in mikrobasic can any one help me ... code ************************
Hi, 1. Both those Bluetooth modules communicate in serial mode and will easily communicate with most pics via their USART module. However the 16f877a is really a 5v chip where as the modules are both 3.3v, so you will need some parts to control the signals between the devices, however the BT manuals do give some guidance. The easier way may
can i know how to interface PIC 16f877a with matlab? U could hook up the uc to the PC using serial port. Depends on the level of control u require.