Shop OBEX P1 Docs P2 Docs Learn Events
is it possible?? — Parallax Forums

is it possible??

saharadja12saharadja12 Posts: 5
edited 2008-04-05 20:52 in BASIC Stamp
hi all

im just wondering, is it possible to use BS2 between a rc tx and rx of a rc toys? shocked.gif

tx trainer port is connected to BS2 i/o pin as well as the heli rx,·which the rx will act as a co-processor for motion control. the tx will function to control motion and other stuff such as camera pan and tilt control, lights etc.,

the BS2 will also·be connected·with a laptop, sensors etc.,

please advise


best regards to all

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-02-04 16:32
    Theoretically it's possible, but practically it is not. All Stamps are single threaded processors. They can do only one thing at a time and none of the functions are buffered. This means that, while the Stamp is determining the width of the RC control pulse, it can't do anything else. While it's transmitting a modified control pulse, it can't be listening for another received pulse. Since the RC pulses repeat about 50 times a second, there is a little time available for other things, but the timing becomes critical very quickly.

    It's possible to use peripheral processors like the ServoPAL or Parallax Servo Controller to take some of the processing load off the Stamp, but you'd be better off using a Propeller or an SX processor. The Propeller can handle multiple tasks because it has 8 independent processors. The SX can use interrupts and a built-in timer to do multiple functions in an overlapping fashion.
  • terry_bearterry_bear Posts: 84
    edited 2008-02-05 16:57
    If I understand correctly, I think that there are other issues as well. Will not the control signal appear at the trainer port and the tx rf at the same time? Therefore, the rrx and the stamp would receive the same signal...

    Terry
  • saharadja12saharadja12 Posts: 5
    edited 2008-04-05 20:52
    should be considered if the rx is on the ground.im going 2 use it underwater and signal penetration is poor underwater so its better to use cable instead of rf signal

    looks like a burden to the Stamp unless i have several units to control each function but it would not be practical...
Sign In or Register to comment.