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 marven2320

  1. M

    PWM with PIC16f877A sample code in MikroC v5.0 and Proteus 7.5 SP3

    Thanks for the help everyone! I just updated my proteus version and its now working fine.
  2. M

    PWM with PIC16f877A sample code in MikroC v5.0 and Proteus 7.5 SP3

    I didn't see it. Can you show me where should I view the simulation video you mentioned? Thanks! - - - Updated - - - As you can see in the attached picture. The PORTC and PORTB are all colored blue which signifies that its voltage output is zero. It is always like that in my screen that's I...
  3. M

    PWM with PIC16f877A sample code in MikroC v5.0 and Proteus 7.5 SP3

    Attached is the pwm.dsn and the pwmsample.mcppi along with the hex file generated in mikroC project. Thanks!
  4. M

    PWM with PIC16f877A sample code in MikroC v5.0 and Proteus 7.5 SP3

    I am not trying to vary the PWM. I just want to see that the PWM is really working at a certain duty cycle specified in the code. There must be a blinking of LEDs even without varying the PWM, right? I cant see it blinking in my simulation.
  5. M

    PWM with PIC16f877A sample code in MikroC v5.0 and Proteus 7.5 SP3

    Hi All! I am trying to work with PWM. I understand the concept of PWM but when I tried the mikroC sample for PWM at PIC16f877A it doesn't show any significant result. I configured the PIC16f877A project at 8MHz crystal so as the proteus project. unsigned short current_duty, old_duty...
  6. M

    CAN Application in pic18f2680 with MPLAB using C Language

    Can any body here show me some basic syntax in initializing the CANTX and CANRX port in pic18f2680? Please help me the basic transmit and received the data. Thanks!
  7. M

    PIC18f2680 with MPLAB using C

    Thanks! It helps me a lot on making DIGITAL INPUT on portA and DIGITAL OUTPUT on portC. My code is working fine now. Thank you. Can you show me a short example on UART syntax? Below is the code in mikroC: char uart_rd; void main() { // ANSEL = 0; // Configure AN...
  8. M

    PIC18f2680 with MPLAB using C

    Here is the code I made. #include<p18f2680.h> void main(){ TRISA = 0xFF; // Configure PORTA as input TRISC = 0; // Configure PORTC as output PORTC = 0x00; while(1){ If(PORAbits.RA0 == 0){ LATCbits.LATC0 = 1; } } } Is there some command missing? please help. Thanks!
  9. M

    PIC18f2680 with MPLAB using C

    I am using Hitech C Compiler. How to disable Analog Input since PortA can also be configured as analog input? I want to detect if portA.f0 is trigged by setting portc.f0 equal to 1 but my code didnt work well.
  10. M

    PIC18f2680 with MPLAB using C

    I am new to PIC18 series. And I'm having difficulties regarding PIC18f2680 in MPLAB using C compiler. Can anybody help me with a short sample for: Input/Output PORT settings -I am configuring PORTA as digital INPUT while PORTC as digital output. Serial UART -Sample UART syntax...
  11. M

    Interrupt handling in PIC18F4550

    Thanks for the great advices. I'm sure that will surely do. Thanks! Marven
  12. M

    Interrupt handling in PIC18F4550

    The code above works fine. Thanks! One more thing, Why is it that the interrupt will be triggered only if I applied a 5V supply to either pins of RB4-RB7? While Pins RB0-RB3 is has no response at all! Also, inside the interrupt function I can't use some commands (e.g. Lcd_Out(1,3,"Hello...
  13. M

    Interrupt handling in PIC18F4550

    I will am now using portD for my LCD. How can I initialized/configure my interrupt at PortB?
  14. M

    Interrupt handling in PIC18F4550

    I already done that part above. In fact, my LCD is working properly already. I am using MikroC 3.2. The only problem I got is on interrupt implementation. For me to use the interrupt pins I replaced some of pins in PORTB for my LCD as shown below. // LCD module connections sbit LCD_RS at...
  15. M

    Interrupt handling in PIC18F4550

    Hi Tahmid, I am also trying to use interrupt function in PIC18f4550 with mikro C to write my code. I simulated my system with Proteus. While trying to use my interrupt portb, I also use some of portB pins for my LCD display. Below is my interrupt codes. Please have some advice... Thanks...

Part and Inventory Search

Back
Top