Search results

  1. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, I'm not sure what a handler is, but I think I understand what you have been explaining. When I say GOSUB I mean the jump that the TIMER makes. I have previously used TMRs, but I wouldn't say I am experienced. This PCB is a receiver which is receiving signals from a transmitter, as in...
  2. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, Am I correct that I can use the SERVOLOOP above, but make the ON/OFF times add up to 2500us and remove the 8000us? Also is this correct: The 20ms timer in the MAINLOOP triggers a 'gosub' to the SERVOLOOP, which sets 6x SERVOS sequentially and once done, allows the MAINLOOP to continue...
  3. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, Looking a bit deeper into what you are saying. Is this correct: The interrupt occurs every 2ms intervals (How long does it last?) The first interval SETS SERVO1, and increments to SERVO2, goes back to the MAIN LOOP for the remainder of the 20ms, then at the next interval SETS SERVO2 and...
  4. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, Good suggestion, but I am supporting the Oshonsoft system. C
  5. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, Ok, I'll try the simplest method, and see about the second method later. Thanks, C.
  6. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, Considering your preferred method of 2ms LOOPs. This may be beyond my skills. Thanks. C.
  7. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B and S, I'll do some tests to see what the max PERIOD time possible before errors or jumping, then shorten it a little, or simply use 2500us max for safety. I am familiar with TIMER INTERRUPTS in PICs and will set-up a TIMER LOOP of the PERIOD length. Thanks to all. C.
  8. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, I presume by 50 msec you mean 20, is this correct? You code is working---GREAT! Thanks a lot. I found that to get the full throw of the SERVOs I need to use between 510ms and 2600 ms , Is this just a timing thing? Now i need to add the rest of the program, (MAIN LOOP) If I put your...
  9. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, That looks promising! I had tried similar, but didn't have each SERVO OFF time, and I had delay of 14 msecs instead of 8. Thanks, I'll give it a go. C
  10. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi K, Contrary to apparent lack of skill, I have been programming PICs for a long time, using Oshonsofts simulator, which I find indispensable. Sadly each time I start a project, I almost have to start from scratch, and have a library of programs to call on, and of course hopefully help from...
  11. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, Ok, thanks. sorry to have wasted your time. (Note, I have mild dyslexia, and have read over and over many times a lot of information about PWM PPM and find it most difficult to understand what I imagine is a simple timeline, if it was outlined in simple terms.) Something like: PIN1...
  12. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, Here is a section from the Wikipedia explanation: Modern RC servo position is not defined by the PWM duty cycle (i.e., ON vs OFF time) but only by the width of the pulse. (This is different from the PWM used, for example, in some DC motor speed control). I am hoping that someone with...
  13. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, What I'm actually looking for is a clearer understanding of timings when it comes to SERVO control (Not PWM) as my initial question. Thanks. C.
  14. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi B, Thanks, but I use PICs not Arduino. C.
  15. camerart

    Programming PIC to sontrol 6x SERVOs

    Hi, I'm programming PICs for a transmitter/receiver project. The program for the receiver needs to output 6x SERVO controls (standard RC SERVOs) I kind of understand the theory, of the 20ms PERIOD and within that time the SERVO bursts are outputted, but I would like a clearer explanation of...
  16. camerart

    Programming Languages

    Hi, I only 'speak' BASIC and it's not popular, but I still make interesting projects. (I'm not suggesting it!) As the last post says, choose one language and learn it well, and I bet later you will be able to translate into it, at least from other languages. Camerart.
  17. camerart

    Camera leveller

    Hi B, If I was going to do it again, I would update my methods, but this was only to illustrate how I did it using slot photoelectric sensors. In the thread I explained that a 90 year old neighbour, asked why I didn't use gymbols as in a boat, which I did, so no electronics. Thanks. C
  18. camerart

    Camera leveller

    Hi, It's taken me ages to get around to explaining this, but here goes. Here are 4x images of a small clock mechanism, with all but one spokes removed from the balance wheel and the last one used as a pendulum. (Anything similar could be used) The spoke moves down the slot of a slot...
  19. camerart

    The shape of schematic components

    Hi B, I like your answer best, as it fits more with my idea of what I want, so Ill make anew component in the shape I wish. Thanks, all. C.
Top