PIC16F676 Troubles


Closed Thread
Results 1 to 14 of 14
  1. #1
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116

    Unhappy PIC16F676 Troubles

    Hi,

    I am having trouble trying to use this pic. I have version 2.33 of PBP. This is the code:

    define OSC 20
    define adc_bits 10
    define adc_sampleus 50
    ANSEL = 1 'channel 0 analog all others digital
    ADCON0 = 129 'a/d control register setup
    ADCON1 = 96 'fosc/64

    ctrlv var porta.0

    But i get an error when compiling at the ANSEL line.
    Am i going to have to upgrade to the latest version of PBP to use this pic (hope not im skint) or am i doing somthing wrong?

    I wish to use 20MHz osc, external MCLR, a/d on porta.0, all other pins digital.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking 10 Years after ( or so )

    Hi Bob,

    I'm not sure at all PBP 2.33 supports this new processor ...
    and you' ll have to buy an upgrade ...

    or is it an "old" 16 F 876 processor ???

    Alain

  3. #3
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default

    Hi Alain,

    I have established that I do need a new version to use this pic. Not as pricey as I expected. less than 20 english pounds. If I can get confirmation of purchase from ME Labs that is. Although already having upgraded from PBC I will have paid a total of £320 for PBP (£500 if i cant get any proof of purchase). Not Happy!!!! Am asking myself if it was really worth it. Could have just percevered a little & learned to use assembly at a cost of £0...

    Regards

    Bob...
    Last edited by BobEdge; - 23rd February 2005 at 15:12.

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Unhappy

    I know PicBasicPro is not really given, but I can say one thing: I'd never been using pics for my model planes without it, The result is always as I hope ...
    Other Cheaper Basics do not offer so much functions and an open library like this;
    also Remember you can add the functions you write to the lib ... better than sub's.

    Great tool, no lost time in developpement nor debugging ...

    You pay for this saved time ... for NO BUGS , and for MPLAB entire compatibility ...

    Remember: on the web, things mostly offer you what you've paid for ...

    Alain

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Question

    Hi bob,

    You pay in £ ... what about www.selectronic.fr ( licensed distributor ) for PBP ...
    costs 265 Euros, update 23 Euros

    Have a look to !

    Alain

  6. #6
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default

    Thanks Alain, but i do have a uk distributor. Just need the proof of purchase from ME Labs, I cant find the original invoice. In the past you only had to fax them a photocopy of the manual front cover. But I guess there has been much piracy, so now you need a copy of the invoice...

    Bob...

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


    Did you find this post helpful? Yes | No

    Default

    mmm, when i bought my Compiler from Reynolds Electronics in the past. Bruce was and he's still smart enough too keep track of his customer only by the credit card # used.

    In your case... you'll probably need to pay FULL $ for it. Or maybe you'll find it somewhere in a peer-to-peer place... BUT probably not virus free and complete.

    Good luck!!!
    Steve

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

  8. #8
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default

    Hi

    Have managed to find the invoice, cant beleive it. So have ordered an upgrade today.

    Bob

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


    Did you find this post helpful? Yes | No

    Default

    hehe,

    if you're like me (in some case) you'll throw them away. Most of the time all my benchs (5 of them here) looks like the appended.. not proud but looks 'hard work in progress'

    NO THAT'S A REAL MESS!
    Attached Images Attached Images  
    Last edited by mister_e; - 24th February 2005 at 17:58.
    Steve

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

  10. #10
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Unhappy

    That looks like my bench!

    Have received my upgrade, and compiled my code. Great. Now my programmer needs updating. Have ordered a pic to do that with, will now be delayed another few days.

    These things are sent to try us...

    Regards

    Bob

  11. #11
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello STeve,

    Nice FLUKE!! I love those Flukes...

    I have you ever tried the Fluke 123 scope?? if you think that Fluke 83? VOM of your is a tough scope.... Check out their Scopes... Worth every penny of it IMO.

    Dwayne

    PS I don't think you want to see my desk...They would complain about too much weight / Pix ratio.
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

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


    Did you find this post helpful? Yes | No

    Default

    Hi Dwayne, yep i already have a 123 scope. The multimeter on the picture is an Fluke 189. It's one of my favourite. I still have an old version of the 77 serie... many years ago now but still working. Few old VOM too... still handy for some cases.

    As scope i have Tektronik TDS 210, Tektronik TDS2000, Fluke 123 and a Fluke 190, 2 other BK Precision analog dual traces scope(20Mhz and 40Mhz), and a real amazing IFR COM120B for all my R.F. need... i know you know those IFR stuff. A yeah i forget... probably because i didn't use this since many years now, A REALLY OLD LAMP SCOPE tektronik Type 561A... i'll try to find it and post you a pic of it... 1Mhz or 5 as i remind... not too handy but still working. great to heat up the place or a museum... i still have the service manual... hehe
    Steve

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

  13. #13
    Warrier's Avatar
    Warrier Guest


    Did you find this post helpful? Yes | No

    Cool PIC16F676 Troubles

    Hi:

    The original message was "I am having trouble trying to use this pic. I have version 2.33 of PBP. This is the code:...." and more than 140 people have visited this.

    Isn't it time for some one to address the technical issues rather than use this forum to parade their antique hardwares and "messy" workplace?

    Or have we changed rules with the new user interface for non-technical musings?

    -warrier

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


    Did you find this post helpful? Yes | No

    Thumbs down

    ooooooh i'm sorry Mr Warrier for all those extra stuff we had place in here.

    Please, dear all forum readers, accept my apologies for the mess of time i cause you to read my non-topic related stuff.
    Steve

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

Similar Threads

  1. Plz give me working of timers in PIC16F676
    By Vishal Raut in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 4th July 2007, 16:58
  2. PIC16F676 Problem
    By Atom058 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 19th April 2007, 16:05
  3. Interfacing RTC (DS1302) with pic16F676
    By Andrew_A in forum Off Topic
    Replies: 1
    Last Post: - 14th February 2006, 08:49
  4. LCD Problem witch PIC16F676
    By microuser in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th August 2005, 08:11
  5. PIC16F676 I/O Problems.
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2005, 16:37

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