Shop OBEX P1 Docs P2 Docs Learn Events
TwinProp "P-51" Concept/Prototype for YOUR review... — Parallax Forums

TwinProp "P-51" Concept/Prototype for YOUR review...

RinksCustomsRinksCustoms Posts: 531
edited 2007-07-30 06:29 in Propeller 1
Chalk one up for the Deviants! Two Props spining at 80MHz fully loaded with options and the flexibility to give the user up to 45 direct I/O lines... ON-THE-FLY!!

Board features as of Rev 1.0a;
  • 1 VGA out
  • S-video out
  • 1 Video·out w/ optional broadcast
  • 1 Keyboard port
  • 1 Mouse port
  • 2 SD card ports
  • 3 additional·EEPROM slots for each Prop
  • 1 slot for an ADC8031
  • 1 slot for an LTC1289

Optional ports/parts being researched that may be added into the design:
  • S-Video out
  • 2 PSx game controller ports take a peak!·The page goes into detail of interfacing PS1/PS2 conrollers to a PC, but i read somewhere that the PSx data transfers run from 200MHz to 500MHz.
  • Ethernet port
  • MP3 decoder chip
  • M74HC4316 Quad Bilateral switch as a replacement for the aging 4066 chips - it has some better characteristics.
  • A few NLAS7222A-D's to handle video switching for broadcast bandwidth capacity.

Inter-accessable features - features both Props can access currently:
  • Mouse
  • Keyboard
  • both onboard ADC's
  • both SD cards

DESIGN-

At the heart of the design lies two Propeller chips connected by a 4 bit data bus for very fast transfer of data between the two chips, after programming independently, the 2 DIP switches (SW1 & SW2) can be switched on letting pins 30 & 31 be used for handshaking of the 4 bit exclusive data bus. Pins 28 & 29 on each Prop serve as an I2C bus each independent from the other Prop. This allows for more collective devices to be used as well as independent programability, as this design is asymetrical purposely.

BUSES, SHMUSES-

Where this board really differs from other boards is it's flexibility. Each available Propeller pin is tied to one of two Master I/O buses. For the Primary, it's pins 5..27 (pin 4 is "freqout'ed" 10MHz used for the Secondary's XIN input), for the Secondary it's pins 4..27. Each Master bus is either connected to its own Main or Auxilary bus for user I/O. The Main and AUX buses make 4 electrically independent buses. What do all these buses mean to the user? The user could tie up all the I/O's on the main buses with interfaces like VGA, Keyboard, Mouse, MP3 chips, Ethernet devices and other periphials that require most of the attention of a Propeller and use the Aux buses for things that require periodic sampling or adjusting like PING sensor(s), temp, humidity, or pressure sensors muxed through one of the two·onboard ADC's, drive an 8 bit latch to create a bargraph of LED's, or interface to SNES controllers.

This bus flexibility is achieved through switching the inputs of the MCP23016's to outputs. The 4 MCP23016's outputs control the array of 4066 IC's that serve as the I/O swithces. Each 4066 is arranged so that two gates form a SPDT electronic switch for each available I/O pin on each propeller. It takes 4 16 bit I/O expanders and (23) 74HC4066's bilateral switches to make this all possible. Accessing the user pins on the main or aux busses is fairly straight foward, assuming some knowledge of serial and I2C data transmission, the user only need to write to the corresponding I2C device and set the direction registers bits·to output·and output registers bits to either high or low (0 or 1). This is similar to the propellers opperation of registers, it just requires I2C formatted device address (4 or 5) followed by the register you want to modify. A spin or assembly object could be made fairly easy to make selecting an I/O on a main, aux, or MatriX bus almost built-in.

MatriX'ed-

Then there is the MatriX bus. This bus allows inter-bus access, giving the user even more flexibility of the system. The MatriX bus operates like it's counter part buses with one exeption, it can connect one prop with certain devices that·are exlusive to the other. For example, the Mouse and Keyboard are exclusive to the secondary, but by accessing device 5 on the primary's I2C bus, and setting outputs GPB1, GPB0, GPA7, and GPA6 to high(1) and now the primary prop has access to keyboard and mouse. But the coresponding pins going to the secondary should be disconnected via the secondary's I2C bus controller. This is done anually and it could also be achieved using the 4 bit exclusive data bus by setting a flag or changing a variable that some code checks periodically or monitors that can write the Secondary's I2C bus with the correct device address and corresponding pins to disconnect.

WHERE YOU COME IN-

I'm posting the schematics for your scrutany, constructive critisism, and otherwise suggestions as i begin the PCB layout proccess. You'll need the Adobe Acrobat reader to view these schematics.

If you would like to see a feature incorporated into this design, a successful submition meets the following criteria:
  • Any additions have to be "working" schematics. ie - They should be schematics of known properly functioning devices that can interface with the propeller
  • periphial devices that require constant attention from a host (Prop) shouldn't consume more than 8 I/O
  • Is a device or interface that can be used by the majority of users, ie- an ethernet port interface or MP3 chip interface
  • if you have sample code/documentation on how to use the device, this should be included, but isn't manditory.

·hop.gifUpdated 7/12/2007 - This board will have integrated S-video out along with some documentation on how to implement it using the TV driver ver 1.1, the current schematics will not show this change yet.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
E3 = Thought

http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.

Post Edited (RinksCustoms) : 7/30/2007 6:04:45 AM GMT

Comments

  • Harrison.Harrison. Posts: 484
    edited 2007-07-12 02:37
    Looks like a neat idea. I especially like the abundant supply of peripherals (mainly the ADCs that most other boards don't have). It will be interesting to see what kind of software you/others come up with for this kind of multiprop setup.

    Just a note: I am pretty sure you are only supposed to have one pullup per i2c line. Having more than one will be like paralleling a bunch of resistors, which means the pullup current will increase enough to render the i2c buss unusable. Your setup would yield about 1.2k on each line, which is a bit high for a pullup (thats 2.75ma@3.3v when the Prop/eeprom pulls the line low, which doesn't sound safe).

    EDIT: Updated pullup equivalent resistance since I miscounted the number of i2c devices/pullups.

    Harrison

    Post Edited (Harrison.) : 7/12/2007 2:49:47 AM GMT
  • RinksCustomsRinksCustoms Posts: 531
    edited 2007-07-12 02:52
    ooh, good point! that slipped my mind, thanks. The schematics are preliminary and are subject to change somewhat, mostly from your inputs!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    E3 = Thought

    http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! The average PC while browsing the internet typically uses less than 30% of it's potential, why not donate a portion of the rest for cancer resaerch?

    Post Edited (RinksCustoms) : 7/12/2007 3:13:16 AM GMT
  • BTXBTX Posts: 674
    edited 2007-07-12 03:04
    Michael.
    I can't see the ethernet port... is there any place on the board ?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
  • RinksCustomsRinksCustoms Posts: 531
    edited 2007-07-12 03:49
    There is no Ethernet implemented as of yet largly due to the fact that i've never messed with it on the prop. If someone has a working ethernet port on their prop setup and is willing to share schematics and part numbers, i would be glad to include it into the design before prototyping.

    The etherent port seems to be a popular subject in the forums lately..idea.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    E3 = Thought

    http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! The average PC while browsing the internet typically uses less than 30% of it's potential, why not donate a portion of the rest for cancer resaerch?

    Post Edited (RinksCustoms) : 7/12/2007 4:04:08 AM GMT
  • mparkmpark Posts: 1,305
    edited 2007-07-12 23:02
    The P-51 Mustang only had one propeller; maybe you should call it "P-61" instead.

    http://en.wikipedia.org/wiki/P-61_Black_Widow
  • LarryLarry Posts: 212
    edited 2007-07-13 00:35
    The P-61 never saw action until June 1944. The real twin prop of the war was the P-38

    en.wikipedia.org/wiki/P-38

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • RinksCustomsRinksCustoms Posts: 531
    edited 2007-07-13 01:07
    well i really wasn't refering to a P-51D the name probably won't stick. Propeller based, 51 chips at the time i named it. If i were to give this design a name it'd be more akin to "P-38 Lightning", lol

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    E3 = Thought

    http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! The average PC while browsing the internet typically uses less than 30% of it's potential, why not donate a portion of the rest for cancer resaerch?
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-07-26 18:45
    I prefer the Cessna O-2. Their push me - pull you arrangement would add a nice metaphor to your board.

    http://www.richard-seaman.com/Aircraft/AirShows/YankeeAirMuseum2003/Sampler/index.html
  • Tom WalkerTom Walker Posts: 509
    edited 2007-07-26 19:19
    If you like "different" Cessnas...look up the A-37..."Dragonfly" used during the VietNam conflict and then later, as the T-37 (nicknamed the "tweet" or "converter" because it converted JP-4 jet fuel directly into sound <g>)...used in the US Air Force UPT (undergraduate pilot training) program as the first jet trainees fly.

    I can tell you from experience that they don't have inverted flight tanks, though...

    Woo Hoo!· My 500th post...

    ·



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Truly Understand the Fundamentals and the Path will be so much easier...
  • RinksCustomsRinksCustoms Posts: 531
    edited 2007-07-27 05:25
    lmao! neither do Cardinals - my father owns one and i'll be going for my pilots license soon. not like we're staying on topic or anything...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    E3 = Thought

    http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
  • johnnyairplanejohnnyairplane Posts: 25
    edited 2007-07-30 06:29
    This is a great idea!

    Of course, so was the Cessna 337! - a great idea that didn't catch on until well after Cessna quit producing
    such a great aircraft! - let's hope your idea catches on sooner!

    337's were called 'polish p-38's' - the 'mix-master' - Bird-dogs (O-2's) and push me pull me's....

    John
Sign In or Register to comment.