Loading ...
Sorry, an error occurred while loading the content.

Moving from 16F628 to 16F819

Expand Messages
  • ggindele
    I need to interface with 3.3V incoming signals on 5V system, so I m going to move my 16F628 design to 16F819 to use the A/D. I found only one JAL example for
    Message 1 of 4 , Feb 1, 2004
    • 0 Attachment
      I need to interface with 3.3V incoming signals on 5V system, so I'm
      going to move my 16F628 design to 16F819 to use the A/D. I found
      only one JAL example for 819, this is Voti's b818i-2.jal. Do we have
      any more support for 819? Any example for using the A/D on 819?

      Thanks,
      Gabe
    • Eur van Andel
      ... We have: http://groups.yahoo.com/group/jallist/files/Eur_van_Andel/Analog.jal Do read the datasheet though: the channel selection was written for an 877
      Message 2 of 4 , Feb 1, 2004
      • 0 Attachment
        On Sun, 01 Feb 2004 15:15:40 -0000, "ggindele" <ggindele@...> wrote:

        >I need to interface with 3.3V incoming signals on 5V system, so I'm
        >going to move my 16F628 design to 16F819 to use the A/D. I found
        >only one JAL example for 819, this is Voti's b818i-2.jal. Do we have
        >any more support for 819? Any example for using the A/D on 819?
        We have:

        http://groups.yahoo.com/group/jallist/files/Eur_van_Andel/Analog.jal

        Do read the datasheet though: the channel selection was written for an '877 and
        might need some modification for an '819. I use this lib for the 819 all the
        time, but I have only one analog input.

        --
        Ir. E.E. van Andel, Fine Wire Heat Exchangers, Fiwihex B.V. www.fiwihex.com
        Wierdensestraat 74, NL-7604 BK Almelo, The Netherlands eur@...
        phone +31-546-491106 fax +31-546-491107 mobile +31-653-286573
      • Jake Anderson
        rather than using the A/D on the PIC if you want, a comparitor or 7407 can bring the lines up to 5V logic
        Message 3 of 4 , Feb 1, 2004
        • 0 Attachment
          rather than using the A/D on the PIC if you want, a comparitor or 7407 can
          bring the lines up to 5V logic


          > -----Original Message-----
          > From: ggindele [mailto:ggindele@...]
          > Sent: Monday, 2 February 2004 1:16 AM
          > To: jallist@yahoogroups.com
          > Subject: [jallist] Moving from 16F628 to 16F819
          >
          >
          > I need to interface with 3.3V incoming signals on 5V system, so I'm
          > going to move my 16F628 design to 16F819 to use the A/D. I found
          > only one JAL example for 819, this is Voti's b818i-2.jal. Do we have
          > any more support for 819? Any example for using the A/D on 819?
          >
          > Thanks,
          > Gabe
          >
          >
          >
          >
          >
          >
          > Yahoo! Groups Links
          >
          > To visit your group on the web, go to:
          > http://groups.yahoo.com/group/jallist/
          >
          > To unsubscribe from this group, send an email to:
          > jallist-unsubscribe@yahoogroups.com
          >
          > Your use of Yahoo! Groups is subject to:
          > http://docs.yahoo.com/info/terms/
          >
          >
        • Eur van Andel
          ... Now I see it. This is silly. ... Most PIC pins are TTL inputs, which are fine with a high level of 3.3V. Check page 138 and 45 of the PIC628a datasheet:
          Message 4 of 4 , Feb 2, 2004
          • 0 Attachment
            On Sun, 01 Feb 2004 15:15:40 -0000, "ggindele" <ggindele@...> wrote:

            >I need to interface with 3.3V incoming signals on 5V system, so I'm
            >going to move my 16F628 design to 16F819 to use the A/D.
            Now I see it. This is silly.

            >PIC16F818/819
            >15.4 DC Characteristics: PIC16F818/819 (Industrial, Extended)
            >Input High Voltage
            >I/O ports:
            >D040 with TTL buffer 2.0V . VDD V 4.5V ¡ÂVDD ¡Â5.5V
            >D040A 0.25 VDD
            Most PIC pins are TTL inputs, which are fine with a high level of 3.3V.

            Check page 138 and 45 of the PIC628a datasheet: port_b is TTL input.
            No need for analog inputs.

            If you want 5V -> 3.3V outputs, you will need resistors.
            --
            Ir. E.E. van Andel, Fine Wire Heat Exchangers, Fiwihex B.V. www.fiwihex.com
            Wierdensestraat 74, NL-7604 BK Almelo, The Netherlands eur@...
            phone +31-546-491106 fax +31-546-491107 mobile +31-653-286573
          Your message has been successfully submitted and would be delivered to recipients shortly.