Shop OBEX P1 Docs P2 Docs Learn Events
Propeller and SX communication — Parallax Forums

Propeller and SX communication

AImanAIman Posts: 531
edited 2006-10-10 17:45 in General Discussion
How do I get an SX to talk to a Propeller?

I am using a couple of SX to control several sensors and then feeding that to a propeller. The propeller in turn communicates with the main system. (This is because the propeller can do more then one thing at a time and the SX is going to be rather busy.)

I can go with a straight SX but then will need a way to inteface several of the SX to the system.

Comments

  • FranklinFranklin Posts: 4,747
    edited 2006-10-06 16:35
    What is it the sx needs to communicate? Serial data communications is supported by both chips. (I would think)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • AImanAIman Posts: 531
    edited 2006-10-06 16:50
    The SX·is to be used for camera work. The video clarification must be good and my understanding is that the SX is the best chip for that. Because of that I would rather link the SX together and use the cogs of the propeller. The propeller does video work, but my understanding is that it isn't as good as an SX and I need something that will work quickly and effeciently with video feeds.

    There are a total of about 20 sensors to work with in addition to the video feed. I have considered using a couple of propellers linked together or perhaps propellers linked into the main system; and also considered the same thing with the SX. Either one will work and regardless of which one is used the data must go fast and correctly. The only real question is a video feed.

    I was thinking running several of the SX would be good because it is video capable and can use 3 or 4 others in conjunction to break down sensor functions but then I lose the capability of the cogs on the Propeller. I could use just Propellers but then I lose the video capability of the SX and would still need 3 or 4.

    Given the amount of info going and coming there will be no less then·two 44 pin chips used, probably 3. One chip will need to be video feed dedicated and the other chips will need to function very quickly to cycle through sensors and motors. I don't care which chip, or what combination. It must be fast, accurate and reliable.
  • pjvpjv Posts: 1,903
    edited 2006-10-06 19:50
    AIman;

    Hunh???

    Your post above is just a bunch of rambling without any cohesive thread.

    You already seem to have your mind made up as to how best to go about this project (3 SXes, Propeller too slow, SX good for video etc.) and that it might seem hard for anyone to suggest something perhaps (more) practical.

    To get others interested in helping, could you please explain in understandable detail what you are trying to accomplish? If not, you are just asking us to waste our time.


    Cheers,

    Peter (pjv)
  • AImanAIman Posts: 531
    edited 2006-10-06 20:42
    Sorry, can't go into details on this one.

    All I really want to know is if its better to use a propeller for sensors with an SX for the video, all SX or all Propeller.
  • FranklinFranklin Posts: 4,747
    edited 2006-10-06 20:51
    With the info we have I would have to say 'YES'

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Mike GreenMike Green Posts: 23,101
    edited 2006-10-06 21:04
    To answer your question, we'd have to know what you want to do with the video feed.
  • pjvpjv Posts: 1,903
    edited 2006-10-06 23:57
    Sure.

    But then again, what are the metrics for "better".

    Sorry, but trying to answer this is a lost cause.

    Cheers,

    Peter (pjv)
  • AImanAIman Posts: 531
    edited 2006-10-09 02:17
    Franklin said...
    With the info we have I would have to say 'YES'
    ···· Thanks.
  • Paul BakerPaul Baker Posts: 6,351
    edited 2006-10-09 03:07
    AIman, I'm not sure, but I think Franklin was making a joke you didn't catch. If you read the last sentence of your previous post, then his you will catch it. It's akin to you asking me if my car is red or blue and I answer "yes".

    Belaying the point of whats more powerful, how adept are you at assembly language programing? You must be skilled at it to do video applications on the SX or Propeller, SX/B and Spin won't cut it. You need the cycle counting accuracy of straight-up assembly.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Paul Baker
    Propeller Applications Engineer

    Parallax, Inc.

    Post Edited (Paul Baker (Parallax)) : 10/9/2006 3:12:52 AM GMT
  • AImanAIman Posts: 531
    edited 2006-10-10 14:14
    Your right, I missed it.

    The SX or Propeller being used for camera work is going to be hooked into a LISP progam that oversees everything. It may be that writing code in LISP will be easier because the camera being used can jack in to the back of the computer and because of needing to identify colors, shapes and measurments.

    CMU code shows how to identify color, facial recognition programs and edge detection programs use shapes and medical equipments (such as ultrasound) utulize measurments.

    That being said, the chip that works the best for camera is without a doubt the one I need to explore. Either the chip or the host computer will need to be used for this program and with the possability of simply starting from scratch and writing my own... That would suck...
  • Paul BakerPaul Baker Posts: 6,351
    edited 2006-10-10 17:45
    In general the Propeller is more powerful, for those applications where 20MIPS is too slow, a skilled programmer can devise a method to set more cogs on the task. Image processing is a very advanced subject, whichever route is chosen, the path will not be easy.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Paul Baker
    Propeller Applications Engineer

    Parallax, Inc.
Sign In or Register to comment.