Menu

Serial Communication

Help
H2TECH
2011-12-23
2013-05-30
  • H2TECH

    H2TECH - 2011-12-23

    It's been sometime since I used PIC's, but can anyone help get started with Serial Communication. I have 12f629's, 12f675's, and 16f688's ready for use, but I don't know where to start. Basically, I need a rf transmitter and a rf receiver, which can communicate and send variables to each other. I believe I know how to modulate signals into RF, but I need a PIC to use serial communication to send data. Any help would be much appreciated, considering I am completely lost when Serial PIC programming comes about.

     
  • gcha44

    gcha44 - 2011-12-23

    Hi,
    If you want measuring analog values you can use 16F88 (preferably)  or 12F675 , but if you have only digital values , you can also use 12F629 . In all these cases you can read Help GCBasic  -Serial communications chapter /RS232 communications
    -16F88 has USART and A/D modules , so you can use RS232 hardware communications  ( see Help GCB /Serial communications /RS232(Hardware))
    -12F675 has A/D module but no USART module so you can use RS232 software communications (see Help GCBasic /Serial communications/RS232(Software))
    -12F629 has no A/D and USART modules so you can use RS232 software communications .
    Regards
    GC

     
  • H2TECH

    H2TECH - 2011-12-23

    Thanks for the reply.

    My project goal is to simply have one pic transmit variables over to multiple receiving pic's wirelessly. What I need is to know how to do it with the software serial communication. Is there suppose to be data and clock pins or just one selected pin for communication only? Also, since I'm transmitting to different pic's, is it possible to specify or address each independently?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.