Hi-Tech init of PORTD on 16F877

Started by KM6VV in Piclist13 years ago 1 reply

Hi to the list! I'm having problems getting an LED display (4 digits) to work with a 20 Mhz 16F877A. New (to me) compiler, PIC C, 7.83...

Hi to the list! I'm having problems getting an LED display (4 digits) to work with a 20 Mhz 16F877A. New (to me) compiler, PIC C, 7.83 OLD compiler was CCS. The Display is common cathode, digits are selected with a ULN2003 driver from RB7, RB6, RC7, RC5 pins (which appear to work), and the segments are driven through 220 ohm resistors from PORTD.


PIC, linux , wine and gpasm

Started by Hugo Oliveira in Piclist14 years ago

Hi everyone, I'm an automation engineering student starting to program a PIC 16F877a. Have you guys used this pic with gpasm for...

Hi everyone, I'm an automation engineering student starting to program a PIC 16F877a. Have you guys used this pic with gpasm for linux? this assembler reports errors when I compile a very simple code that works on windows. Have any of you used successfully "wine" with mplab


lcd hd44780 type help

Started by joel_0021 in Piclist9 years ago 1 reply

hey guyz i'm having a problem in programming an LCD my LCD is LM052L it has a built in LSI HD44780 and i'm using a pic16f877a i don't know...

hey guyz i'm having a problem in programming an LCD my LCD is LM052L it has a built in LSI HD44780 and i'm using a pic16f877a i don't know what's the problem. this is my picbasic program: Device=16F877A XTAL=4 ALL_DIGITAL=true TRISC=0 LCD_DTPIN=PORTC.0 'CALL ASSIGNED ADDRESS TO PORTC.0 LCD_RSPIN=PORTC.4 LCD_ENPIN=PORTC.5 LCD_INTERFACE=4 '4 BITS LCD_LINES=2 ...


pic 16f877a with lcd flickering problem

Started by siva...@gmail.com in Piclist9 years ago 14 replies

hai to all, Iam using pic16f877a and 16 x 2 lcd to display my string as an array. The problem is when i touch the crystal legs, I could find...

hai to all, Iam using pic16f877a and 16 x 2 lcd to display my string as an array. The problem is when i touch the crystal legs, I could find the characters display steadily or else the display is flickering. I use a 4mhz crystal. I even grounded the body of the crystal. But eventhen the problem occurs. I use 33pf decoupling capacitors for the crystals. Please help me out. thanks siv...


Fastest Math routines - Another Newbie Question

Started by "Jerry O. Stern" in Piclist8 years ago 11 replies

I have am builidng a direct digital synthesizer and controlling the synthesizer with a PIC 16F877A. The selection of frequencies...

I have am builidng a direct digital synthesizer and controlling the synthesizer with a PIC 16F877A. The selection of frequencies are determined by an optical decoder "tuning knob" and the frequencies require 32 bit unsigned numbers. The math routines may be invoked 150 times per second as a tuning knob is turned rapidly. For each encoder frequency tuning step I need to manipulate the 32...


A/D Converter

Started by Petscare in Piclist14 years ago 2 replies

Hi. I hope you can help me.   Where can I read about how to use A/D converter in 16F676 and 16F877A?

Hi. I hope you can help me.   Where can I read about how to use A/D converter in 16F676 and 16F877A?