Continue to Site

Welcome to EDAboard.com

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.

Recent content by SAMO6

  1. S

    [PIC] PIC18F4550: Pins RC4 and and RC5 as Digital Output.

    Hello all, I am trying to turn on and off a LED connected to RC5 pin of PIC18F4550. But, It is not working. I read somewhere on the internet that we cannot use RC4 and RC5 pins of PIC18F4550 as Digital Output. So, Is this true? Is there any way by which I can connect a LED to the RC5 pin of...
  2. S

    [General] Logic Behind Delay Function

    Hello Everyone, Can anyone tell me, How to implement the delay function for PIC18F4550? I tried the simple for loop for LED blinking, But, LED is not blinking it is simply in ON state. I used below mentioned simple for loop for delay generation. void delay1() { unsigned int q...
  3. S

    [PIC] LCD(16x4) Interfacing Problem with PIC18F4550

    Input supply: Vdd=5V, Input current=18mA. Is it ok? Configuration bits: MCLR=Enable FOSC=HS BOR=ON LVP=OFF ICPRT=OFF Capacitors beside Quartz crystal are of 20pF.
  4. S

    [PIC] LCD(16x4) Interfacing Problem with PIC18F4550

    Thanks for replying to my query. But, when I tested simple LED blinking program on the same breadboard, one thing I found in my breadboard circuit is that there is some problem with crystal,Because, when I touched that crystal, LED started blinking and as soon as I released that crystal, LED...
  5. S

    [PIC] LCD(16x4) Interfacing Problem with PIC18F4550

    Hello Everyone, I am trying to interface 16x4 LCD with PIC18F4550.The simulation in proteus is working fine.But,I am not able to display any characters on LCD (Hardware). I am getting only Black boxes on LCD screen, and one more thing only two lines are showing black boxes.Other two lines are...
  6. S

    [PIC] Interfacing of PIC18F4550 with RS232 (UART)

    I want to see Virtual Terminal window get opened when I start simulation in proteus. So, that I will be able to see data that I want to send to COM port in virtual terminal (In this case, I want to see "Hello" which I have assigned in my program.) sorry, I got one correction that is, in 'for...
  7. S

    [PIC] Interfacing of PIC18F4550 with RS232 (UART)

    I am new to serial communication.I am trying to send a string(characters) on RS232 to hyperterminal software. I have tried simulation in proteus but, it is not working at all. Can you tell me what corrections should I do in my code? What are the wrong things in my code? Plz, Help. I am using...
  8. S

    [PIC] PIC18F4550 with Ultrasonic Sensor HC-SR04.

    Hello, I am interfacing ultrasonic sensor with pic18f4550 and want to display my output(sensed value from ultrasonic sensor) on lcd(16x2). I am using timer1 and crystal oscillator frequency of 20Mhz. My code is as below: #include<PIC18F4550.h> #define _XTAL_FREQ 2000000 #include<xc.h>...
  9. S

    [PIC] How can I generate delay in microseconds of any value for PIC18F4550?

    I am trying to generate delay of variable length using delay function in MPLAB X IDE for PIC18F4550. Crystal Frequency=20MHz. Basically, I am trying to generate delay of value which will be given as a parameter to delay_us function as shown below: Such as, delay_us(10) function will generate 10...
  10. S

    [SOLVED] Interfacing of LM35 with PIC18F4550. Need Help.

    Plz, Help me. Not able to get correct values on LCD. I am interfacing LM35 temperature sensor with PIC18F4550 with 20Mhz frequency. I tried a lot. But, not getting right output. Below is my code: #include<P18F4550.h> #define RS PORTCbits.RC0 #define En PORTCbits.RC1 void delay() { unsigned...

Part and Inventory Search

Back
Top