alternative Pin for vref


Results 1 to 7 of 7

Threaded View

  1. #6
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by ruijc View Post
    Hi all,

    I have a project envolving a 12F675 pic reading a LM35 sensor.
    The problem is that i'm using 5V as power and it's too much for the ADC resolution.

    Also, i dont have any pin left that i can use for a lower voltage input for vref.

    I have as inputs:
    One pin for the sensor and one for a button
    For outputs i have one pin for 2 leds and one for the serial out.

    Also have 2 extra for the external eeprom data ( SCL and SDA ).

    Is there a way i can get a better resolution with this setup or do i need more pins ?

    The only thing i thought of was to lower the source power to 3V using a voltage divider after the 5V regulator and try to power all ( pic + leds + eeprom ) with 3V.

    EDIT: I'm guessing that this way it will not work because it will not have the 5v needed to serial out the data to rs232
    .

    You mentioned SCL and SDA for the eeprom? Many EEPROMS of this type can run at lower voltages like 1.8V or higher. Check your datasheet (see for example 24LC08 from microchip). Also, these pin names imply Synchronous Serial Data exchange, not RS232.

    you should be fine at the lower voltage (provided your EEPEOM can run that low). However the LM35 needs 4 VDC so run the PIC, the LEDs and the EEPROM at 2.5-3V and the LM35 at 5 V. ... I agree with Dave in post #2
    Last edited by paul borgmeier; - 15th January 2008 at 07:53.
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

Similar Threads

  1. Is this a K Type sensor?
    By jessey in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 21st November 2009, 13:55
  2. DS1820 with 16f688
    By jessey in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2009, 05:07
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 17:07

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