Ok I found several errors in the last one I posted so here is the newest code revision
sub procedure Send()
porta.0 = 1
portc.2 = 1
error1 = Soft_UART_Init(PORTC,0, 5, 9600,...
Type: Posts; User: Corbet; Keyword(s):
Ok I found several errors in the last one I posted so here is the newest code revision
sub procedure Send()
porta.0 = 1
portc.2 = 1
error1 = Soft_UART_Init(PORTC,0, 5, 9600,...
Ok we made some progress. I added a 500us pause between bytes and its getting the values now.
But now only the first chip is getting the serial. The 3 slave chips are on seperate lines. The first...
Oops I meant after every byte in the last sentence.
I've had a couple people on here tell me I should write an article about my project and I will once I get some of the major issues worked out and I will include pictures and I'll be sure to put a...
I have 18 servoes on a 3DOF hexapod robot. I have 3 pic16f84's running 6 servos each and a pic16f684 doing the calculations and sending the servo angles to the 84's The 84s are using PICBasic and the...
Because Mikrobasic has inverse trig functions that I need but doesn't have a good way to do a pulsout that I need so I'm using puslout in PICbasic to run servos and using mikrobasic on another chip...
I wrote the received values to to eeprom and read them and with 110,110,110,110,110,110 sent, it received 6E,AE,6E,EE,6E,EE. These are 110,174,110,238,110,238.
The similarity is in the binary, ...
Yup, first thing I made sure of. 9600 Baud, 8N1 true. I think it's just not sending the data the same because of the type. When I send a number to the SERIN2 statement like I outlined in the first...
I am trying to use Mikrobasic and PicBasic to communicate between chips. My receiver is using SERIN2 porta.1,84,10,comfail,[wait ("@"),STR t1pulse\6] but my sender is using MIKROBASIC SOFT_UART and I...
I am working on a 3 Degree of Freedom (DOF) hexapod robot. I am having trouble with Inverse Kinematic Equations. I tried several ways and haven't yet been successful in implementing IK into my leg...
Is it possible to use a really slow clock to be sure everything is working right? I guess what I'm asking is will all the pixels stay where they are set while the clock is running? What will make it...
Hey thanks, I have a mild understanding of how it works sorta but there are a lot of signals flying around. D0-D3 tell the display which Ys to light for the current X at every CL2 cycle but how does...
At your sarcastic request :) I popped it apart and it has 2 ICs on it, one has 73099hed on it and it is a 16 pin IC. The other is a 14 pin IC with la6324n and a 5x7 on it. Hope this helps.
Ha it's on there, I can't believe I missed it the first time. Thanks
Now anyone have any idea how to communicate to it?
I have looked through the datasheet but what I'm really looking for is the pinout for the 14 pin connector so that I have an idea where to start throwing data.
I have a couple of these displays and I wanted to be able to use them with a PIC. Does anyone have any information on these or maybe know a place to start? It has a 14 pin ribbon connector and a...
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...