EmbeddedRelated.com
The 2024 Embedded Online Conference

Pinouts for In Circuit Serial Programming - Willem II programmer

Started by Scott Hooper in comp.arch.embedded19 years ago 4 replies

I have a Willem II programmer with an ICSP header. The programmer has always been fine for my little PIC16F84's. Today I bought myself...

I have a Willem II programmer with an ICSP header. The programmer has always been fine for my little PIC16F84's. Today I bought myself a PIC16F872 which actually needs to be programmed via the ICSP interface. I have hunted all over the internet but can't find anwhere a definition for the pins or where on the PIC they're meant to hook up to. Anyone ever used the Willem ICSP interface? How the ...


100 LED's from a PIC - a different approach

Started by Scott Hooper in comp.arch.embedded19 years ago 6 replies

I recently posted a question here asking if anybody had thoughts on getting 100 LED's (not segmented displays) independently controlled by a...

I recently posted a question here asking if anybody had thoughts on getting 100 LED's (not segmented displays) independently controlled by a PIC16F84. As a complete novice, the responses confused the heck out of me. But I did glean enough to realise that maybe I could start with a better PIC. So I'm trying a different approach today. I've gone out and bought myself a PIC16F872 instead. Now th...


Atmel ATmega2561 is no better than PIC16F84

Started by John B in comp.arch.embedded18 years ago 24 replies

So I've finally got my precious samples of ATmega2561. With 256Kbytes of Flash I should be able to store massive look-up tables, but wait...

So I've finally got my precious samples of ATmega2561. With 256Kbytes of Flash I should be able to store massive look-up tables, but wait a minute the Flash memory is segmented into 64Kbyte lumps. The data sheet states: "For ELPM/SPM instructions, the Z-pointer is a concatenation of RAMPZ, ZH, and ZL" But is that really true? I find that I have the following instruction: ELPM Rd,Z+ ...


programming pic18f2550

Started by cibi in comp.arch.embedded18 years ago 1 reply

Hi everybody, i'm not very skilled in pic programming, however i have sucessfully programmed pic16f84 with a Shaer programmed build by...

Hi everybody, i'm not very skilled in pic programming, however i have sucessfully programmed pic16f84 with a Shaer programmed build by myself. Now I want to program a pic18f2550, because I want to use USB capability. Do you think my programmer should work properly? Should I make some variation? The software i used is IC-Prog, wich does not seem to support this device? Does anyone know wha...


n00b with GSM & PIC

Started by masch in comp.arch.embedded17 years ago 1 reply

Hello Gurus This is my second day at this website, I've been trying to absorb as much as I can. I've read up some of the Nokia fbus and the...

Hello Gurus This is my second day at this website, I've been trying to absorb as much as I can. I've read up some of the Nokia fbus and the like, I think I understand it a little but I wont know for sure until I try it. I'm familiar with some programming with PIC, specifically the PIC16F84. What I'm trying to achieve is I would like to create a device with a PIC that will output pins as code...


time need to execute an instruction

Started by John Smith in comp.arch.embedded16 years ago 2 replies

When f=1MHz how much time need exactly to execute a NOP on a PIC16F84 chip? (I think 4us but I am not sure) Thanks Attila

When f=1MHz how much time need exactly to execute a NOP on a PIC16F84 chip? (I think 4us but I am not sure) Thanks Attila


LCD SERIAL - PIC16F84A

Started by zss in comp.arch.embedded14 years ago 5 replies

Hi I'm new here. and I am currently doing a project on Toxic Gas Release Alarm system using PIC. I'm using PIC16f84a and I have used several...

Hi I'm new here. and I am currently doing a project on Toxic Gas Release Alarm system using PIC. I'm using PIC16f84a and I have used several I/O pins for LEDs, speakers & a/d converters. and only I/O 6 pins left for LCD. (R0A,RB3-RB7). I'm using LCD Serial port with 8 pads(www.cytron.com.my). any ideas how I can connect the LCD to the PIC without using all the pads? can i just connect the ...


I mus be stupide but..

Started by Andre in comp.arch.embedded12 years ago 6 replies

Begining with pic programing in C The following prog works on a pic16f84A #include /***** CONFIGURATION *****/ __CONFIG(0x3F61); /*****...

Begining with pic programing in C The following prog works on a pic16f84A #include /***** CONFIGURATION *****/ __CONFIG(0x3F61); /***** MAIN PROGRAM *****/ void main() { // Initialisation TRISB = 0b00000000; PORTB = 0b11110000; for (;;) { // turn on LED only if button pressed if ( RA0 == 1 ) PORTB = 0b000011; else PORTB = 0b110000; } // repeat for


problem facing in compiling PIC16F87 device .

Started by Kumar in comp.arch.embedded20 years ago 1 reply

I have written a program for the pic microcontroller Pic16F876 . It worked fine . Then changed my device to pic16f87 , the program is...

I have written a program for the pic microcontroller Pic16F876 . It worked fine . Then changed my device to pic16f87 , the program is not compiling can anyone help me to solve the problem . The error message is given below Error[126] C:\PROGRAM FILES\MPLAB IDE\RF_PIC_87\VER_0\PROR6-DEMO-22ND.ASM 13 : Argument out of range (not a valid config register address) Halting build on first fa...


Xtal choice for Pic16f88

Started by Anonymous in comp.arch.embedded16 years ago 1 reply

Hi, Microchip's datasheet for the pic16f88 says: The PIC16F87/88 oscillator design requires the use of a parallel cut crystal. Use of a...

Hi, Microchip's datasheet for the pic16f88 says: The PIC16F87/88 oscillator design requires the use of a parallel cut crystal. Use of a series cut crystal may give a frequency out of the crystal manufacturer's specifications. So I am choosing a 20MHz Xtal to use. The part I'm looking at is: RAKON -- CRYSTAL, 12SMX (B) 20 MHZ And the datasheet I have for it is here: http://www.farnell.c...


Flash code corruption on pic6f870

Started by Anonymous in comp.arch.embedded19 years ago 8 replies

I have about 20 units in the field using the PIC16f870. Some have been in use for nearly 2 years without any problems but recently 2 units have...

I have about 20 units in the field using the PIC16f870. Some have been in use for nearly 2 years without any problems but recently 2 units have come back as faulty. They have the same symptons, the program crashes during its interrupt routine, it doesn't return, it doeas execute the first few instructions though I can tell how far it gets before it crashes. After 15mS the watchdog resets and ...


LED Display Driver for use with PIC?

Started by Anonymous in comp.arch.embedded19 years ago 15 replies

Hello. My current project uses a PIC16F873A to output to an already multiplexed LED Display (Fairchild MSQ6441, 4 digit, 7-segment...

Hello. My current project uses a PIC16F873A to output to an already multiplexed LED Display (Fairchild MSQ6441, 4 digit, 7-segment numeric display). I would like to relieve some work from the PIC, so I've been looking into LED Display Drivers to pick up the slack. I came across the MAX7221, a nice chip from Maxim... common cathode LED Display Driver that does the multiplexing for you, ...


learning pic16f874

Started by Anonymous in comp.arch.embedded19 years ago 1 reply

Hi guys, waz' up? I'm interested in learning assembly language, where do I start? We've got the Electronic Application subject at school...

Hi guys, waz' up? I'm interested in learning assembly language, where do I start? We've got the Electronic Application subject at school in which we program pic16f874 and guys I'm in a jungle there, totaly lost. Please, please, bail me out guys!!! any suggestions of sites offerng tutorials??? Thanx in advance. Tchavez


Help. PIC16F874A board not working at all

Started by chess in comp.arch.embedded19 years ago 9 replies

Hi, My friend is working his embedded board with PIC16f874a. I just programmed it to ON or OFF port B. But not working at all. All I/O...

Hi, My friend is working his embedded board with PIC16f874a. I just programmed it to ON or OFF port B. But not working at all. All I/O pins seem to stay in high-impedance. The board layout is very simple. It only had Powersource and XTAL circuit. Later we added RC reset circuit just because we were not sure whether it RESET properly, but it was useless. Progam code is: --8


I2C multiple addresses for slave

Started by Phil in comp.arch.embedded20 years ago 9 replies

I am trying to implement a slave I2C interface using a PIC16F876 but it can only accept a single address as a slave, I have looked at the Atmega...

I am trying to implement a slave I2C interface using a PIC16F876 but it can only accept a single address as a slave, I have looked at the Atmega 168 and it has an address mask register (TWAM) but I am unsure if this will allow the device to respond to more than one slave address. Anyone with any knowledge on multiple addressing I2C in slave mode? Phil


Dallas RTC 1305 and interrupts

Started by Georges Konstantinidis in comp.arch.embedded20 years ago 1 reply

Hello All, I started a project which uses a PIC16F876 and a RTC DS1305 from Dallas. There is no problem to read and write the registers. My only...

Hello All, I started a project which uses a PIC16F876 and a RTC DS1305 from Dallas. There is no problem to read and write the registers. My only problem is the interruption . I connected the INT0 for the RTC to the RB0 pin of the PIC (I used a 5k pull-up resitor). I configured correctly (I think ) the registers to activate a interrupt every second . When I test my program, it appears that th...


unsure of fuses for an lcd display

Started by Anonymous in comp.arch.embedded18 years ago 3 replies

we are doing a project using solar power to judge how many hours of sunlight there are a day. everything has been put together but when we go to...

we are doing a project using solar power to judge how many hours of sunlight there are a day. everything has been put together but when we go to burn the program onto the pic16f876 we are unsure where to find which fuses should be used and which should not any help out there???


USART, single master (8051), multiple slave (PIC16F876) - suggestions

Started by Bill Davy in comp.arch.embedded18 years ago 1 reply

We built a machine with a CAN bus connecting modules to a CAN board in a PC. We had a useful little Laser Beam Power Meter [LBPM] board based...

We built a machine with a CAN bus connecting modules to a CAN board in a PC. We had a useful little Laser Beam Power Meter [LBPM] board based on a PIC16F876 attached to CAN. It had a debug serial port. S/w was developed on MPLAB/CCSC C. The next machine used a Cypress FX2LP (based on an 8051). It has a debug serial port. S/w was developed on Keil C. Whaddya know, we need to conn...


MAX3100 - no FIFO overflow status bit? Any other SPI/UART?

Started by Bill Davy in comp.arch.embedded18 years ago 2 replies

As far as I can tell from the specification, the Maxim MAX3100 can lose bytes if the FIFO overflows and the softwarae cannot detect that this...

As far as I can tell from the specification, the Maxim MAX3100 can lose bytes if the FIFO overflows and the softwarae cannot detect that this has happened. Of course, the software should be quick enough, but real life is full of nasty surprises. The CRC should detect it, but see earlier remark. I have to hook a PIC16F876 to a Cypress 8051 using the debug ports (so no CTS or RTS wires)...



The 2024 Embedded Online Conference