PIC is a brand of 8, 16, and 32 bit RISC microcontrollers manufactured by Microchip. "PIC" originally was an acronym for "Peripheral Interface Controller".
1
vote
2answers
86 views
How does a specific pin in a port change its state (PIC Microcontroller)? Software vs Hardware
How does, for instance PortB.B0 = 1; command change the state of a specific pin in a microcontroller.
Microcontroller usually has a 8 bit data line, meaning it will write and read from the entire ...
0
votes
1answer
35 views
Is it possible to change Roving rn-171 WiFly module device configuration through SPI and not UART?
I am interfacing rn-171 WiFly module with PIC18F27J13 chip.
I want to save both USARTs available on the PIC for other purposes.
I am wondering whether I can just connect the Roving SPI pins to the ...
1
vote
0answers
41 views
Chipkit Uno32 Debug with mplabx
Hello guys I bought a good night chipKIT uno32 to use it with projects but with the language of c32 with IDE MPLABX and pickit 3, everything went well but when I want to debug a project says disposito ...
2
votes
2answers
116 views
Variable declared in code but doesn't exist in memory
I declared some variables and matrices globally in PIC16F887A code, but when I simulate that code on Proteus, one of the matrices doesn't exist in the "PIC CPU variables" window, while all the other ...
0
votes
0answers
28 views
dsPIC30F external soubroutines
I'm having trouble migrating from a PIC18F device to a dsPIC30F (4013 in particular). I'm using MPLAB with ASM30 as compiler. So as the subject suggests the issue are extern subroutines - and by that ...
1
vote
1answer
85 views
What could cause PIC GPIO pins to fail short to ground?
I have a PIC18F2420 in a design that has now had two instances of the Port C0 pin failing short to ground. The first instance, we literally finished some testing, and went home for the night. When we ...
2
votes
2answers
69 views
Which could be the best solution for Wifi Card for a project
I'm new so sorry if my title isn't the best. I wanted to know (as I google it and didn't find a satisfactory answer) where can I find a Wifi Card connection for a project.
I have a little device I ...
0
votes
3answers
114 views
PIC microcontroller memory limitations
I am trying to program a PIC10f202 using the XC8 compiler to compare the value of a timer to a variable which will be a function of a look-up table. Here is a sample code :
...
-3
votes
1answer
74 views
Interfacing PIC16F877A with HC 05 Bluetooth module
I am a newbiew in embedded hardware.I have a PIC16F877A and a HC 05 Bluetooth module. I want to interface the module with PIC. I am looking for a good tutorial on how to do that... I have googled but ...
1
vote
1answer
41 views
spi interrupt code
I am trying to let two uC talk to each other. Both chips are from dsPIC33EP family. The slave will respond according to what master has sent to it. My question is, since SPI is full-duplex, would it ...
4
votes
2answers
206 views
LEDs not working, Simple :)
Objective
I am trying to change the state of a pin on the PIC24FV16KA304 depending on a button press. Initially the pins are set as inputs, upon a button press the pins change to an output with a low ...
2
votes
1answer
59 views
PIC : Reading and Writing to External Flash M25PE80 using pic18f67k22 controller
I have PIC18F67K22 controller. I am making data logging system. I am using M25PE80 external flash for storing data.
I am storing session wise data in external flash. Also I am storing start and stop ...
3
votes
1answer
61 views
What are the difference between PIC24FJ256GB110 Rev 00004 & Rev 00003
I have a hex file to program a PIC24FJ256GB110 which I do with an ICD3 the revision code it returns from an older board is 00003 from the newer board 00004. This implies the silicon has changed. The ...
-2
votes
1answer
104 views
USB hub with power delivery OR android accessory mode
I'm looking for a USB hub solution for small host computer (like a Raspberry Pi or Nexus tablet) that can simultaneously power/charge said host computer.
I've heard about the USB power delivery ...
2
votes
1answer
85 views
Why UART Interrupts are not working properly in dsPIC?
Hello I am working with the UART1 module in a dsPIC33FJ128GP802 but it is not working as expected using XC16 compiler. Here is my initialization code and interrupt routine, the ...