problems with PIC12F675 GPIO

Started by ajellisuk in Piclist10 years ago 2 replies

Hi, I've just started a project using a PIC12F675. Just to get started I'm trying to drive all of the port pins high, but I'm having no...

Hi, I've just started a project using a PIC12F675. Just to get started I'm trying to drive all of the port pins high, but I'm having no success. I'm aware that the ports have multiple functions and need to be set up. I don't seem to have nay control over any of the pins. I'm using HI Tec PICC lite embedded into MPLAB 8.1. My code is: /* PIC 12F flash.c */ #include "pic12f6x.h" vo...


Capacitive Water detector..????

Started by yosupicprog in Piclist11 years ago 1 reply

Hi to all, =20 =20 My name is Yosu Izaguirre, I=B4m electronic engineer and have one=20 master in automation of controls, but I have a little...

Hi to all, =20 =20 My name is Yosu Izaguirre, I=B4m electronic engineer and have one=20 master in automation of controls, but I have a little problem for you=20 to help me...=A1=A1 =20 I=B4m trying to design one water sensor for be read from a one=20 PIC12F675 or PIC16F683, is the same but one have more io pins and=20 another features... =20 So the fact is that the sensor must be hard w...


Water sensor for Pics.

Started by "Ing. Yosu Izaguirre" in Piclist11 years ago 8 replies

Hi to all, My name is Yosu Izaguirre, I?m electronic engineer and have one master in automation of controls, but I have a little problem for...

Hi to all, My name is Yosu Izaguirre, I?m electronic engineer and have one master in automation of controls, but I have a little problem for you to help me...?? I?m trying to design one water sensor for be read from a one PIC12F675 or PIC16F683, is the same but one have more io pins and another features... So the fact is that the sensor must be hard worker because must be inside the water...


12F675 GPIO

Started by noodles123x in Piclist16 years ago 6 replies

Hi I'm a newbie trying to program the PIC12F675 using Hi-Techs PICLite C software. I'm having trouble setting the outputs...

Hi I'm a newbie trying to program the PIC12F675 using Hi-Techs PICLite C software. I'm having trouble setting the outputs when addressing them directly. If I do the following "GPIO = 0b00000110" It will turn on two outputs But, If I


adc program pic12f675 modified

Started by vaishnavi236 in Piclist16 years ago 3 replies

hello, keeping in mind all the suggestions i have modified the pgm for adc...but still the loop remains infinite .....i am not...

hello, keeping in mind all the suggestions i have modified the pgm for adc...but still the loop remains infinite .....i am not able to trace the problem even now .....please check this program and send me ur suggestions.....in one of the websites it was mentioned that


please help me with adc program for pic12f675 using mplab

Started by vaishnavi236 in Piclist16 years ago 4 replies

hi, i have written a program for adc. i am going to feed the a/d samples to the timer for the pwm module which is next... my...

hi, i have written a program for adc. i am going to feed the a/d samples to the timer for the pwm module which is next... my project is " MICROCONTROLLER BASED PWM FOR SOLAR PHOTO VOLTAIC POWER SYSTEM. THE PROGRAM written below is simulated using MPLAB 6.13 version.


Problems with wisp628 and PIC12F675

Started by holopoint.rm in Piclist16 years ago 4 replies

I tried programming (for the first time) a 12f675 with my Wisp628. The programmer can't read the target ID. IS this because I...

I tried programming (for the first time) a 12f675 with my Wisp628. The programmer can't read the target ID. IS this because I am not using the additional circuit (the 'dongle') ? http://www.voti.nl/wisp628/pics/dongle.gif


PWM FOR PIC12F675

Started by vaishnavi236 in Piclist16 years ago 2 replies

FOR PWM [code] OPTION equ 81h INTCON equ 0bh TMR equ 01h Bcf OPTION ,5 ; TOCS TMR0 CLOCK SOURCE SELECT ; 0=> INTERNAL INSTRUCTION CYCLE...

FOR PWM [code] OPTION equ 81h INTCON equ 0bh TMR equ 01h Bcf OPTION ,5 ; TOCS TMR0 CLOCK SOURCE SELECT ; 0=> INTERNAL INSTRUCTION CYCLE CLOCK bsf OPTION ,3 ; PSA PRESCALER ASSIGNMENT 0=> IS ASSIGNED TO WDT movlw ; I HAVE NOT YET CALCULATED THE VALUE TO BE FED ; TO TIMER movwf TMR0 bcf INTCON,2 ; clear TMR 0 overflow indication ; TOIF 1=TMR0 REG HAS OVERFLOWED & 0=DID NO