Shop OBEX P1 Docs P2 Docs Learn Events
sony remote to control robot — Parallax Forums

sony remote to control robot

davesky81davesky81 Posts: 1
edited 2008-10-09 17:07 in General Discussion
sad.gif

Hi,

I'm having an hard time making a program for my SX 48 controler. I want to do the same thing as the bs2 was doing, remote control a robot with a tv remonte control.

Could somebody help me please

Dave

Comments

  • JonnyMacJonnyMac Posts: 9,214
    edited 2008-10-08 01:14
    In the SX/B help file you'll find code for running servos using the SX48's timers. In these forums you'll find Sony IR code that I and others have written; all the pieces are in place -- you just need to knit them together and massage them.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2008-10-09 17:07
    Could you be a bit more specific about why you are having a hard time? Sony has several different remote control codes [noparse][[/noparse]I believe there are 3] and if you switched remote control devices, you may be struggling with it not recognizing the code as the length of the transmission can vary in the actual number of bits and other details.

    And a second problem is that the existing examples pretty much ignore certain elements of the Sony code, such as the portion addressing a TV versus addressing a VCR or other device. The examples just process the main features of a button's identity.

    So, if you really want to completely exploit a remote controller, you may have to do some research and hacking to determine all the details of that particular device's codes. Sony is by and far the most popular and best documented on the internet.

    I have a 'universal remote controller' with over 100 different schemes and have worked on using the Debug screen and a BasicStamp to help me reverse engineer and decode schemes. I also use an audio oscilloscope input to my computer with software to verify what the actually timings are and gain preliminary info. Some buttons repeat transmission automatically, others are one shot. And others toggle the portion of the code that addresses a TV, DVD player, VCR, and so forth. A good understanding of all the features will really help you get going.

    With the right information, you can use just about any IR remote controller with the SX48, SX28, a BasicStamp, or a Propeller. You can even have the microcontroller convert a recieved IR input into a retransmitted output in a different code scheme. For example, you might be able to make an empty unused feature button on your T.V. remote activate your air conditioner that uses a different IR scheme.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    It's sunny and warm here. It is always sunny and warm here.... (unless a typhoon blows through).

    Tropically, G. Herzog [noparse][[/noparse] 黃鶴 ] in Taiwan
Sign In or Register to comment.