PIC is a brand of 8, 16, and 32 bit RISC microcontrollers manufactured by Microchip. "PIC" originally was an acronym for "Peripheral Interface Controller".

learn more… | top users | synonyms (8)

0
votes
0answers
16 views

probleme with pic24f code

im trying to write some code that wait that a pin change to continue but it dont work the code that i already have is ...
0
votes
1answer
61 views

sleep mode in pic16f1618/19

I am trying to reduce the power consumed by microcontroller pic16f1618, and hence I thought of using SLEEP(). All interrupts such as timer, and pin are disabled. The code is generated with the help of ...
1
vote
0answers
67 views

How to read Pic16F1703 program memory (With custom PIC programmer)

Context Following a tutorial, I build a simple PIC programmer hardware using the Raspberry Pi (google: rpp programmer). I tested it with the provided software for a ...
-2
votes
1answer
69 views

Pic24f microcontrller often restarts when placed in metal box

I have developed a vehicle tracking application , everything works fine nothing wrong in wrong condition. I want to check out the signal strength of the modem so i placed the modem in a Metal box , a ...
2
votes
0answers
65 views

XC8 pointer issue

I am struggling with the following code: ...
0
votes
3answers
70 views

Does several PIC12F683 pull-ups cause short circuit

I am connecting several PICs together by GP4 and GP5 pins, and I used their internal pull-ups to make pins high by default. If in all PICs pull-ups are enabled. Does connecting a lot of PICs together (...
3
votes
2answers
143 views

How does this PIC board achieve RS-232 communication without a line driver?

All the develooment boards I have seen yet with serial communication support usually have MAX232 line trasceiver. However, I have come across this Olimex PIC-LCD development board that does not have ...
1
vote
1answer
29 views

How to use multiple input ports for internal ADC of PIC18F4550?

Is it possible to use setChannel() command to switch between the inputs for the internal ADC of PIC18F4550 at the end of each conversion, e.g. from AN0 to AN1 and back, or register initialisation is ...
4
votes
3answers
73 views

PIC On-the-fly software updates over radio

I plan to run one of the 8-bit PIC microcontrollers (like PIC16F1938) connected to the radio-module (NRF24L01+). Suppose, that I use less, than a half of the available program memory, would it be ...
1
vote
1answer
213 views

Is it possible to use an opamp to generate 13V VPP for ICSP?

I have used a 34063 DC boost converter to generate a 13V VPP voltage for a PIC ICSP programmer, but would it be possible to use an opamp instead? The circuit pictured below seems to generate 13V (...
-1
votes
1answer
69 views

PIC reset on power off

Attached is the block diagram of my circuit. Input is 230 VAC. A SMPS module converts it to 14 VDC. The on board regulator then converts it further to 3.3 V. I have observed that many times when I ...
1
vote
0answers
27 views

Bootloader for PIC33FJ64GP706A - AN1094

I am trying to use AN1094 application Target source code and x86 source code for the target PIC33FJ64GP706A. In given source code example linker file attached 710 series uC. Replaced with 710.gld with ...
0
votes
1answer
73 views

Incorrect Manchester encoding from PIC microcontroller

I have written a C program for the PIC18F4620. My PIC works as an encoder, which encodes a data stream in Manchester code. My output is rd7, where it should appear the Manchester code, but only ...
1
vote
3answers
59 views

PIC Breadboard Circuit Question

Noob question inbound: I'm getting into PIC programming, and I'm using a kit to build a microcontroller setup on a breadboard. Following the instructions here: http://www.bypic.co.uk/index.php/...
0
votes
0answers
53 views

Programming an MCU pic16f1703, what mean: Begin internally/externally timed programming ?

Context: In the process of programming an MCU of type PIC16F1703, I started by having a read of the memory programming specification. Due probably to my leak of ...
0
votes
2answers
47 views

Bit shifting and PORT value on PIC18F4520

I am working on a PIC18f4520. To do my test, I have connected a led to the pic. The following items are the steps I would like to do : Save the value of the port set for the LED (which blinks ...
1
vote
1answer
70 views

MPLAB 8.9 won't launch

I am running windows 7 professional 64-bit and up until this week was running MPLAB 8.92 IDE. Now I get a brief look at the splash screen and the IDE refuses to launch. I downloaded and ran the ...
2
votes
0answers
51 views

PIC32MX350F256 Errata , IO open Drain Issue

In one of our Product we used Microchip micro controller ā€œ PIC32MX350F256Lā€. Attached image is small part of circuit showing uC interfacing with a SPI device. We are using bit banging communication ...
0
votes
0answers
34 views

ISIS Simulation “is not running in real time due to excessive CPU load”

Here is an animation showing the problem in action : https://gfycat.com/ImmaterialNextGermanshorthairedpointer I press Play, it works, I stop and play again, it stops working until I remove the ...
0
votes
1answer
43 views

Loading a HEX file with PICkit 2

I'm trying to upload a hex file, generated from multiple C source files with xc8 in Proteus, into a PIC18F4520. Usually, I don't have any problems doing this but ...
2
votes
2answers
186 views

PIC18F1220 production build of C code not working

I have this simple code which I wrote to test that my programming circuitry works properly and compiles fine on xc8 pic c compiler: ...
0
votes
0answers
49 views

PIC18 strange bug

I am experimenting with the PIC18F46K80 in assembler with MPLAB 3.30 and MPASM 5.67. While execute some simple programs I noticed a strange bug which made it impossible for me to use the PIC in any ...
0
votes
0answers
46 views

No clock signal on SCL pin of PIC16F1618

I have been trying to configure I2C on PIC16F1618 microcontroller. I am using MPLAB X IDE, along with xc8 compiler. The MSSP code is being generated through MPLAB code configurator. I have set the ...
0
votes
1answer
34 views

dsPic33f : How to interface ECAN with CAN High/Low Signal

I want to start communication between (dsPic33f) ECAN_Module & PCAN-USB ADAPTER I have downloaded a demo code AN1249 from microchip website. I am using Explorer-16 board for Testing. Now the ...
0
votes
1answer
39 views

What is the highest pulse rate possible using PIC12F683 measuring the period of a square wave

What is the highest pulse rate possible using PIC12F683 measuring the period of a square wave? In Chapter 3 tip#1 of Microchip Tips and Tricks, it provides a great tip on how measure the period of a ...
0
votes
2answers
75 views

pic24 UART receive data is invalid

Hello i m writng a program for UART receive interrupt for PIC24FJ64GA306 i m receiving a data which is in format of 0xAAXXXXXXXX, where data after AA can be anything... the data transmityted through ...
0
votes
1answer
47 views

How to generate 1min timer interrupt in PIC24F

I m trying to generate a 1 minute interrupt using pic24F seires... To be specific PIC24Fj64GA306 Here is the code snippet ...
0
votes
1answer
54 views

Can I dim my LEDs even more?

I have a PIC16F1828. I am using PWM in order to control brightness of bunch of LEDs. My goal is to dim those LEDs to the maximum point. Currently they are not dim enough. System clock runs at 32Mhz....
2
votes
1answer
804 views

Can some body help me understand some parts of a schematic circuit?

I have circuit schematic, and I do not understand what are the parts in red circles and what do they do. The schematics are from a movement sensor using a PIC micro controller, infrared LED and an ...
0
votes
1answer
60 views

CAN protocol : How to start with CAN interface with Microcontroller [closed]

I want to communicate with VFD (variable frequency drive) via CAN open protocol. I have never used CAN before. So can anyone Guide me from where Should I start with ? Any link or Suggestions would ...
-1
votes
1answer
52 views

Can I use external clock as SCK in master mode (dspic33e)?

I am using a dspic33ep512mc806 and I want to use two different SPI modules with the same clock (not only at the same frequency but one clock shared by both modules) and both modules have to be master ...
1
vote
1answer
96 views

Why do we need a pull-up resistor when there is a floating connection at the base of a transistor?

Let's say that the base is connected to any normal PIC. My teacher was talking something like, "There will be a floating output at the base when nothing is connected so we use the R7 (10k) for safety."...
1
vote
1answer
40 views

How to add header file for PIC24F08KL401 in MPLAB on MAC

How can I add header file for PIC24F08KL401 in MPLAB X IDE on MAC? I have found few tutorials how \ where to find these files ('PIC24F08KL401.h') for example on windows, but none on how to do it on ...
0
votes
2answers
73 views

Can Putty be used to send serial data from the PC to the PIC? How?

I am looking for a simple program that can send data down the serial to the PIC. I have used Putty with USB-UART converter on my laptop. I have made the PIC->PC communiation work which is frankly a ...
0
votes
0answers
33 views

PIC 12f683 comparator reference voltage setup

I'm currently trying to set up my PIC 12f683 to run an interrupt when receiving a voltage over 0.2V from an amplified microphone input using the comparator module. Microphone aside, I have lined up a ...
-1
votes
1answer
50 views

Using other pic microcontrollers instead of the PIC12C508 (arcade monitor protection circuit [closed]

I want to use another microcontroller because the PIC12C508 isn't available in my country (philippines) I want to use the PIC16f628a or PIC12F510 but I don't know what pins to use and if they're ...
6
votes
2answers
178 views

Is anything besides rx and tx actually used in rs232 nowadays?

Whenever I come across a PIC or even a FPGA project that is communicating over the serial port with a PC; only Rx, Tx and power are connected on the 9 pin connector and the other pins/signals are ...
0
votes
0answers
69 views

BLDC Motor : Control Speed digitally using Microcontroller

I am stuck with a logic to control the speed of BLDC Motor via Microcotroller. I have a BLDC Motor with Electronic fitted. It requires following signal to drive : +24v 0v or GND Enable ...
1
vote
1answer
47 views

PIC10F200 internal clock

I am trying to calibrate the internal clock to turn on a output once for 3 seconds every 7 days within a few minutes accuracy. I was able to accomplish this using the OSCCAL register in the chip. The ...
0
votes
1answer
86 views

How to disable a microcontroller port once enabled?

I'm using MP430 series microcontroller. The functionality of the code is to do a specific task and then don't do anything (sense the tilt and glow an LED in a fixed amount of time). But due to some ...
0
votes
1answer
55 views

PIC18F2550 PWM Square wave generator

I am trying to generate a square wave on 50% Duty Cycle using my PIC18F2550. The signal is to be outputted through a loudspeaker. The frequency does not really matter, as long as it is in the hearing ...
0
votes
3answers
80 views

How to connect a dsPic30f2010 to pickit3 icsp

I recently bought a pickit3, I have a development board for the dsPIC30f but it the pickit3 doesn't seem to be able to read the chip. When I try to connect to the chip, I have the error: Target ...
0
votes
1answer
59 views

Variations in pulses generated and read by a uC

I have a 2 uC's(LPC1778 and a PIC), that perform 2 separate functions. The PIC generates pulses that are coded,where each bit of the code has a pulse duration of 1ms and a complete code is 8 bits long(...
3
votes
1answer
75 views

SPI: How does communication work with a device that has multiplexed SDO and SDI signals?

Yes this question is related to MCP4131 which is a 8 pin digital potentiometer. I have never seen/heard/used multiplexed SPI before so am trying to clear some confusions. The datasheet shows ...
0
votes
1answer
34 views

Programming USB OTG PIC32 through USB in MPLAB

I have a PIC32 that has USB OTG. How would I program it through a USB cable in MPLAB? Does it work out of the box of does it need additional software.
1
vote
1answer
69 views

Pull high in software

I was porting Arduino library ps/2 mouse to pic and I wondered why pull high works when declaring the pin as an input and then making it high and that worked for pic and Arduino alike, but when I ...
0
votes
2answers
109 views

PIC16f877A: Working in Debug mode not working in Release mode

I am facing an Issue with my PIC16f877A controller. Its working in Debug mode with PicKit3 connected. But when I program the device for release mode, It gives no sign of working. I am using MPLAB X ...
2
votes
3answers
89 views

wav file audio samples are signed, how does DAC deal with signed numbers when it does not have negative supply?

I was looking into wav audio file specification, they may hold the pulse coded modulation data as signed our unsigned integers as well as floating point values. How does a DAC deal with signed ...
-6
votes
1answer
87 views

How does I2C work? [closed]

WARNING: I HAVE NEVER DONE I2C BEFORE. Hi. I need to connect 2 I2C devices to a PIC microcontroller with a single I2C port. I saw this answer where two I2C devices were connected to an Arduino. ...