1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

PIC Simulator

Discussion in 'Oshonsoft' started by Transistorman, Aug 16, 2010.

  1. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    hi eric

    if you think the simulation is to slow

    add

    Code (text):
    Define SIMULATION_WAITMS_VALUE = 1
     
    Last edited: Sep 2, 2010
  2. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    here is the result at Oshonsoft Simulator that i take lately before test the code in real world

    [​IMG]
     
  3. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    hi again

    sorry for my really long offline

    my laptop is broke

    need some fixes

    i will continue as soon as it already fixed :)
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian

    oops ,

    wrong post

    look downer :)
     
    Last edited: Sep 19, 2010
  6. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    hi again

    i have just uploaded the video

    hope you like it :)

     
    Last edited by a moderator: Sep 10, 2013
  7. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi TT,
    Nice video, whats the next step.?:)
     
  8. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    still thinking yet ! :)
     
  9. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    hi

    you help me make prefequency counter with 7 segment ? :)
     
  10. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi TT,
    What is a 'pre frequency' counter.?:)
     
  11. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    it should be " Frequency "

    sorry for bad writing :)
     
  12. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi TT,
    First try this program for an LCD, using a 16F628A in Oshonsoft simulation.

    When you get that working in simulation you could try to modify the code for a 7seg display.
    While the program is running, use the TOOLS/signal generator on PORTB.6

    Let me know...
     

    Attached Files:

  13. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi TT,
    Try this 4 LED mux, assembler 16F627A PIC in Oshonsoft.
     

    Attached Files:

  14. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    it seems it is too hard to modify it to 7seg

    because i want to use 2 7seg and it will need multiplexing

    OR i can use 14 port for driving it ?
     
  15. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi,
    Have you tried the LED program in post #152...?
    That will give you some insight on how to multiplex drive LED's.
     
  16. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    ok i will try :)
     
  17. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    since i starting using multiplexing

    i make a counter for the first step

    here is the result

     
    Last edited by a moderator: Sep 10, 2013
  18. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi TT,
    Very neat, you are learning very quickly.:)

    Did you use Oshonsoft to debug the program.??

    Whats next.???
     
  19. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    Yes
    i still thinking about it
     
    Last edited: Oct 3, 2010
  20. Transistorman

    Transistorman Member

    Joined:
    Jun 7, 2010
    Messages:
    390
    Likes:
    2
    Location:
    Indonesian
    dont think that there will be more than 1000 viewers :D:D
     
  21. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi TT,
    Have we done with the Oshonsoft Sim or do you have more questions.?
     

Share This Page