16f1847 hserout


Closed Thread
Results 1 to 9 of 9

Thread: 16f1847 hserout

  1. #1

    Default 16f1847 hserout

    Hello Folks -- going to (hopefully) use a 16F1847 with HSEROUT. Always have used the software SEROUT before so this is new territory.

    To possibly save time, could someone tell me the commands to configure this chip for using the UART and HSEROUT at 9600 baud please. So much easier to just ask then spend all day searching.

    BIG THANKS for any help.

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,383


    Did you find this post helpful? Yes | No

    Default Re: 16f1847 hserout

    So much easier to just ask then spend all day searching
    how are you off for socks and underpants ?
    Warning I'm not a teacher

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,795


    Did you find this post helpful? Yes | No

    Default Re: 16f1847 hserout

    Do this:

    On page 154 of the Pic Basic Reference Manual copy the DEFINES and test them to confirm that your circuit works as expected at 2400 baud.

    I know it is not exactly what you want but after that giant leap I am sure you will be able to do next steps forward.

    Ioannis

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: 16f1847 hserout

    Thanks.
    My ultimate goal is to interface a 16F1847 to a Raspberry PI 3B with RS485. The PI UART though needs 3.3v but I do see that the 16F1847 will work at 3.3V ? Can anyone verify that it performs reliably at that voltage?

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: 16f1847 hserout

    3.3v seems to be working well so far. I breadboarded the pic feeding into the PI uart.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,795


    Did you find this post helpful? Yes | No

    Default Re: 16f1847 hserout

    If the datasheet says it works on 3.3Volts there is no doubt that it will. Trust it.

    Ioannis

  7. #7
    Join Date
    Jan 2014
    Posts
    84


    Did you find this post helpful? Yes | No

    Default Re: 16f1847 hserout

    100% 16f1847 work at 3,3v , I worked many time.

  8. #8


    Did you find this post helpful? Yes | No

    Default Re: 16f1847 hserout

    Fellas --

    Is there any way to simply flip a byte so that MSB becomes LSB or vice versa?
    Can't remember what the default is but I need to reverse it (or redo my *^% switches).

    Thanks.

  9. #9
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    Did you find this post helpful? Yes | No

    Default Re: 16f1847 hserout

    Code:
    FOR i = 0 to 7
    Correct.0[7-i] = Mistake.0[i]
    NEXT
    or
    Code:
    Correct = Mistake REV 8

Similar Threads

  1. Micro code studio -- 16F1847
    By Michael in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th February 2020, 22:08
  2. Micro code studio -- 16F1847
    By Michael in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 9th February 2020, 00:01
  3. Code verification errors 16F1847
    By wjsmarine in forum mel PIC BASIC Pro
    Replies: 25
    Last Post: - 7th May 2018, 01:33
  4. Hserout
    By mazytis in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 21st May 2015, 04:10
  5. 16F1847 Usart and I2C
    By Seahound1 in forum Serial
    Replies: 6
    Last Post: - 18th December 2012, 21:41

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