Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Corbet; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    19
    Views
    12,891

    Re: MIKROBASIC Soft_Uart to PICBASIC SEIRIN2?

    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,...
  2. Replies
    19
    Views
    12,891

    Re: MIKROBASIC Soft_Uart to PICBASIC SEIRIN2?

    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...
  3. Replies
    19
    Views
    12,891

    Re: MIKROBASIC Soft_Uart to PICBASIC SEIRIN2?

    Oops I meant after every byte in the last sentence.
  4. Replies
    19
    Views
    12,891

    Re: MIKROBASIC Soft_Uart to PICBASIC SEIRIN2?

    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...
  5. Replies
    19
    Views
    12,891

    Re: MIKROBASIC Soft_Uart to PICBASIC SEIRIN2?

    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...
  6. Replies
    19
    Views
    12,891

    Re: MIKROBASIC Soft_Uart to PICBASIC SEIRIN2?

    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...
  7. Replies
    19
    Views
    12,891

    Re: MIKROBASIC Soft_Uart to PICBASIC SEIRIN2?

    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, ...
  8. Replies
    19
    Views
    12,891

    Re: MIKROBASIC Soft_Uart to PICBASIC SEIRIN2?

    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...
  9. Replies
    19
    Views
    12,891

    MIKROBASIC Soft_Uart to PICBASIC SEIRIN2?

    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...
  10. Help with Inverse Kinematics for 3 DOF Hexapod Robot

    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...
  11. Replies
    11
    Views
    8,083

    Re: Anyone have information on SP14q006-zza

    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...
  12. Replies
    11
    Views
    8,083

    Re: Anyone have information on SP14q006-zza

    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...
  13. Replies
    11
    Views
    8,083

    Re: Anyone have information on SP14q006-zza

    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.
  14. Replies
    11
    Views
    8,083

    Re: Anyone have information on SP14q006-zza

    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?
  15. Replies
    11
    Views
    8,083

    Re: Anyone have information on SP14q006-zza

    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.
  16. Replies
    11
    Views
    8,083

    Anyone have information on SP14q006-zza

    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...
  17. Replies
    20
    Views
    19,851

    Re: Serial Timeout Strange Issues

    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...
  18. Replies
    20
    Views
    19,851

    Re: Serial Timeout Strange Issues

    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
  19. Replies
    20
    Views
    19,851

    Re: Serial Timeout Strange Issues

    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...
  20. Replies
    20
    Views
    19,851

    Re: Serial Timeout Strange Issues

    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...
  21. Replies
    20
    Views
    19,851

    Re: Serial Timeout Strange Issues

    I tried turning off the watchdog timer and it didn't change. Thanks for the sggestion.
  22. Replies
    20
    Views
    19,851

    Re: Serial Timeout Strange Issues

    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...
  23. Replies
    20
    Views
    19,851

    Re: Serial Timeout Strange Issues

    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?
  24. Replies
    20
    Views
    19,851

    Serial Timeout Strange Issues

    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...
Results 1 to 24 of 24