help setting up 16F886 for ADC
I'm trying to use adcin to read two different pots to get 8 bit results and I'm having trouble. I'm using the internal oscillator (there is no external oscillator). The pots are connected to AN0 and...
View Articlemedir duty y frecuencia
hola tengo problema con mi código me parpadea la pantalla y no logro una medición estable alguna idea de como mejorarlo y que tenga mas fluidez DEFINE LCD_DREG PORTC DEFINE LCD_DBIT 4 DEFINE LCD_RSREG...
View Articleduty cycle y frecuencia medir
hola necesito ayuda para mejorar el codigo no muestra bien en pantalla tiene un parpadeo y las muestras son muy lentas, como se puede mejorar para que sea mas estable DEFINE LCD_DREG PORTC DEFINE...
View ArticleWhat's the best code loop-structure to handle multiple tasks without...
Hi All, I'm looking for help on the best way to structure code that has multiple tasks happening, while not interrupting or slowing the overall operation at any given time. For example, i want to drive...
View ArticleLooking for "transparent" RF transceiver
Hello, Like other projects on this forum, I'm looking for RF transceiver modules that are "transparent". In my project, I will send very small data packets (20-30 bytes) once a day (data logger...
View ArticleHserout sends wrong values
Hello again, I have a working code for sending a byte using PIC18F24J50 but the same code doesn't send the correct values in PIC18F2450. I send $05 and receive 252 instead. Here is my code: Code:...
View ArticlePbp3 - pic18f87k22 / pic18f67k22 setting config typo error ???
Hi Guys , as per normal when i am implementing a new cpu , i refer to the INFO file for its config, then go through the datasheet to see what it setting or not as dephalt The setting for CONFIG7L in...
View Articlestarting with I2C read/write devices addressing
I'm just starting a project involving the use of an external EEPROM. I think about to use a 24LC64 (that's is what I could find in my drawer...). After ten years playing with PICs, I've still never...
View ArticleData from DS1307 (BCD) saved to ext memory and read back to display
Hi there, I have setup a 16F690 reading a DS1307's time and date (I use RA2/INT interrupt to trigger the process every second), save this data to an external 24LC64 memory, read back what has just been...
View ArticleWhere to read the explanation for warning code?
I have got the following asm warning while compiling: "ASM WARNING Argument out of range. Least significant bits used. (0) : Warninig [202]" Where can I find the decoding text for "warning [202] ? I...
View ArticleFree PCB Prototype For New Customer
Hello Friends, EzPCB is a professional PCB & PCBA mfr in China. EzPCB Promotion Season Is Going On. PCB Promotion For new customer, offer free 5pcs of 2L 4”x4” 6/6mil track/space 0.3mm Min Hole...
View ArticleDownloading zip files
Hi Having problems downloading zip files from the forum. I'm using win7 and IE. When I try to save a zip file, it downloads as a attachment.php An example in below link, Post 298 -Nokia Big Chars.zip...
View ArticlePic will not run
I've been working on a project for the past few months but now have an issue which is causing my grey hair to fall out ! The project was developed on my trusty old EasyPIC5 board and solderless...
View ArticleSimple as 16F870, but with built-in oscillator and ADC reference?
I'm using 16F870 for long time, and it is great chip to be used with PBP. However, it lacks built-in oscillator and ADC reference. Can you suggest me another chip, which is simple to use and configure...
View ArticleHow translate Arduino code to Proton.
Hello, All I have a problem with an engine acceleration PWM works with analog joystick of the PS3 and accelerating very fast. with this code I found quite solves the problem and is much smoother. The...
View ArticleDoes anyone recognize this pic programmer?
I need to program some PICs that my pickit3 does not support. In searching through my ZIF adapters (To see if any can be adapted to work with the U2 programmer) I came across an old programmer I...
View ArticleWhere can i buy PICs using Paypal?????
Hi All, I'm in Australia and I don't have a credit card.... i live debt/credit free (lucky me). The downside is i can't buy things online unless it's via Paypal. Can anyone point me to a PIC reseller...
View ArticleSERIN2/SEROUT2 - first data received is always garbage
Hi, I'm wondering what I'm doing wrong in my programs. Each time I use SERIN2/SEROUT2 commands, the very first data received on the other end is garbage. The correct data will appear only after I've...
View ArticleNegative swing with a DAC
Hi, I have an 8-bit DAC which is currently outputting about 0-3V. After some filtering etc this goes into the line-in of an audio amplifier. Line level is supposed to swing from about -1.5 to 1.5V....
View ArticlePIC18F14K50 ADC problem
Hello again! I am trying to get ADC working using AN7 pins but I keep getting zero for PORTC.7 and 20 when I use ADCIN 7.I am using a 24 MHz crystal. It worked with PIC18F2450 but doesn't work with...
View Article