• AVR Freaks


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)


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.

2 Replies Related Threads

    Super Member
    • Total Posts : 25585
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: offline
    Re: COMMUNICATION WITH EUSART PIC16 2019/07/18 13:44:23 (permalink)
    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!
    عُضْوٌ جَدِيد
    • Total Posts : 11576
    • 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)
    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.
    Jump to:
    © 2020 APG vNext Commercial Version 4.5