Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I just want to know what will happens if decoupling capacitor across supply pins is not used for PIC Microcontroller
What kind of problem we can face ?
Hi Klaus
I have searched " J type thermocouple and UA74CP "threads before posting question and I don't see any similar threads. so that's why I asked the question. I saw some posts on thermocouple with different amplifier. I just wanted to know if I could be use UA74CP with j type because...
I have PIC18F45K80. I am using MPLABX 5.40 and XC8 2.30. I want to Interfacing J type thermocouple with PIC18F45K80. I have also operational amplifier UA74CP. thermocouple give very low voltage so operational amplifier will be required
Would UA74CP be suitable to interface J type...
Following code work fine for me for external oscillator 20MHz
// PIC18F45K80 Configuration Bit Settings
#define _XTAL_FREQ 20000000
// CONFIG1L
#pragma config RETEN = ON // VREG Sleep Enable bit (Ultra low-power regulator is Enabled (Controlled by SRETEN bit))
#pragma config INTOSCSEL...
This is how I think to set internal crystal frequency
OSCCON = 0x60; // internal crystal frequency 8Mhz
OSCCON = 0x70; // internal crystal frequency is 16Mhz
OSCCON = 0x50; // internal crystal frequency is 4 Mhz
@hexreader
Thanks to all of you for investing time on me and helping me a lot. and finally I did it after so many time reading the datasheet
There is no problem in hardware. there was so many problem in code
#define _XTAL_FREQ 8000000
#include <xc.h>
// PIC18F45K80 Configuration Bit...
I pray to God that your health be recovered as soon as possible
First picture with no pic on development board sending data tx and rx connected.
Second picture with no pic on development board sending data
tx and rx are not connected
It seems here that whenever Tx and Rx are connected on the...
char message[]= { 0x0F};
I also think the problem with hardware That's why want to use IC maxrs232 on 8051 board
I just want to try last chance , I found circuit https://www.indiamart.com/proddetail/silicon-technolabs-atmel-8051-project-development-board-16655627997.html
MCU RC7 pin connected to Tx jumper pin
MCU RC6 pin connected to Rx jumper pin
measured 0.32v between pin#11 and gnd pin#15
measured 1.97v between pin#14 and gnd pin#15
MCU RC7 pin connected to Rx jumper pin
MCU RC6 pin connected to Tx jumper pin
measured 5.01 V between pin#11 and gnd pin#15...
Voltage between VCC and ground is 5.5 volt
voltage between pin#2, and pin#6 is 14.83 v
voltage between pin#2, and gnd is 8.20 v
voltage between pin#6, and gnd is- 6.7 v
Edit :
MCU RC7 pin connected to Tx jumper pin
MCU RC6 pin connected to Rx jumper pin
I have 20 MHZ externa crystal
I am connecting USB-RS232 adaptor directly through a cable
#define _XTAL_FREQ 20000000
#include <xc.h>
// PIC18F45K80 Configuration Bit Settings
// 'C' source line config statements
// CONFIG1L
#pragma config RETEN = OFF // VREG Sleep Enable bit (Ultra...
I am running following program but problem is same
#define _XTAL_FREQ 8000000
#include <xc.h>
// PIC18F45K80 Configuration Bit Settings
// 'C' source line config statements
// CONFIG1L
#pragma config RETEN = OFF // VREG Sleep Enable bit (Ultra low-power regulator is Disabled...
Hi ric , I have already provided thread link and mention your post in post #8
1602545972
1. Do you mean the socket on the PIC board or socket on 8051? I assume socket on PIC board
2 this line gives error #pragma config FOSC = HS // crystal oscillator
uart.c:15:: error: (1363) unknown...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.