All Questions
12 questions
0
votes
1
answer
62
views
PIC32 VUSB3V3 must be externally powered?
I use a PIC32 and I want to use RB11. That's a USB pin but can be used as GPIO.
The datasheet specifies in 18.4 page 180:
For non-USB operation with RB11 and/or RB10 as GPIOs, the USB module must be ...
1
vote
1
answer
1k
views
Declare a PIC pin in a variable [closed]
So basically, I want to store a pin of a PIC MCU inside of a variable. eg.
int pin = LATB5
I also need to pass that pin to a function. If I do it like this, it ...
0
votes
1
answer
111
views
PIC16F886 and Switch Setup with Diode
I would like to make a simple embedded program that will Display what is happening on and LCD screen. When Switch One is pressed, it displays "Switch One". When Switch 2 is pressed it ...
4
votes
2
answers
834
views
understanding how PIC GPIO work
I am trying to understand a bit how the IO pin works. I took as an example this PIC.
The image of the IO pins are like this :
What does the symbol in yellow mean? Does it mean that the Q takes the ...
0
votes
3
answers
787
views
Where are the external oscillator pins on PIC12LF1572
I have searched the whole datasheet, but couldn't find where are the OSC1 and OSC2 pins are. I've found the CLKOUT (which is CMOS output) on RA4 and CLKIN (which is TTL input) on RA5. But I need the ...
0
votes
1
answer
596
views
How to disable Parallel Master Port Address pins in PIC32
I am using PIC32MX795F512L MCU. I need to use few GPIOs on which Parallel Master Port Address pins are already defined like in <...
1
vote
1
answer
946
views
PIC18 how to explain : you write bit 1 by making TRIS input
I'm reading 1_wire header file for PIC18 with C18 compiler.
in the write_byte function, they specified that in order to write bit1; we make line input and that will take it high.
can we specify high ...
0
votes
2
answers
619
views
HD44780 in 4bit mode connected to only ONE PORT on PIC
i am new to PIC programming. I am using MPLAB X + XC8 compiler. I have on a breadboard an PIC18F4550 connected to a HD44780 compatible LCD. Digging online i found out a routine to interface the PIC ...
2
votes
1
answer
423
views
12F683 output not behaving as expected
I have a 12F683 micro and this is my first program using the new MPLAB with XC8 compiler.
I have configured Timer1 to trigger about every ms. For now I would need an LED to flash on and off but need ...
2
votes
1
answer
3k
views
Voltage at output pin of a controller
I would like to ask a simple question. I do have controller whose pins are configured were configured as o/p. The controller runs at 3.3v and it's from the Pic18f family of controllers.Why is it that ...
0
votes
1
answer
297
views
DSPIC30F4011 - Pin labled as "Alternative", can I use it?
I am using a DSPIC30F4011 PIC ( datasheet ) to send commands to three devices (one Bluetooth, model RN42 and two LED Drivers, model TLC5947). In the data sheet for this PIC (on page 13), it has three ...
2
votes
3
answers
11k
views
Using the PICkit3 and PIC18F4550
For my microcontrollers class, I am using an advanced 8-bit microprocessor, the PIC18F4550. I am trying to program it with a PICkit 3.
I have used the device datasheet and the PICkit 3 datasheet to ...