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 slaamdunk@gmail.com

  1. S

    Op-amp comparator MCP 6004 not working properly.

    Hi, I am trying to use op-amp MCP 6004 as a comparator. I am having 0.6V on the non-inverting input. The inverting input is connected to ground by a 5K resistor. So ideally I should see the output go to positive rail because the non-inverting input is greater than the inverting input. But...
  2. S

    Timer1 inside an interrupt

    HI, As part of my project I am needed to start timer1 , count till a certain timer T and then once I am done with T, I need to start counting till 3T. I implemented this by using Timer1 ( because I could start and stop it) let it overflow for time T and once I have reached T, I stopped and...
  3. S

    Generate 40KHz without using pwm

    Why do you have an input in TRIS ? ( you have a 1 in that binary number )
  4. S

    Generate 40KHz without using pwm

    I am using Hi-Tech C. I am not getting an accurate frequency if I use the delay routine. I theoretically calculated the time taken by each instruction using the clock frequency and I tried inserting delays to get a 25us ( 40KHz). But I am not getting the accurate frequency of 40KHz. - - -...
  5. S

    Generate 40KHz without using pwm

    Are there ways to create a 40KHz square wave with 25% duty cycle without using PWM in pic 12F615, just by toggling the pins to '1' and '0'. I tried and I am not getting an accurate frequency. Thank You
  6. S

    [SOLVED] Help for IR Data transmitter & decoder by using 12F675 mikroC compiler

    Is there any reason as to why PWM was not used ?
  7. S

    [SOLVED] Help for IR Data transmitter & decoder by using 12F675 mikroC compiler

    Oscilloscope ok, but how did you know how much delay to put so that you can match the time period for the corresponding frequency ? Was it hit and trial or is it that the delay that you have introduced does not even play a role in deciding the time period ? Thank you
  8. S

    Error when building program in hitech - c

    FOSC_INTOSCCLK - did work and I was able to see the 2MHz clock output. Thank you
  9. S

    [SOLVED] Help for IR Data transmitter & decoder by using 12F675 mikroC compiler

    Hi, I was looking at this code and wanted to know how did you arrive at 40 KHz carrier frequency ? Is it like ( 20MHz crystal -> 5MHz clock -> 1.25MHz / instruction -> 0.8us per instruction ? How did you make calculations to get 25us ( 1/40KHz) ? Can you please explain ? sorry for the late post.
  10. S

    Error when building program in hitech - c

    Hi, Thanks for the reply. I tried the following code to see clock output waveform in a CRO, but I am not able to. How do I enable CLKOUT high ? Is it by default set high also I am getting a MCLRE and INT OSC contention error. Can you please guide me here, have been tryin to get this for a while...
  11. S

    Error when building program in hitech - c

    MPLAB IDE version 8.92 I am having trouble configuring an internal oscillator for 8MHz.
  12. S

    Error when building program in hitech - c

    How do I configure the CONFIG register in 12F615 ? Can I use __Config or do I have to define all the pins of CONFIG ?
  13. S

    Error when building program in hitech - c

    I am sorry the comment is a typo, I am trying to set the internal oscillator at 8 MHz. So should I set my internal oscillator frequency in the __CONFIG statement ?
  14. S

    Error when building program in hitech - c

    HI, I am still getting the error. This is my code #include <htc.h> #ifndef _XTAL_FREQ #define _XTAL_FREQ 8000000 #endif __CONFIG(FOSC_INTOSC & WDTE_OFF & PWRTE_OFF & MCLRE_OFF & CP_OFF & BOREN_OFF & CLKOUTEN_OFF & IESO_OFF & FCMEN_OFF); __CONFIG(WRT_OFF & STVREN_OFF & BORV_LO & LVP_OFF)...
  15. S

    Error when building program in hitech - c

    what does the following error mean. I am using pic - 12f615 Error [192] C:\Program Files (x86)\Microchip\tx_37pricing.c; 31.1 undefined identifier "IOSCFS"

Part and Inventory Search

Back
Top