Hello Steve and Darrel,
You mangy old farts, how are you all doing? Looks like all as been well for both of you. Its been a while since we have chatted.
PIC's working ok? Haven't done...
Type: Posts; User: Dwayne; Keyword(s):
Hello Steve and Darrel,
You mangy old farts, how are you all doing? Looks like all as been well for both of you. Its been a while since we have chatted.
PIC's working ok? Haven't done...
Hello Melanie!
Long time no see. . .
It has been a while since I have been on, but I saw this response... I don't remember if there was a "sticky" or a such a good definition in the FAQ...
Instant Response is not necessary... delays of 1 second is fine.
It seems the only thing I can think of, is a 500K resistor in series with the trigger resistance, and when the voltage gets to be...
Yo folks...
Long time no see... Been busy, and trying to hold on to job. Anyhow...
What I am looking for, and would like some input involves the best way to trigger a pin when the resistance...
the "counter" is set at 900, because there are 900 seconds in 15 minutes.
the pause is the variable that you use to control how long you want to pause every time you go to the subroutine. This...
I don't know what your project is about, but if "15 min" is not a absolute, and you want to waste a little time on the chip....
there are approx 900 seconds in 15 minutes.
Using a long int of...
9600 baud with 4mhz internal crystal... no way... you need a faster crystal... 2400 baud is starting to push the limit. Sometimes if things are right, 4800.
Dwayne
Sazer is right.. Pullup resisters will help....
Or, you can use internal pull up resisters. in the chip.
Dwayne
Hello Mac,
Yes Mac, that is what I was planning on doing... Getting a PIC chip to work with these little motors. I figured since it was already wound, why not attempt to use their work for my...
Hello MisterE,
First of all, its darn good to have you back and well. You shouldn't be givnig us scares like you did. Just happy that you are not injured to bad.
M>>mmm as a start i...
Hello Folks,
Here is the situation... I have been taking apart some OLD CDROM's. They have a 9 Pole brushless motor in them.
I would like to use that motor and its current windings. ...
Hello,
I don't fully understand what you are trying to do, or what your schematic is looking like but I would try the following:
1. You said it only works on Transmitter 1.. That is case...
Try sticking a large Cap across the power supply. To insure good filterization. Another thing... the MCLR pin...is it held high at one place and not the other? Or is it floating? If so, program it...
Hello Andrew,
I am not sure if I fully understand your problem, but let me throw this out to you...
The SerIn has two things that can help you...
The Wait until and the timeout.
I...
Ok, Lets look at your code. The First goto Main (Line 7) is worthless... your program will automatically fall through to the beginning.
Lets Look at something similar...
SW var GPIO.1
LED1...
Debouncing is just the matter of putting a little "Pause" in the program. This little pause will allow accidental "double pushing", "electrical connections", that are iffy, and other uncontrollable...
Since your serial port only reads ones and zeros, it will receive the binary number. It is up to you do have the proper "shift" to place it into a 8 bit integer, or use the Serin command. Making...
Your Pause 10 is only for 10 milliseconds!
Try something a little longer....like Pause 1000 for 1 second.
Dwayne
What you may want to do, is one of two things...
put a character spacing of 1000 (defined at top of program),
or instead of Looping to the very beginning. Loop to the output again...
You may...
First off...
Can you verify your LCD is working?
Even by adjusting contrast to see dark squares, is better than nothing...
Then you must verify your chip is sending data propery...
You can...
Hello eoasap,
e>>so pseudo code something like this?
loop:
SERIN2 one byte
check that byte for Carriage return (when to stop)
if CR, exit_loop
....
process data
You can loop the Serin2 or the Serin until the predetermined "Flag" is found.
Loop:
serin datapin....variable.
Process by storing data in Eprom or whatever
if variable <> CR (or flag) goto...
the MCLR is a pin that you can use to reset, or activate your chip.
You have a fuse that you can use to make it pull high, so that you will not need to attach it to 5 V postive.
If you do...
One way is th "Dig" command, you can isolate each digit of your number, and output it to your LCD.
Dwayne
the pin has a internal pullup...
Set your programming fuse to activate this, and you will not need a pull-up resistor.
Dwayne