Questions tagged [pic]

For questions about any smart IoT devices based on the PIC 8, 16, and 32 bit RISC microcontrollers manufactured by Microchip.

2 questions
13
votes
1 answer

Cryptographic algorithms for PIC16 microcontrollers

I'm planning to implement my own home automation system. In will contain the central Raspberry PI server and a number of sensors and switches based on 8-bit PIC16 microcontrollers which are communicating to the central Raspberry PI over the radio…
Boris Brodski
  • 401
  • 3
  • 10
3
votes
1 answer

Finding the time interval between two events using CCP on PIC18f4520

I'm trying to calculate the time elapsed between two events using the CCP on PIC18F4520. The events are triggered by two sensors that are on the ccp1 and ccp2 ports. I've assigned a prescalar of 8 to the T1CON and I'm using a crystal of 16 MHz.…