Schmitt trigger on IRED xmtr


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    I need to ask also....

    On the 16F628a, if I CMCON = 7 to turn the comparators off....
    do set TRISA so the xtal pins are inputs?

    On my rcrvr, I'm using A0 for SERIN and the xtal is on A6 and A7

    so...

    TRISA = %11000001 ?

    I was also mixed up on the MCLR function.

    The 16C65B I've used to date had to have a 4.7k to V+ or they won't function.

    I had had MCLR configured as "reset" in the epic software....only to find out it needed to be an "input" for the chip to work.

    (I still don't get that one).

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    Michael, The reset function can be set to internal, leaving the reset pin available for external use. However this pin can only be used as an input pin and has NO output drive capability. Its all in the data sheet for the processor you are using.

    Dave Purola,
    N8NTA

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Thanks Dave, so in EPIC language that means choose "input" ?

    When I chose "reset" in the Epic software and had a 4.7K to V+, the PIC wouldn't function at all.

    I chose "input" and it works.

    So, will the chip reset regardless of which I choose?

    I am going to look at my breadboard this morning and hardwire the SEROUT/SERIN to see if it's an infrared problem.....don't know why I didn't think of that yesterday.

    It's called middle aged brain atrophy.

    It has to be something simple....maybe in my chip setup. I've always used the 16C65B OTP part....this 16F628 is new to me.

Similar Threads

  1. PIC16F628a Schmitt Trigger Input
    By yankee in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th March 2009, 15:05
  2. Replies: 2
    Last Post: - 8th February 2009, 06:10
  3. Need Help... 16f630 Schmitt Trigger
    By tohu thomson in forum mel PIC BASIC
    Replies: 1
    Last Post: - 13th August 2007, 16:13
  4. build in schmitt trigger
    By mischl in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 5th April 2007, 17:16
  5. 16F628A ired with battery
    By Michael in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th March 2006, 14:56

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