Can I have 2 Props on 1 Eddie
smithdavidp
Posts: 146
I ordered my Eddie last week and I have been studying the sensor layout. I have come to realize that the Eddie platform has no sensors in the rear as compared to the Medusa which has sensors all the way around. If I have read the documentation right there will only be 7 multipurpose pins left when the Eddie controller is connected. My thought is to purchase 3 of the dual sensor brackets (Ping/IR) and 6 IR sensors. The three ping/IR brackets would be placed in the rear and the 6 IR's would be placed on the bottom to avoid dropping off of a cliff. If I do this then there is no possibility that the Eddie controller could handle the extra inputs. Is it possible to connect another Prop to the Eddie controller or in lieu of that connect it to the PC? Is this even necessary? I know that the Kinect has 3D imaging but it doesn't rotate. The whole Robot has to turn. And If I'm not mistaken the Kinect has a blind spot in front of the Robot. If this was a drop off the Ping, and the IR could not see it and the Robot would take a plunge. The Eddie platform should be here tomorrow. HP won't be shipping the PC until the 15th of May so I still have some time to get any extras ordered before I start getting everything hooked up.
Comments
There are a bunch of different options for increasing the Propeller input and output capability. Adding a second Propeller is one of those options.
There are lots of multi-Propeller projects around.
I use this stack of Propeller Proto Boards in my Meacanum wheeled robot.
The top board controls the motors, monitors the encoders and interfaces with the wireless transceiver.
The bottom board captures images from a video camera and drives an array of 120 LEDs.
Adding a second Prop introduces some challenges. You need to use some sort of protocol so the Propeller can communicate with each other in a meaningful way.
While adding a second Propeller is an option, there might be ways of sharing IO pins with your planned set up. You might want to wait until you have your robot working with one Propeller before adding a second.
There are also chips available to increase both output pins and input pins. I don't have a lot of experience with these chips other than 595 shift register.
Since I have experience with these chips I'll give an example of what they can do.
As I mentioned, the bottom board in the above photo controls an array of 120 LEDs. Obviously I didn't have 120 Propeller pins to turn the LEDs on and off. I used a stack of 595 shift registers to drive the LEDs. Each shift register has eight output pins. It takes four Propeller pins to control the shift register but these shift registers can be daisy-chained so four Propeller pins can easily control lots of LEDs or other devices requiring a logic high or low state.
While I could have controlled all 120 LEDs with four Propeller pins and 15 shift registers, in order to have the LEDs update faster I used two sets of 8 shift registers and used one more Propeller pin (for a total of five) to send data to this second stack of 595 chips.
This is one example of many possible ways of expanding the Prop's I/O ability.
But again, I'm not sure if you should worry about this yet. I'm pretty sure you could add a way of detecting a drop off with a single Prop.
One option would be to mount your sensors on a servo to scan an area rather than using multiple sensors. Even if you do use multiple sensors, you could have them share pins.
Sorry for rambling, it's past my bedtime and I don't think I'm thinking straight.
If you are running low on USB ports or if the project just has multiple Propeller boards I usually embed one of these USB hubs in my project:
http://www.amazon.com/Targus-ACH63US-Super-Mini-4-Port/dp/B0009TQB1O
Since I power the Propeller boards directly and not through the USB I am able ti use this as a passive hub and don't have to power it separately.
Each of the Propeller boards will show up as a unique COM port on the PC so you can open a couple instances of the Prop tool and program each one through a single USB connection to the computer.
Robert