Sorry about the formatting. It doesn't work right now. The seperate movement routines work but the serial doesn't. I can make it work with a timer interrupt but it refreshes about every 25 to 30 ms...
Type: Posts; User: Corbet; Keyword(s):
Sorry about the formatting. It doesn't work right now. The seperate movement routines work but the serial doesn't. I can make it work with a timer interrupt but it refreshes about every 25 to 30 ms...
This is the main routine that sends the data to the 3 receivers on 3 separate lines.
Clear
@ DEVICE pic16F684, WDT_OFF
adcon0 = 7
adcon1 = 7
ansel = 0
I'm using an old ciomputer power supply 5 volt 8 amp power supply for the servos running straight from the output 5 volt to the servos with no filter cap. I have a 5 volt 2 amp transformer used for...
I added a 10k resistor between the +5 PIC source and the serial wire and changed the 84 to 32852 and it is getting more motion than before but not much more. the servos are all over the place for a...
I tried turning off the watchdog timer and it didn't change. Thanks for the sggestion.
No the servos and chips have seperate power supplies with connected ground as I ran into that problem before :)
Here is my code
Receiver
Define osc 4
trisa = %000000
trisb = $00
low portb...
No both chips are on the same board about 2 inches apart with a wire going through a 1k resistor to the other chip. How do I filter out the noise, if any, without filtering out the signal?
Hey all,
I am having a strange issue that has been driving me crazy for a couple weeks. Today I figured out how to recreate my problem.
I have 1 chip sending a serial signal and one receiving. The...