using gp3 12f629


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2005
    Location
    down south
    Posts
    90

    Question using GP3 12f629

    A little help please
    gp3 on the 629 does not have prog.weak pullup.
    and It can only be used as a input
    so if I use it as a "low" input just add say a 10k resistor between pin, switching device and vss and If use it as a "high" input, Pin ,resistor, switching device and Vdd.
    more of the story
    I have alway had a 10 resistor from Vdd to gp3. "Why" because the Guy that help me get started alway had it that way on the drawings he sent (his help is no longer avable) and he never used it as a input but now as I expand my playing with the 629 I would like to use it.
    GP3 is used for MCLR / Vpp If it matters I don't program in place I remove and program with pickit. Iam not sure about the master clear part
    thanks
    Last edited by grounded; - 23rd August 2005 at 02:55.

  2. #2
    Join Date
    Sep 2004
    Location
    Tallinn, Estonia
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Hi!
    Yes, this kind of arrangement is possible. I have used GP3 as an input for several circuits, the R-dimmer for instance. But note: better connect a protecting diode from GP3 to +U (power). Without it the device might spuriously reset if your input voltage somehow goes little higher than +U .
    Of course you loose reset input but if you configure the device with power-up timer ON, MCLR OFF, it works fine.

  3. #3
    Join Date
    Aug 2005
    Location
    down south
    Posts
    90


    Did you find this post helpful? Yes | No

    Default

    thanks Felch
    just to make sure something like a 4001 diode and anode to GP3
    and thanks for the MCLR off and power up on. config. changes was going to be my next ? And I am sorry for not being real smart on this stuff trying to learn but what effect will not having the reset cause?
    thanks again

  4. #4
    Join Date
    Sep 2004
    Location
    Tallinn, Estonia
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Hi!
    Reset will cause starting your code from beginning. In most likely position, of course, Murphy's law really is phundamental .
    . You can not simulate it, it's a hardware design error. In MBLAB sim. everything works fine. I made this mistake, then became suspicious about feeding signal to MCLR input. Changed pin and - voila - everything worked splendidly. I asked Microchip about the phenomena, they admitted that if signal amplitude on MCLR rises above recommended values, everything might happen. Anyway, after connecting a diode (1N4148 in my case) no more mysteries took place.
    Btw, it was signal from MIC amplifier cathching whistle sounds.
    Power-up timer makes no harm. Without it i'd use software timed wait loop before doing anything serious. Helps a lot! Especially in case of cheap and noisy power supplies...
    The timer delays all processor activities for some time after powering on. Just like having a cap connected to reset pin but...now you can use reset pin for other purposes. I think it is a useful feature.
    Last edited by Felch; - 23rd August 2005 at 21:05.

  5. #5
    Join Date
    Aug 2005
    Location
    down south
    Posts
    90


    Did you find this post helpful? Yes | No

    Default

    thanks again I will be using a reg. 5v from batterys And I would like to take GP3 low to trigger, my code is simple stuff using Pauses between diffrent output. and somtime sleep, refresh, and interup and a few Vars here and there
    by triggering low ( using a 2222 transitor ) would the would I still need the diode or have to worry about reset
    thank you for you time and help, I a enjoy doing this just hate to bother people with my ?'s

Similar Threads

  1. 12f629 config settings
    By Dennis in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st December 2009, 22:39
  2. Basic help for 12F629
    By Gene Choin in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd September 2009, 04:06
  3. GP3 Funtion on PIC10f202
    By kessral in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th March 2009, 19:49
  4. Servo control with 12F629
    By achilles03 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd June 2005, 23:34
  5. wierd problem with 12f629 Need Help Despretly
    By Nadeem in forum Off Topic
    Replies: 1
    Last Post: - 15th June 2005, 20:59

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