PIC16F877 to PC via max232 HELP!!


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default

    Hi Terry,

    Yeah, I'd love to do Assembler as well. I was 2nd in my class when I graduated in '83. And most importantly, I actually loved writing in Assembler, it came naturally.

    But a few, ahem, years have gone by since then and I haven't touched Assembler since. I figure I'll get back into it slowly, once I get this project done. Assembler is the best way to go, total control. But I'm taking WAY longer than originally anticipated when I started this. I didn't even expect to program MCUs when I decided to make my little controller; just buttons and LEDs. Yeah, right...

    Ok, so I knew nothing of electronics when I started 18 months ago, but hey, I'm managing. LOL I'm a little slow in some areas (like 99%), but once I get something going, I keep building on it. I'll stick to BASIC Pro for now, since BASIC was the 1st language I learned, and that was, ahem, the day it came out.

    Fortran, Pascal, RPG, COBOL, name the oldies, I've done them. It's the new generation languages from C and up that I lack. I never thought I'd say that I wished I knew Assembler on the tip of my fingers again though...

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    sundaecone's Avatar
    sundaecone Guest


    Did you find this post helpful? Yes | No

    Default follow-up question T_T

    wow, this thread has been extremely useful, but i have a follow-up question..
    i noticed that the crystal that loredana used was a 20MHz, i just wanna know what the maximum baud rate is for this crystal and also for the 4MHz crystal?
    thanks so much!!! ^_^

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Based on internal USART: all will depend wich BRG setting you're using and % error you want to deal with..

    Let's say PIC16F877 @20MHZ, all the answers are in the datasheet section 10 Table 10-4. Like every PIC that have USART.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Direct PIC to PC without MAX232
    By acjacques in forum Serial
    Replies: 14
    Last Post: - 23rd October 2014, 21:32
  2. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  3. PIC16F877 sends/receives data to/from a PC
    By ovidiu in forum Serial
    Replies: 1
    Last Post: - 2nd December 2006, 14:09
  4. USB interface from PIC16F877 to PC
    By headshouter in forum USB
    Replies: 0
    Last Post: - 26th February 2006, 04:58
  5. connecting pic16F877A to pc via max232
    By zikha in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th January 2006, 15:31

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