Hi Everyone! Some newbie questions :-)


Closed Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2006
    Posts
    14

    Smile Hi Everyone! Some newbie questions :-)

    Hi all,

    I've been reading this forum for a few hours now. It looks good. got a few questions though.

    I've never used pics or anything before, but i want to get into them (the 16f826), i've designed a circuit (really simple blinking led), and now want to build it, but my questions are:

    My Programmer: http://www.adteknik.se/english/mp35ser.htm
    Only says it does PIC16F628 -- maplins only has PIC16F628A will this be ok???

    I'm still not sure if the chips run from AC or DC??? If DC, what is the best way to make them run from a 9v battery? (i've read they need 5v) how do you make the 9v down to 5v

    I've tried using "@ __config _INTRC_OSC_NOCLKOUT..." code, but it wouldnt complie with this, so can i just set the tick box on my programmer to "int RC 1/0" or "int RC0" to make it use the internal oscillator?

    Thanks so much everyone!

    Regards,

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


    Did you find this post helpful? Yes | No

    Default

    628 or 628a have some difference, if the device list don't contain the 16f628A and there's no update, you can still try... but i doubt it will work. But there's probably some other software who support this type of programmer.

    WinpicProg, PonyProg, IC-Prog

    MAYBE............

    PIC really run on DC. the datasheet tell you the voltage range.

    To use them with a 9V source, you need a voltage regulator... something like the old and popular gandpa 7805, lm7805, ua7805

    @ __config _INTRC_OSC_NOCLKOUT will work ONLY if you use MPASM to compile your code. have a look to this eternal thread bellow...
    http://www.picbasic.co.uk/forum/showthread.php?t=543
    Steve

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

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


    Did you find this post helpful? Yes | No

    Wink Upwards compability ...

    Hi,

    You can use and program a 16F628A instead of a 16F628 ... but not a 628 instead a 628A.
    ... Due to enhanced memory ( programming algorithms sped up !!! )

    Alain

    PS also ... you can program an old 16C84 ( hi,hi ) selecting 16F84 ( not A !!! )
    ************************************************** ***********************
    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 " !!!
    *****************************************

  4. #4
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Something that helped me early on, and its going to seem odd, is a book about basic stamps. The reason I suggest a basic stamp book is they cover everything from basic electronics all the way to serial communications. The code is very close the PICBasic. Most of the PICBasic books expect that you know electronics and circuit design.

    "Programming and Cutomizing the Basic Stamp Computer" is a good one.

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


    Did you find this post helpful? Yes | No

    Wink FREE Basic course ...

    Hi Ben

    Always TONS of good and usable info and programming enlightments on the Parallax site ...

    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 " !!!
    *****************************************

  6. #6
    kunguz's Avatar
    kunguz Guest


    Did you find this post helpful? Yes | No

    Cool AC is the best

    Son what you need to do is plug your Microchip's Vdd to local electricity network and Vss to ground of the network. It will work more faster then any microprocessor; Believe me non try that before

  7. #7
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Oh come on be nice to the new ppl. Don't scare them away by giving bad info.

  8. #8
    Join Date
    Oct 2006
    Posts
    14


    Did you find this post helpful? Yes | No

    Default

    thanks for the replies guys!

    Made my first circuit, it went great

    Moving on to more advanced stuff now.

    Cheers.

Similar Threads

  1. Olympic Timer
    By Melanie in forum Code Examples
    Replies: 47
    Last Post: - 17th September 2008, 19:46
  2. Analog port newbie questions
    By rngd in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th March 2008, 11:38
  3. Newbie: Temperature measurements
    By Budda in forum General
    Replies: 10
    Last Post: - 30th March 2007, 09:56
  4. NEWBIE: Some basic questions using interrupts
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2006, 02:59
  5. Newbie has some questions
    By bartman in forum General
    Replies: 43
    Last Post: - 5th October 2005, 16:51

Members who have read this thread : 1

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