• AVR Freaks

Hot!COMMUNICATION WITH EUSART PIC16

Author
sardila
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2019/07/16 06:10:33
  • Location: 0
  • Status: offline
2019/07/16 23:12:42 (permalink)
0

COMMUNICATION WITH EUSART PIC16

Hello all,
 
I'm working in the design of a basic bike computer. For that, I'm using microcontroller PIC16F887. This pic is connected, via ant+, with speed and cadence sensors. Here is where my problem starts. 
 
These sensors, which use "ant+" protocol, send information with a rate of 4 Hz. This information is composed of 7 Bytes, and is trasnferred to the pic via UART. My question is: IS IT POSSIBLE TO TRANSFER TO PIC VIA UART THIS DATA WEIGTH? OR SHOULD I USE ANOTHER MICROCONTROLLER?
 
Thanks in advanced for your help.
#1

2 Replies Related Threads

    ric
    Super Member
    • Total Posts : 24567
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: COMMUNICATION WITH EUSART PIC16 2019/07/18 13:44:23 (permalink)
    0
    For starters, yes I would use a more modern controller. That one is ancient.
    It could do the job, but there are better/cheaper PIC16F devices available from Microchip now.
     
    I found the protocol description at https://www.thisisant.com...e-chipsets-and-modules
    The "4Hz" you specify must be how often values are sent, it is not the serial baud rate.
    That looks like it is selectable from 1200 to 57600 bps, with 4800 being the default speed.

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #2
    jtemples
    عُضْوٌ جَدِيد
    • Total Posts : 11421
    • Reward points : 0
    • Joined: 2004/02/13 12:31:19
    • Location: Southern California
    • Status: offline
    Re: COMMUNICATION WITH EUSART PIC16 2019/07/18 14:21:21 (permalink)
    0
    Almost every PIC in existence can trivially do what you're trying to do.  But as ric said, that PIC is a terrible choice, not because it can't do it, but because it's primitive and expensive.
     
    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5