I ordered 2 of these new Microchip RF transceivers. I think I'm in way over my head. I haven't started anything yet, though I did want to make an airborne data link for R/C airplanes. Microchip's web...
Type: Posts; User: JD123; Keyword(s):
I ordered 2 of these new Microchip RF transceivers. I think I'm in way over my head. I haven't started anything yet, though I did want to make an airborne data link for R/C airplanes. Microchip's web...
As long as you don't run off the limits of the feedback pot. A JR digital servo I have runs off the pot before the physical limits. This is becuse JR does not use a D key on the pot shaft. Since it's...
One more thing...
Turn the WDT OFF since your not clearing it.
Ex:@ DEVICE pic16F877A, WDT_OFF ' Watchdog Timer off
At first glance, replace the "goto inicio" at the end of the program with "return" (it was called under a "gosub").
Alain, you forgot one...
7) A swear jar ;)
You too can retire rich!
Camolas, in a month's time you should have some code. Post it so we can take a look at it.
Tim, it doesn't look like he's using the HSERIN. Ports RA.0 and RA.1 aren't the serial ports on this PIC.
Seems so, Tim. I didn't notice the lack of a 10ms pause though. Good catch.
Is the "mem_off" variable word size? The 24C64 uses a word sized address. Your variable "mem_off" is being sent as the address. Also, just asking, but you do have the A0:A2 pins on the IC grounded...
Karen, don't be too hard on them. By nature, we (PIC'ers) want to fix every problem in the world, even if it's not broken. They meant well and I don't think anyone thinks your project is stupid....
change this to a var, not con
from the pbp manual:
" Constants should not be used for the address as the size can vary dependent on the size of the constant. "
Well, at least you didn't order 1000 PCB's with RA5 used as an output. ;)
Hardware equivalent of Cut And Paste. Use a jumper wire to move the connection to a pin that can be bi-directional.
Good to see you’re figuring it out Andy. I too have jumped ship on PBP's I2C functions for my current project and have written my own. Like you said, it's easy to send out wrong addresses since the...
Microchip's web site ahs an excellent 20 minute video on designing AD circuits. I can't place a direct link due to their .aspx, but search their site for "Techniques that Reduce System Noise in ADC...
remove the space in the "port c.2"
Happy B-Day guys and or gals.
Give or take a day, that's July 4th for the 'real' birthday. Got to do something on a holiday. ;) ...but that doesn't explain the Brits and other countries???
Just use:
I2CWRITE SDA,SCL,CTW,ADDR,[TEMP]
In both ADDR and TEMP they are word size and PBP will send each byte out for the word - no need to bust them up and send them individually.
Just the use of a word size variable, invokes PBP to read two bytes. It places the first byte in the var.highbyte and the second in the var.lowbyte. EDIT: Sorry, I didn't see that you were not...
Use a word size variable. PBP will read the two bytes. Check PBP manual for the loading order. You may have to flip .highbyte and .lowbyte outside the I2CREAD statement.
Dispersion123, how's it coming, reading the 2 bytes?
Check your comp drawing. If it's correct, you're sending the comp to rails. I think you ment to take the output of the rec to the inverting input, not ground. The 100uf cap is a bit much. I'd use a...
50Ghz? Don't know, but I think you can use the IC as a hot-plate to keep your coffee warm. ;)
Mr.E., cute program you got there.
See in the program where you enter "1010000" for the address? That's $50 for the address.
Any who, I think everyone's got the idea, in agreement or not. I...
Here's the $24 million dollar question:
Does the documents for the slave IC say send address $10 or does it say that its address is $10.
So far as the clocking speed, there can be pulses that...
For giggles and grins...
Light travels at about 1 foot per nano second.
Kick a PIC at say 50mhz (skimask says it's "ok")
Tcy is 1/4 clocking speed or 12.5 mips or 80 nano seconds.
One Tcy...
Sorry, I overlooked your post. Are you seeing what I'm saying?