Connect with us

Inductance and capacitance meter with AVR

Discussion in 'General Electronics Discussion' started by rezarazeghi, Nov 7, 2012.

Scroll to continue with content
  1. rezarazeghi

    rezarazeghi

    5
    0
    Nov 7, 2012
    Hi
    My project is Inductance and capacitance meter with AVR . can you help me ?
    I attach my file for you . in this file i simulate circuit in proteus with bascame but my simulate don't answer . i don't understand that what is it's problem ?
    please help me
     

    Attached Files:

  2. KrisBlueNZ

    KrisBlueNZ Sadly passed away in 2015

    8,393
    1,271
    Nov 28, 2011
    Why do you want to simulate this design?
    This is a complete project that includes firmware. You don't need to simulate it; you just build it!
    You won't be able to do a useful simulation of it, unless you can simulate the hardware and the firmware, and the display, all at the same time. I don't think there is any simulator that will do this.
    Can you explain clearly what you want to do? You said your simulator "don't answer". I don't know what you mean.
     
  3. rezarazeghi

    rezarazeghi

    5
    0
    Nov 7, 2012
    Thanks .
     
  4. CDRIVE

    CDRIVE Hauling 10' pipe on a Trek Shift3

    4,960
    652
    May 8, 2012
    Kris, I believe that Proteus/Isis provides interactive mode simulation and imports the firmware from his code files.

    Chris
     
  5. KrisBlueNZ

    KrisBlueNZ Sadly passed away in 2015

    8,393
    1,271
    Nov 28, 2011
    Hmm, that's pretty cool. I wonder if it would simulate the LCD display so you can read the numbers on it...
     
  6. CocaCola

    CocaCola

    3,635
    5
    Apr 7, 2012
    Yes, it does...
     
  7. KrisBlueNZ

    KrisBlueNZ Sadly passed away in 2015

    8,393
    1,271
    Nov 28, 2011
    OK... colour me wrong! To the OP. It seems that you should be able to simulate the project... if there's any reason to!
     
  8. rezarazeghi

    rezarazeghi

    5
    0
    Nov 7, 2012
    Thank you very much.
    But i'm almost sure that this circuit can not be simulate in proteus because LM393 is not supported by proteus.
    in fact,LM393 doesn't produce pulse and untill microcontroller doesn't receive pulse,can't be measured frequency.maybe i'm wrong.
     
  9. KrisBlueNZ

    KrisBlueNZ Sadly passed away in 2015

    8,393
    1,271
    Nov 28, 2011
    Does Proteus support ANY comparators? Any comparator that runs from 5V will work, for the simulation.
     
  10. CDRIVE

    CDRIVE Hauling 10' pipe on a Trek Shift3

    4,960
    652
    May 8, 2012
    I have the Proteus-Isis lite version. Picaxe made a deal with them to support their chips. This is probably why Tina still has not provided live Sim with Picaxe chips but Tina does support a standard Pic for use in Interactive (live) mode. Tina links to the Pic code in much the same way as Proteus.

    This is a screen shot of Proteus running a Curve Tracer I was building. I have a long history of not finishing stuff!! Anyway, this curve tracer uses two Picaxe 08Ms. One to generate the curves and the other as a serial output. If you look on the left side of the scope you'll see a DB25. This a virtual serial port. It is used to port data from the simulator to a serial port. In lower right corner you'll see a virtual terminal window. It's displaying the serial data sent to the port. The virtual port is bi-directional.

    The reason for the serial port is because I was designing the tracer to be used with my laptop instead of a scope. If I ever finish this the serial output will port to VB6 which will read the serial XY data and generate the curves shown on the virtual scope. Once it's in VB I can automatically add text data to the curves.

    Chris
     

    Attached Files:

  11. CocaCola

    CocaCola

    3,635
    5
    Apr 7, 2012
    You can import PSPICE models into Proteus... There are many tutorials on how to do this and getting a LM393 PSPICE model is painless...

    I would have a look at it in ISIS for you but ISIS is puking on this laptop (along with a few other things) and I have not finished building my new development computer so I'm at a disadvantage right now...
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-