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 natraj20

  1. N

    I2C DAC in PIC 18F series

    As per your PIC18F4680 datasheet, you can configure the I2C module upto 1 MHz. Configuring the HS mode is the same as that of the standard and fast modes -- parameters being the slew rate control bit (SSPSTAT register) to configure the corresponding frequency mode and the Baud rate control...
  2. N

    I2C DAC in PIC 18F series

    @swappen What is the pull up resistor that u are using for the i2c communication lines ??
  3. N

    Speech recognition for secured door entrance

    There is a difference in what your security is based on. Are you trying to recognize the processed password from the speech alone or both the voice and the password ?? If its the first case, then its user independent else its user dependent. In user dependent, you should have the password of...
  4. N

    [SOLVED] How long is delay using for loop?

    @DX - Thanks, definitely worth a try !!!
  5. N

    [SOLVED] How long is delay using for loop?

    Thanks Tahmid and DX, @DX - I agree with you using a scope - again the situation for me is that i ve already been using a scope to check out the frequency of the sine wave at the I2C DAC output. I can only check the frequency over a period of time but if i would want to optimize the code by...
  6. N

    [SOLVED] How long is delay using for loop?

    The thing is that sometimes i would like to calculate the time taken for a particular instruction in the c compiler. In my case for eg, i'm using a DAC through I2C to produce sine waves and i would want to know an approximate time taken to send a byte by the communication protocol library...
  7. N

    [SOLVED] How long is delay using for loop?

    @Tahmid - I got that but where would i find the reference for the exact execution time of one instruction in a c compiler - say MCC 18.
  8. N

    [SOLVED] How long is delay using for loop?

    @jack - I ll make sure to remember it next time. Is using the delay library functions the only way in c compiler ??
  9. N

    I2C DAC in PIC 18F series

    Thanks Paul! The configuration in the SSPSTAT register is basically the same for 100 kHz and 1 MHz mode. And the baud rate in this mode is set in the SSPADD register but has no effect. I could not figure out what i'm missing. I agree with the transmission speed and it should be very well...
  10. N

    I2C DAC in PIC 18F series

    ya, but not any sound. there is a specific sound requirement which needs the sine wave in the 1 - 5 kHz range. ---------- Post added at 09:38 ---------- Previous post was at 09:20 ---------- And the main intention being trying to make the i2c work in high speed mode and learn more about it...
  11. N

    Sampling analog values at 2 kHz

    Thanks Joannes, that was very helpful !!
  12. N

    help with 4 wheel drive turning

    I am not sure of 4 dc motors but i used a much simpler way to drive with 2 dc motors using the same L293 D H-bridge and the same principle might give you an idea. In my case, the left two wheels are connected to a dc motor and the right two wheels are connected to another. If you exite the...
  13. N

    Sampling analog values at 2 kHz

    Nice one Joannes so that the calculation will be replaced by something like this, new average = (total + latest value - oldest value ) / 100 Is there anyway i could avoid this floating point division ??
  14. N

    I2C DAC in PIC 18F series

    I wish i could do that but most of the modules in this project are almost done and looking to generate sound using sine waves from this DAC module for alarm indications.
  15. N

    Sampling analog values at 2 kHz

    I would like to sample analog values from a pressure at 2 kHz and would like to have a small buffer for the latest values (say 100). So at each sample point, the latest sampled value should replace the oldest value in the buffer. At each instant, i need the average of this 100 values as the...

Part and Inventory Search

Back
Top