pic microcontroller

  1. Khisraw

    The Program stops running as sensors detects something

    Hi, I am using the PIC12F1571 MCU in our latest design. It is connected to two sensors (TSSP58038- Proximity, IRA-S210ST01- PIR sensor) with analog input. The PIR is connected to RA0 and the Proximity sensor is connected to RA2. The program: As soon as the PIR sensor detects anything(Goes to...
  2. M

    How do I program a PIC to save sensor data to a CSV file?

    I don't know if this has been asked before, but I'm doing a project where I need to sense temperatures and humidities of an enclosure, using a PIC32 microcontroller. Is there a way to save the data from the sensors to a CSV file? Thanks in advance!
  3. Z

    PIC- making potentiometer match second potentiometer not working

    I'm tryng to make a DC motor into a servo motor. The motor axle has a gear that is in sync with a gear on a potentiometer (MOTORPOT in the code) and I have another potentiometer that works as an input that the motor potentiometer should match in position however I set this pot(CONTROLPOT in...
  4. P

    Designing PI controller anti-windup

    Hello everyone, I am having some doubts about how to insert an anti-windup on my Microcontroller PIC dsPIC33EV. I designed a PI controller to control the charging of a batterie and I think all expect the Anti-wind up is correct. I will insert a screenshot of the C code I wrote of the Controler...
  5. F

    External Interrupt on PIC16F887 not working // MPLABX XC8 C

    I would need some help with the external interrupt on pin 33 on the PIC16F887(PDIP). Basically I have tried everything, went by the datasheet, and the interrupt ended up not working. I'm 99% sure, that I have the hardware working because it worked with an Arduino. I am using an encoder, and both...
Top