Propeller and SX communication
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.
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
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
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.
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)
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.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
But then again, what are the metrics for "better".
Sorry, but trying to answer this is a lost cause.
Cheers,
Peter (pjv)
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
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 Baker
Propeller Applications Engineer
Parallax, Inc.