Darrel, I started this mess with a word sized address without highbyte, lowbyte. I found in another thread that the high-low byte addressing worked for someone, and when it didn't work for me, I...
Type: Posts; User: coyotegd; Keyword(s):
Darrel, I started this mess with a word sized address without highbyte, lowbyte. I found in another thread that the high-low byte addressing worked for someone, and when it didn't work for me, I...
Darrel, I've tried 1k, 2k, 4.7k and 10k. I get a more well-defined square-wave with a 1 or 2k, but I still have the same result. I don't think the 24LC256 is being written to or read.
Jerson,...
It's the fact that this should be a "no brainer" that is so baffling. I've breadboarded much more complicated circuits, yet this simple EEPROM circuit won't work. I thought perhaps someone else had...
I wrote a very simple program but with the same output result:
5, 57
5, 255
DEFINE LOADER_USED 1
DEFINE OSC 20
I don't mean to be rude but the ". . ." means that I omitted code from the post or did you want three pages of the same thing over and over?
I also have no idea what colons have to do with...
I am using a 16F877 with a 24LC256 in an effort to display a logo on a graphic LCD. The following code should write the logo to the 24LC256 and read 10 of the written addresses from the 24LC256. ...
With a terrible hiccup in the 12kHz signal, I have to test the the frequency with:
If (Counter > 1) then
So as long as the PIC counts anything over a 1kHz, the relay works properly. What a...
I'll remember that and keep "CMCON = 7" with "ADCON1 = 7" when switching from analog to digital I/O. However, this did not solve my problem either.
I now know that it's the 12kHz from Mach3. ...
Function Generator 12.1kHz TTL 3V signal directly on B0 and the relay works great. Ditto when the Generator's signal is run through PC parallel port input and tri-state transceiver to boost to 5V...
When I use a 12kHz TTL signal from my Function Generator, the relay works fine. However, when I use the 12kHz signal from Mach3, I get the spastic relay. I scoped the Mach3 signal after passing...
You are right, but A2 is correct. When I first posted, I change my code for clarity. I probably should have used the exact same code all the way through. When I said A1 earlier, it should have...
Here is the entire program I am working with just to get the relay to operate properly:
@ DEVICE HS_OSC, WDT_OFF, LVP_OFF, BOD_OFF, PWRT_ON, PROTECT_OFF
Define OSC 20
ADCON1 = 7 ...
"Boiler Plate" is a term attorneys use when drafting wrtten legal documents. It's the language included based on prior experience with similar documents. Although the exact purpose would have to be...
I have this assembler code at the start of my program:
@ DEVICE HS_OSC, WDT_OFF, LVP_OFF, BOD_OFF, PWRT_ON, PROTECT_OFF
The "HS_OSC" is my change because I have a 20Mhz xtal, and yes, I have...
I was thinking that I need to test the relay circuit isolated from the rest of the PCB, but I've done that before, it works. I know I should test every circuit when components change, but they are...
I have a relay with 5V on one side of the relay's coil and the collector of a darlington transistor on the other side. I have a diode reverse-biased across the coil. I am using a 16F877A with PORTB...
No need to edit your INC file. Just add a line of assembler to your program:
@ DEVICE HS_OSC
Then add a line of PIC Basic:
DEFINE OSC 20
I don't believe Pic Basic Pro can use 15MHz...
I searched for information on Boundary Warnings, but I didn't find the message referenced in your hyperlink.
Ken
Can someone tell me the nature and importance of the following warning message? I have no idea how I introduced it. The PIC Basic Pro program still compiles and runs properly, but will this give me...
I am not sure why you mention "PR2 is initialized to 255 on reset". I have no idea what you are trying to tell me.
However, your explanation and advice to change my Counter trigger to 76 did the...
I've read the posts on using timers, but I have not been able to get one to work in my situation. I would like to use a timer to turn off a LCD backlight after approximately 5 seconds without...
I didn't realize that just designating a "CLK" pin on the 16F877A is all that was needed. I was under the impression that I had to somehow place a square wave on the "CLK" pin for the DS1802's...
I will try using your approach when I breadboard in a few days. I appreciate your efforts and will post back with the results.
I swear that I thoroughly read datasheets, but my brain gets...
I see that I could set the RST pin high and, possibly, use PULOUT to send 20MHz to the CLK pin of the DS1802. Then during the pulse, I could read the WORD output on the DS1802's COUT pin. However,...
I thought this would be a simple solution for someone more experienced than me before I breadboard a mess. It is not a programming question, but I need the circuit correct before I can test my...