Need some help making an R/C interface

Started by smitty505000 in Piclist13 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


problems w/ LCD

Started by hunt4it44 in Piclist15 years ago 1 reply

I'm using a 16x1 LCD in 4 bit mode w/ a 16f628 for a simple timer program. The display constantly loops 3 different screens...

I'm using a 16x1 LCD in 4 bit mode w/ a 16f628 for a simple timer program. The display constantly loops 3 different screens changing each screen every 3 seconds. My problem is that for some reason the LCD only displays the first 8 characters of the display. I have a 20x4 LCD and


LCD Problem

Started by Anonymous in Piclist14 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


ElCheapo and icprog can work together?

Started by alejandrosegade in Piclist15 years ago

Help! I have some experience in basic electronics, so I decided to make the HomeBuilt version of "El Cheapo" programmer for the...

Help! I have some experience in basic electronics, so I decided to make the HomeBuilt version of "El Cheapo" programmer for the PIC 16F628 (sorry by my bad english). After debuging the circuit (the schematic has big errors), it finally work fine with the original p


USART electrical specifications information request

Started by Chris in Piclist13 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 Piclist12 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 Piclist15 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


Stuck with USB :S

Started by Anonymous in Piclist15 years ago 1 reply

Hi all, I'm searching for some way to USB with a PIC :S If someone knows how to interface the 16F628 or 16F877 with a USB ...

Hi all, I'm searching for some way to USB with a PIC :S If someone knows how to interface the 16F628 or 16F877 with a USB device this will be of great help... One thing to say, that I'm searching for making the PIC as a host not as a device, so that the pic respondsto a USB


16F628

Started by Anonymous in Piclist14 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 Piclist12 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 Piclist14 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


Bank switching question

Started by Stephen D. Barnes in Piclist15 years ago 2 replies

Hi all, I'm working with a 16F628 but this question applies to most chips. I know that when initializing or setting bits in...

Hi all, I'm working with a 16F628 but this question applies to most chips. I know that when initializing or setting bits in special function registers, one must switch to the appropriate bank. Is a bank switch required to read or test the condition of bits in these registers? T


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

Started by tom_bihn in Piclist15 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 Piclist14 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 Piclist14 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 Piclist14 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


FREE S/W to control multiple servos from cheap PIC

Started by sergio masci in Piclist15 years ago

This software will allow you to control upto 20 RC servos from a cheap 16F876 PIC. The demo version is limited to 4 servos and...

This software will allow you to control upto 20 RC servos from a cheap 16F876 PIC. The demo version is limited to 4 servos and runs on a very cheap 16F628 PIC using the inertenal 4MHz oscillator. The demo is written in XCSB and the source (for the demo not the servo


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

Started by Roger_4U in Piclist11 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 Piclist14 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:


CCS and power saving mode on pic16f628...

Started by Vincent in Piclist13 years ago 5 replies

Message Hi all,   I had a battery powered project running on the 16F628 p

Message Hi all,   I had a battery powered project running on the 16F628 p