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 solved the problem, I should have used
config = USART_TX_INT_OFF | USART_RX_INT_OFF | USART_ASYNCH_MODE | USART_EIGHT_BIT | USART_CONT_RX |
USART_BRGH_HIGH;
Hello guys,
I need some help configuring USART module for Asynchronous reception 9600 bps in a PIC18F4431 running at 4Mhz .
I use XC8 compiler and I read the Peripherals support document included with the compiler.
Here is my current configuring code :
void USART_Init()
{
unsigned char...
Thanks Daniel ,, I've simulated the totem circuit and found that you are right :) ... I'll change the regulator to 7815 ... My problem is the size of IR2110 and IR2112
These are the only locally available MOSFET drivers here in Egypt , and I don't need the high side driving part ,, so It will...
Thank you dude :) I'll give the schematics to the power supply team :)
- - - Updated - - -
Daniel ... I think I'm driving the MOSFETs by 18 V :) and they don't heat up at all .. I've tried many driving methods and I got the best results with this one :) Please check the schematics again and...
Could you recommend any decent power supply circuit ?
We thought of a SMPS ,, but failed to implement it :) I think that the real question is how to make a decent power supply :)
I'm driving the Relays from ULN2003 ,, It has a built in free wheeling diode ...
I have no problem when powering the Micro-controller from another supply ( I had used the 5 Volts form the PICKit 3 ) ,, the problem is that I can't do this in the final project .. It's required that I must use...
I have 3 motors ,, I'm using relays to control the direction of 2 motors ,, and relays + Mosfets to control the speed and Direction of 1 motor ..
I think that " When the motor starts, the noise generated in the power lines resets the microcontroller which is easily prone to such noise, and will...
Hello guys ,
I have a problem that I have to control some motors using micro-controller ... Each motor can draw up to 12 Amps .. and I have 2 ATX power supplies connected in series to get 24 V for the motors and 5 V for the microcontroller .... I've tested the circuit and the firmware without...
Since my day one in using PIC16F877a micro-controller , I used to connect pins ( 11 and 32 ) to 5 volts ,, and (12 and 31 ) to the GND.
yesterday I forgot to connect pins 11 and 12 to the 5 volts and GND . I was really surprised that the micro-controller worked .
I measured the resistance...
Good Day everyone,
I need some help fixing a bug in my code , I'm writing a program to log temperature in 5 positions using thermocouples , The temperatures should be written on pc using UART , The pic16f877a should measure temperatures through time intervals defined by the user , The user will...
what is this error ?
0 1 mikroCPIC1618.exe -MSF -DBG -pP16F877A -DL -O11111114 -fo4 -N"C:\Users\Ahmed Soliman\Documents\College\Measurments\Project\Thermocouple\Thermocouple.mcppi" -SP"C:\Program Files (x86)\Mikroelektronika\mikroC PRO for PIC\defs\" -SP"C:\Program Files...
Hi , can anyone tell me what's wrong with this code ? the compiler found no problems but when i run the circuit in proteus there is no output
sbit TX1 at GPIO.b0;
sbit TX2 at GPIO.B1;
sbit TX3 at GPIO.B2;
void main() {
TRISIO.b0 = 0;
TRISIO.b1 = 0;
TRISIO.b2 = 0;
ANSEL.b0 = 0;
ANSEL.b1 = 0...
Hey guys , about not using pin B0 for the LCD ,,in MikroC you have to write some declarations before the main which are :
sbit LCD_RS at RB4_bit;
sbit LCD_EN at RB5_bit;
sbit LCD_D4 at RB0_bit;
sbit LCD_D5 at RB1_bit;
sbit LCD_D6 at RB2_bit;
sbit LCD_D7 at RB3_bit;
sbit LCD_RS_Direction at...
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.