Eeprom in 16F648A

Started by wantoniet in Piclist16 years ago 5 replies

Hi, I was working at my last project and found a problem so very interesting. My equipament used a 16f628 and i upgraded to...

Hi, I was working at my last project and found a problem so very interesting. My equipament used a 16f628 and i upgraded to 16f648a cause i required more flash memory. On step to write in internal eeprom, i realized that sometimes wrote right, sometimes not. After tw


ICSP standard ?

Started by Dave Mucha in Piclist15 years ago 6 replies

Hi all, I've been trying to figure the best way to connect pins for ISCP for a couple chips. 16F877 (40 pin) 16F873 (28 pin) and the...

Hi all, I've been trying to figure the best way to connect pins for ISCP for a couple chips. 16F877 (40 pin) 16F873 (28 pin) and the 16F628(18 pin) one thing that seems to be really consistant is the lack of consistance of which pins on a ICSP header are which. Can anyone offer some guidance ? I'm pretty tempted to use the Olimex


A to D converters and pic 16F628

Started by jmurba in Piclist16 years ago 4 replies

Hi List, I am a diver and dive a rebreather that is a system that recycle the exhaled gas. I need to make an oxymeter...

Hi List, I am a diver and dive a rebreather that is a system that recycle the exhaled gas. I need to make an oxymeter that calculated with 3 o2 sensors the gas loop O2 partial pressure. the sensor that is a fuel cell produces a signal that the tension is


Weirdest thing ever

Started by Anonymous in Piclist16 years ago 43 replies

I set up an extremely simple program to alternately blink 2 LED's. I have my output pins on my 16F628 connected to 470 Ohm...

I set up an extremely simple program to alternately blink 2 LED's. I have my output pins on my 16F628 connected to 470 Ohm resistors then to the LED. They don't alternate, but when I touch one of the resistors, then everything works fine. Any ideas??


Emulator/ICE recommendations

Started by "Sco...@Work)" in Piclist13 years ago

Hello Group, I'm thinking about acquiring a better ICE for PIC parts and was wondering what, if anything other people are using. I've been...

Hello Group, I'm thinking about acquiring a better ICE for PIC parts and was wondering what, if anything other people are using. I've been working with 16F628/648 part up until now. I have the Microchip ICD2 but am pretty disappointed with it (single breakpoint at a time, extremely slow stepping speed, poor (non-existent) source code debugging). In the past when I was developing using 8032 ...


sound through a pic

Started by goldeagle98201 in Piclist16 years ago 2 replies

Does anyone have any ideas on how to play a wav file though a pic? I have 2 pic controlled automations, one using a 16f628 and one...

Does anyone have any ideas on how to play a wav file though a pic? I have 2 pic controlled automations, one using a 16f628 and one uning a 12f675, but I trigger the pics and play the sound using my laptop. I would like to make them indipendent of the loptop. To do so I would need


Need some help making an R/C interface

Started by smitty505000 in Piclist14 years ago 13 replies

Hey all, I am looking for some sugestions on how to make an R/C interface with a PIC 16f628. I want 5 or 6 outputs that will be able to...

Hey all, I am looking for some sugestions on how to make an R/C interface with a PIC 16f628. I want 5 or 6 outputs that will be able to set off rocket igniters. I will be using one momentary switch on my Futaba transmitter and want to be able to pull the switch once and set off the first igniter, then pull it again and set off the second, and so


LCD Problem

Started by Anonymous in Piclist16 years ago 9 replies

Hey, I have a Serial LCD from www.seetron.com and it appears that when I send output to it, it appears as gibberish. Any ideas as...

Hey, I have a Serial LCD from www.seetron.com and it appears that when I send output to it, it appears as gibberish. Any ideas as to why? I'm using a 16F628 with picbasic from melabs. My code is: Serout 1, N2400, ("Hello") My baud rate is correctl


USART electrical specifications information request

Started by Chris in Piclist15 years ago 7 replies

Does anybody have information about the TX pin in particular. I'm using a 16F628 to listen to a gps module's 1Hz data packet, strip out ...

Does anybody have information about the TX pin in particular. I'm using a 16F628 to listen to a gps module's 1Hz data packet, strip out the time information alone and then retransmit it at a slower baud rate over a short range radio link. It works, but I'm aware that if I wish to expand the system and tie another device to the pics TX pin things could go awr


PIC Power thru the I/O pins?

Started by Dave Mucha in Piclist14 years ago 11 replies

Hi All, I have a stepper driver that has 5 V power from one source, drives TIP120 Darlingtons that are on a separate power source (12...

Hi All, I have a stepper driver that has 5 V power from one source, drives TIP120 Darlingtons that are on a separate power source (12 volts) and the inputs are from the PC's Parallel port. 16F628 and the STEP and DIR pins are on 17 and 18. RA0 and RA1 All three power supplies have a common ground. The PIC seems to have power when


JDM, ICProg!

Started by Mohammed Abdellatif in Piclist16 years ago 6 replies

Hi all, I've a JDM programmer and 16f628 pic, I'm trying to program using the ICProg, on Windows 98, and it keep on not working!...

Hi all, I've a JDM programmer and 16f628 pic, I'm trying to program using the ICProg, on Windows 98, and it keep on not working! I saw some notes about pulling the RB4 to GND, but the programmer even fails to program a common 16f84A pic! I was using some very simple version of


16F628

Started by Anonymous in Piclist16 years ago 6 replies

I want to use PortA.2 on the 628 for a serin.  Do I write: TRISA = %00000000 Do I have to set CMCON? Thanks ...

I want to use PortA.2 on the 628 for a serin.  Do I write: TRISA = %00000000 Do I have to set CMCON? Thanks Sid


Quad encoder problems

Started by smitty505000 in Piclist13 years ago 1 reply

Hey all, I am trying to get a couple of quad encoders to work in Picbasic pro. I know the basics of how they work and simple programing...

Hey all, I am trying to get a couple of quad encoders to work in Picbasic pro. I know the basics of how they work and simple programing abilities. Here is what I have: Qty 2 quad encoders with 36 slots each Pic 16F628-20p parallel lcd I want to be able to return a value of 1-36 from each encoder so I know the exact position of each. The code I wrote is very simple using if t...


Help, possibly bad HEX file

Started by upand_at_them in Piclist16 years ago 16 replies

I'm having trouble programming a 16F628 with an MPLAB-generated HEX file. I've uploaded the ASM and HEX files to the Files...

I'm having trouble programming a 16F628 with an MPLAB-generated HEX file. I've uploaded the ASM and HEX files to the Files section, in the "Mike Temp" folder if someone would be kind enough to try it out. It compiles without errors, but it won't program into


16F628... TRISA won't set RA5 bit

Started by tom_bihn in Piclist16 years ago 8 replies

I'm using the following line to configure the bits in the pic: __CONFIG _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON & _CP_OFF & ...

I'm using the following line to configure the bits in the pic: __CONFIG _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON & _CP_OFF & _BODEN_OFF & _MCLRE_OFF Here is the code used up to the point that I'm writing TRISA reg. clrf PORTA clrf PORTB


16F628

Started by Anonymous in Piclist15 years ago 23 replies

I need to use PortA.4 for a serout, but it doesn't seem to be working.  I wrote: CMCON = 7 Is there anything else I need...

I need to use PortA.4 for a serout, but it doesn't seem to be working.  I wrote: CMCON = 7 Is there anything else I need to do?  Serout makes the pin an


more PC, PCL, and PCLATH confusion

Started by jrem123 in Piclist16 years ago 2 replies

Okay, so I can write into the PCL, and I can write into the PCLATH, and dependent upon the execution either an 11 bit or a 13 bit...

Okay, so I can write into the PCL, and I can write into the PCLATH, and dependent upon the execution either an 11 bit or a 13 bit value goes into the PC (which is PCH and PCL). 11 bits is 7FF, 13 bits is 1FFF (I'm working with a 16F628). So it appears the 1FFF is the 2k fla


PICLIST:Pin conversion

Started by Anonymous in Piclist16 years ago 1 reply

I have a program for a Basic Stamp I would like to convert to a 16F628. The Stamp says OUTH = ........  Pin 8 to 15 I...

I have a program for a Basic Stamp I would like to convert to a 16F628. The Stamp says OUTH = ........  Pin 8 to 15 I can substitute OUTL or TRISB for


Don't understand why PORTA pin isn't working like before

Started by Roger_4U in Piclist13 years ago 3 replies

Hi I am new to the 16F88 chip and I am trying to run some code that previously worked on a 16F628. The code is to simply cause an LED to blink...

Hi I am new to the 16F88 chip and I am trying to run some code that previously worked on a 16F628. The code is to simply cause an LED to blink on/off after a delay period. > With this code it blinks: Start MOVLW D'200' SUBWF r_Clk1_For2HzOutput_ms, 0 BTFSS 3, 0 GOTO Start BCF PORTA, 2 CLRF r_Clk1_For2HzOutput_ms a1_Loop2 MOVLW D'200' SUBWF r_Clk1_For2HzOutput_ms, 0 B


Re: 16F628-Simiar

Started by Anonymous in Piclist15 years ago 2 replies

In a message dated 11/20/2004 11:56:30 AM Eastern Standard Time, j...@yahoo.com writes:

In a message dated 11/20/2004 11:56:30 AM Eastern Standard Time, j...@yahoo.com writes: