using same pin for multiple purposes
ADCON1 = 000111 TRISA = %111111 TRISB = %00000000 TRISC = %00000000 PORTC = %00000000 PORTB = %00000000 PORTA = %0000000 '*********************************************** #CONFIG __CONFIG _XT_OSC &...
View ArticleSerial data sending#do someone came across programming 16f676 with TRH031M?
Dear experts, Currently I am trying to program pic16f676 as a microcontroller to send serial data from TRH031M (kinda 13.56MHz transmitter) http://www.farnell.com/datasheets/460824.pdf Im using SPI...
View ArticleKitchen Units Wickes
Kitchen Units Wickes. Thirty Ex Display Kitchens To Clear. http://www.exdisplaykitchens1.co.uk £ 595 Each with appliances. _________________________ Kitchen Units Wickes
View ArticleAuto power off back light with 16F84A
Hello All, I have a code for a timer. I need to add the auto power off back light of the LED. I am new in PIC. This is a part of code that i have used. So where can I add the addtional line for...
View ArticleSlow speed tachometer
Hello everybody. I'm very new to pic, beeing learning for almoast one year on my own. I've been reading some time for a tachometer, and all i've found is info about tacho's for high speed. I'm trying...
View Articlenumber match selection
need to do some code which is giving me an issue i want to find a value of 1-6 in a variable in an array and if the value has been used , then it is removed from the list as an available value the...
View Articlehelp with ad pic16f88
:)Hi all, please help me, the example program page on the PIC16F88 ad converter did not work, shows me error ANSEL =% 00010000 Greetings!
View ArticleSD Card Write/Read
I am experimenting with the SD CARD topic on a 18F45K22 chip. 1. How is the variable FAT_year handled? With a value of 28 it creates a file of the year 2008. If I wanted a 2014 and set FAT_year to 214,...
View ArticlePic Microcontroller Infrared Receiver .
Dears , 1st i Would Like Anyone Who Can Support & Help Me Achive My Goal . Here Is The Situation , i Need to make infrared receiver to Decode Any Infrared Remote Control Signal (Include Apple...
View ArticlePIC - receive data while pulsing pin from low to high and from high to low
Hello The problem I present here is a little weard because I could not find any documentation for anybody else needing this. My device must measure spectrography data while pulsing a high power light...
View ArticlePicBasic Pro 16F628A Clock speed help !
Hi All Using PBP 2.50C Confused..... I am attempting to slow a 16F628A from the default 4Megs to 48K Clock Speed Am I right in assuming the Command :- PCON.3 = 0 At beginning of code should do it.......
View ArticlePIC18F2550 Problem - GoSub or GoTo fails if the jump is too far
I am using PBP3 (3.0.7.4) and Microcode Studio Plus (5.0.0.5). This code runs fine on a PIC18F2525, but on the 18F2550, I cannot get any GOTO or GOSUB instructions to work if the code I am jumping too...
View ArticleProgramming 'extreme low power' chips
Hi, does anyone know if I can use my high voltage (12v) epic programmer to program an extreme low power microchip like the PIC16LF1827? Thanks
View ArticlePIC16F trias & INTCON problem!!!!!!
Hi all, I use picbasic pro. Now I want to make a PWM controlled battery charger with PIC16F. But I don't know how to use MOC3021 (triac drive) & INTCON hardware interrupt. Plz anybody help...
View ArticleEncoder velocity....
HI! I have a project I am bringing over to PIC from Arduino that controls a self-aquire satellite dish. There are no limit switches so I am performing a homing procedure using velocity, specifically, a...
View ArticleRecord, storage and compare analog signals
Hi, all, please I need help I need record analog signal (10Bit) to PIC with length 60us, storage as reference (red line) and compare with next one incoming (blue line). My question is, how to sampling...
View ArticleBUTTON statement without repeat rate variable?
Hello. I have certain project, which uses 11 buttons. They have no repeat, but BUTTON statement requires separate BVAR variable (button variable) to be declared for all buttons. Is there a way to skip...
View ArticleSelf powered PIC, app note. How to do.
I found this app note from Microchip which may be of use to someone for battery operation. Quote: Vdd Self Starting Circuit Building on the previous topic, the same charge pump can be used by the MCU...
View ArticleMicrochip Tips n Tricks
Following on from the other thread this is the source of much useful information and ingenious tips. Microchip Tips Pdf
View ArticleSerial command
Can Hserin/out , Debugin/out and serialin/out work in the same code for example in a 16f877a? Like one pair does hserin/out, another pair goes for debug and third pair for serialin/out. I want to...
View Article