Forums Search for: PIC16
pic16f877a uart c code problm
inHai to all, Iam trying to communicate from pic 16f877a to the pc's hyperterminal at 9600 baud rate. Iam posting my code for this. Iam able...
Hai to all, Iam trying to communicate from pic 16f877a to the pc's hyperterminal at 9600 baud rate. Iam posting my code for this. Iam able to simulate with mplab but I could not implement with hardware. I checked for max232, rs232. They seem to be working perfect. But iam not getting the data through hyperterminal comm port. My crystal oscillator is 8mhz. /* uart serial communicati...
Embedded OSD (Not STV5370A)
inHi, I have a need for an OSD generator IC/module with PAL output but I only seem to find references to the STV5370A which is obsolete. Anyone...
Hi, I have a need for an OSD generator IC/module with PAL output but I only seem to find references to the STV5370A which is obsolete. Anyone out there using a current product? I need to be able to interface to a dedicated micro (probably PIC16F87x) simply and with little overhead, display in colour over a CCTV image and record the output (no odd timings) -- Clint Sharp
Quick PIC question
inAre the ADRESH and the ADRESL registers writable in the PIC16F87x series? The documentation doesn't appear to say. Thomas
Are the ADRESH and the ADRESL registers writable in the PIC16F87x series? The documentation doesn't appear to say. Thomas
8051 vs PIC
ini am doing my final year project based on the 80c51 processor I am forced to convert a code written for a pic16f87x to a p89c51rd2. 1.i am...
i am doing my final year project based on the 80c51 processor I am forced to convert a code written for a pic16f87x to a p89c51rd2. 1.i am having a hard time converting the paging in the pic and understanding registers related to paging like Pclath and PCL and PCH 2. what does HIGH(label1) do in the following code and what can i do in 8051 label1 movlw HIGH(label...
PIC MSSP module in I2C mode
inHi all! The Microchip PIC16F87XA has got a MSSP module. Bits SSPM(3 downto 0) in SSPCON register configure the mode of the module. For I2C...
Hi all! The Microchip PIC16F87XA has got a MSSP module. Bits SSPM(3 downto 0) in SSPCON register configure the mode of the module. For I2C operation the following options are available: 1111 = I2C slave, 10bit addressing, with START/STOP interrupts 1110 = I2C slave, 7bit addressing, with START/STOP interrupts 1011 = I2C firmware controlled master mode (Slave idle) 1000 = I2C master ...
PIC16F88, PORTA strange behaviour
inStrange problem: Setting an output low on PORTA, causes another output on PORTA to go low too. Below is the entire program. It should...
Strange problem: Setting an output low on PORTA, causes another output on PORTA to go low too. Below is the entire program. It should generate two signals: ---, ,---, ,---, ,---, ,--- '---' '---' '---' '---' -, ,---, ,---, ,---, ,--- '- -' '---' '---' '---' But instead gives this: -, ,-, ,-, ,-, ,- '-----' '-----' '-----' '-----'...
i2c slave using PIC16F88. Need urgent help/opinion.
inHi all, I am using PIC16F88 as an I2C slave. I have attached the code that I used. From the Microchip MPLAB ICD 2, I find that I am able to...
Hi all, I am using PIC16F88 as an I2C slave. I have attached the code that I used. From the Microchip MPLAB ICD 2, I find that I am able to detect the start and stop conditions. But I find that SSPSTAT is not getting set. The program is getting stuck in the "gnb" loop. From the Microchip ICD2, I can see that SSPSTAT and SSPSTAT get set after the Start and Stop condictions. But no
Simpliest ethernet microcontroller
inHello all, I'm new to microcontrollers - I have a little experience with PIC16F88, programming it in C and ASM but I want something...
Hello all, I'm new to microcontrollers - I have a little experience with PIC16F88, programming it in C and ASM but I want something different and more cool - sending data or controlling stuff over ethernet! :) What is the simpliest or the most popular controller for that? I've seen there are some PICs with ethernet like PIC18F66J65 and it is available here, but TQFP is a little hard for sold...
ESD problems with PIC 16F88
inI have built a number of battery operated circuits using PIC16F88s. They are housed in a plastic case with a socket to plug in a...
I have built a number of battery operated circuits using PIC16F88s. They are housed in a plastic case with a socket to plug in a serial connection for controlling LED outputs by RS232 comms. Sometimes when you touch the socket with your finger, the PIC responds in a manner suggesting that it has received some random data on the Rx pin of the USART. The problem occurs much more frequently ...
pic18 questions
ina) CONFIG/CBLOCK directive: I don't know what these directives do b) retfie dt; this is a Pic18 instruction. But, mplab uses only "retfie"....
a) CONFIG/CBLOCK directive: I don't know what these directives do b) retfie dt; this is a Pic18 instruction. But, mplab uses only "retfie". Is it equivalent to "retfie 0"? If I comment these directive, then my files are compiled. But, the hex files are not same. Also, mplab generated hex files are not in previous (pic16fx) format. The header is in previous format. But, the body is bro...
Simulators
inHi all, I am searching an open source simulator for several families of microcontrollers like avr, pic16fxx or zilog. I need it to a...
Hi all, I am searching an open source simulator for several families of microcontrollers like avr, pic16fxx or zilog. I need it to a personnal project, so I have seen on internet a lot of informations about UMPS simulator but I think it s not open source. And i can't access to vmdesign website. If I can't find any simulator, I will have to program one that it may be difficult. Excuse my bad...
Limiting slew rate (PIC driving LEDs)
inI'm driving three 7-segment LED displays (Agilent HDSP-7801) from a PIC16LF819 at 3.3V. I'm Charlieplexing the LEDs to minimize PIC pin...
I'm driving three 7-segment LED displays (Agilent HDSP-7801) from a PIC16LF819 at 3.3V. I'm Charlieplexing the LEDs to minimize PIC pin count: http://www.maxim-ic.com/appnotes.cfm/appnote_number/1880 The PIC sets the drive lines to make one of the digits display. After 1ms it moves on to the next digit, etc. I would like to limit the skew rates of the drive lines to minimise EMI. I know ...
New embedded Java-based controller released
inSnijder Micro Systems just announced the public release of the second generation of their Embedded Java? Controller (EJC?) product...
Snijder Micro Systems just announced the public release of the second generation of their Embedded Java? Controller (EJC?) product line, codenamed EC200. The EJC is a family of embedded controllers that implement a full-fledged Java platform for network-enabled and standalone applications. The EC200 sports a 32-bit 74 MHz ARM720T CPU and along with a slave PIC16LF872 microcontroller. The m...
FREQUENCY TO VOLTAGE CONVERTER using ADC?
ini have a certain sine wave input in the 480 khz range.i would like to make a pseudo frequency to voltge converter by using the ADC of...
i have a certain sine wave input in the 480 khz range.i would like to make a pseudo frequency to voltge converter by using the ADC of my pic16lf876a.. any reaction?is this possible? thanks!