RA.4 Open collector,...


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Bruce, thats how I have it, However, I have brown out reset enable on my winpic programmer software, tried it with PICkit3, PICkit2 and it won't work, BUT if I turn off the brown out reset manually in WINPIC programmer, It WORKS
    But I am going from 9v input to my breadboard, then LP2950ACZ-3.3 (3.3V) regulator to my processor, sure would be nice to use the low voltage (brown out).

    Any ideas?

    Thanks

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    If turning an LED on is tripping reset you might want a larger cap on the reg output or larger series resistor for the LED. BOR definitely shouldn't trip unless you're dropping a lot of power.

    Edit: Check the datasheet for Vbor. You may already be running marginal.
    Last edited by Bruce; - 24th August 2010 at 22:46.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3


    Did you find this post helpful? Yes | No

    Default

    I'll do that this evening, Thanks to everyone for your help.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    I did read about the Vbor, but also in the electrical specifications, it state minimum brown out reset voltage is 3.65V. Using a 3.3V regulator I rekon that cuts that out of the picture.

    Well, I don't mean to get off of my original thread but since I am here and ya'll are reading this...
    When using Darryl Taylors Interrup's and MPASM how does one set the config bits,thats where I can turn it off, I have been using this PBP compiler with sucess :
    @ DEVICE PIC16F628a,XT_OSC
    @ DEVICE pic16F628a, WDT_OFF
    @ DEVICE pic16F628a, PWRT_ON
    @ DEVICE pic16F628a, MCLR_ON
    @ DEVICE pic16F628a, BOD_OFF
    @ DEVICE pic16F628a, LVP_OFF
    @ DEVICE pic16F628a, CPD_OFF
    @ DEVICE pic16F628a, PROTECT_OFF
    I have even opened the 16F628A.INC in the PBP directory and it is turned off with the above added to my code when I compile using MPASM it won't compile, I get a bunch of errors. If I delete the above it compiles fine.
    Meanwhile, I am reading Melanie's post again to see what I've missed: http://www.picbasic.co.uk/forum/cont...o-your-Program
    Thank you
    Last edited by tazntex; - 25th August 2010 at 15:58.

  5. #5
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240


    Did you find this post helpful? Yes | No

    Default

    Hi;

    You must do it like this;
    Code:
    @ __config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_OFF & _LVP_OFF & _CP_OFF &_PWRTE_OFF
    See this post;

    http://www.picbasic.co.uk/forum/show...hlight=16f628a
    Thanks and Regards;
    Gadelhas

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Thanks Gadelhas for the fast reply, I tried to compile using that and I get this error:


    @ __CONFIG _XT_OSC & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_OFF
    DEFINE OSC 4
    CMCON=%00000111
    VRCON = 0
    PAUSEus 10
    TRISA = %00000110
    TRISB = %11110001
    PORTA = %00000000
    PORTB = %00000000
    OPTION_REG.7 = 0
    OPTION_REG.6 = 0
    rf var porta.4

    main:
    low rf
    pause 500
    high rf
    pause 500
    goto main
    Error[118]c:\program~1\testled.asm 83 : overwriting previous address contents (2007)

    What does this mean?

    Many Thanks

  7. #7


    Did you find this post helpful? Yes | No

    Default

    Perhaps I could use the external brown out protection with the 3.3V regulator as shown on the datasheet, I like the Example2 version.

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