EasyPIC5 recommended project sources


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Hi, Manwolf ...

    For EasyPic 5 you'll have to DEFINE :

    - Oscillator speed to 8 Mhz ( HS ...), if onboard XTal used
    - Pins used by EP5 are very specific ... so you have to meet this Pin use.
    - MicrocodeStudio can directly interface EP5 ... There's a thread about that in those columns.

    http://www.picbasic.co.uk/forum/show...69&postcount=3

    For "soft" purposes ... now, it's you to make your brain work ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    May 2008
    Location
    Florida
    Posts
    64


    Did you find this post helpful? Yes | No

    Smile

    Thanks for the tips and links, I have been coding in MCS and then running PICFlash on its own. Always good to put the brain to work keeps the cobwebs cleared out. I will check out both of the links.

    Now all I need to do is unlearn all of my bad habits from programming PCs. LOL

    What does everyone suggest for a simulator, the one in MPL or something like PIC Sim?

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by manwolf View Post
    What does everyone suggest for a simulator, the one in MPL or something like PIC Sim?
    I do not trust simulators, do a search on this forum and you can find suggestions. The one with MPLAB I hear is pretty good... But BreadBoard101 still works great
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I'll suggest you the best one...
    NOTHING

    Build your circuit and that's it. There's no valuable Hardware Simulators on the market.

    Some are better... but they all failed my own simple test. Save thousands bucks and build your own circuit...Period.

    I know i'll make friends... once again
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    May 2008
    Location
    Florida
    Posts
    64


    Did you find this post helpful? Yes | No

    Default Thanks Everyone

    Quote Originally Posted by mister_e View Post
    I'll suggest you the best one...
    NOTHING

    Build your circuit and that's it. There's no valuable Hardware Simulators on the market.

    Some are better... but they all failed my own simple test. Save thousands bucks and build your own circuit...Period.

    I know i'll make friends... once again

    someone get upset with sweet and nice mister_e no way ;o)

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Believe me there is... do I care when it's because I gave my own opinion on something?



    Freedom's of speech all the way with decent moderation though...
    Last edited by mister_e; - 11th June 2008 at 01:56.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default PIC Simulator

    Here is a low cost simulator (available for PIC16 and PIC18) that is fun to use:
    http://www.oshonsoft.com/pic.html

    It has a decent range of hardware peripherals, is low cost and the BASIC compiler is very similar to PBP. You can try it for free (with no limitations) for 30 days.

  8. #8


    Did you find this post helpful? Yes | No

    Default

    Hey manwolf,
    ALL of the PBP examples should work on EP 5, once you have changed/removed the includes that set up the fuses, OTHER than the LCD examples that write to the CG ram.
    On the mE boards the RW pin is hardwired to Vss.
    Until now I haven't seen any mE examples that write to the CG ram.
    And I agree, the best sim is a soldering iron and/or a bread board!

  9. #9
    Join Date
    May 2008
    Location
    Florida
    Posts
    64


    Did you find this post helpful? Yes | No

    Default I grabbed a copy PIC Sim

    Quote Originally Posted by rmteo View Post
    Here is a low cost simulator (available for PIC16 and PIC18) that is fun to use:
    http://www.oshonsoft.com/pic.html

    It has a decent range of hardware peripherals, is low cost and the BASIC compiler is very similar to PBP. You can try it for free (with no limitations) for 30 days.
    Downloaded that and have been trying out seems pretty complete. I have run a couple of their examples just to watch the ports and registers in action. It has helped get my head around the chips.


    Thanks Copy'nPatse
    So far I have been able to run most ME stuff on the EP5, that is until I tried the first LCD example. SO far I have not been able to get either board to display a thing.

    Code:
    '****************************************************************
    '*  Name    : Hello.BAS                                      *
    '*  Author  : Ted Crafton                                       *
    '*  Notice  : Copyright (c) 2008 PROGRAM SPECS                  *
    '*          : All Rights Reserved                               *
    '*  Date    : 6/10/2008                                         *
    '*  Version : 1.0                                               *
    '*  Notes   :                                                   *
    '*          :                                                   *
    '****************************************************************
    CLEAR
    DEFINE      LCD_DREG    PORTD
    DEFINE      LCD_RSREG   PORTE
    DEFINE      LCD_RSBIT   0
    DEFINE      LCD_EREG    PORTE
    DEFINE      LCD_EBIT    1
    DEFINE      LCD_RWREG   PORTE
    DEFINE      LCD_RWBIT   2
    DEFINE      LCD_BITS    8
    DEFINE      LCD_LINES   2
    DEFINE      LCD_COMMANDUS   2000
    DEFINE      LCD_DATAUS      20
    
    TRISD=%00000000
    TRISE=%00000000
    
    ADCON1=%00000111
    
    LOOP:
     LCDOUT $FE,1
     PAUSE 250
     LCDOUT "HELLO"
     LCDOUT $FE,$C0
     LCDOUT "WORLD"
     PAUSE 250
    GOTO LOOP
    END
    This is the LAB-X1 code, then I got distracted by the missing backlite resistor. Turns out the LCD does not have a backlite. Then the real world(work) came crashing in, so I haven't dug any further and not willing to say uncle yet. I'll dig in it tommorrow.


    If I didn't want opinions I wouldn't have joined a forum, so bring them on. The skin is thick and the ego was buried years ago. If you don't break it, you ain't trying hard enough.

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. Replies: 1
    Last Post: - 27th July 2008, 06:14
  3. A Temperature & Humidity Data Recorder Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 9th July 2008, 18:47
  4. Tip: For Non working gLCD on EasyPic5 Board
    By manwolf in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd June 2008, 18:07
  5. A category for Project Ideas
    By Pic_User in forum Forum Requests
    Replies: 2
    Last Post: - 23rd June 2006, 07:29

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts