Shop OBEX P1 Docs P2 Docs Learn Events
Propeller vs Basic STAMP BS2P40 — Parallax Forums

Propeller vs Basic STAMP BS2P40

TAMILTAMIL Posts: 11
edited 2008-04-17 13:51 in Propeller 1
Hi all,
I was using Basic Stamp BS2p40 for my project. For one of the task, I needed to load the controller with 10Kbits. But, max RAM capacity is 128byte.
Now, I would like to look for a higher version of controllers in parallax. That is the reason why I opted for Propeller.
I would like to know if propeller can meet my requirements:

My spec requirements:
32 I/O
Serial in/out thro RS232
I2C communication support to external devices
Max RAM size
USB interface
10/100base ethernet interface
ADC/DAC

from my search on the manuals, Iam not clear about the I2C communication support for external devices. There is an optional pins for EEPROM. I would like to know If I can use for other devices say an fpga.

Comments

  • tpw_mantpw_man Posts: 276
    edited 2008-04-16 22:25
    The Propeller should be able to do everything you describe with minimal external circuitry except for ethernet(requires a chip and components). It cannot do USB natively however.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I am 1010, so be surprised!
  • Mike GreenMike Green Posts: 23,101
    edited 2008-04-16 22:29
    The Propeller has 32 I/O pins.

    It can do serial input/output through any of the 32 pins. Typically one (of eight) cog(s) can provide a full duplex serial channel up to 230KBaud.

    It can behave as an I2C master on one or more pairs of I/O pins. Speed is over 100KHz, but less than 400KHz.

    There are 32Kbytes of general purpose RAM which also contains part of your program. There's an additional 2Kbyte per cog of memory that's not accessable outside of the cog and is used for assembly programming and part of the data used by an assembly program.

    The Propeller itself doesn't have a USB interface, but most development boards have a USB to serial adapter. There has been some experimentation in writing a USB driver for the Propeller, but it's limited in capability.

    The Propeller doesn't have an Ethernet interface. Several people have experimented with a stack for an external Ethernet interface. I believe it can do FTP and UDP transfers.

    The Propeller can do multiple channels of ADC using a Delta-Sigma conversion method. This requires two resistors and two capacitors attached closely to two I/O pins. The conversion speed depends on the resolution required. DAC is done using PWM and a resistor/capacitor filter.
  • OwenSOwenS Posts: 173
    edited 2008-04-17 10:30
    Mike Green said...

    The Propeller doesn't have an Ethernet interface. Several people have experimented with a stack for an external Ethernet interface. I believe it can do FTP and UDP transfers.
    PropTCP is as far as I'm aware fully capable of both UDP and FTP. There is an IRC client based upon it, and at one point it's author was running a web server on the Propeller. It's based on the Mirochip ENC28Jsomethingorother, so it only does 10BaseT, but that should be fast enough for most applications

    (Note that a 10BaseT device will work fine in a faster network since most ports are auto negotiating)
  • stevenmess2004stevenmess2004 Posts: 1,102
    edited 2008-04-17 11:04
    On usb and ethernet. There was a usb slave driver and a UDP ethernet experements (transmit only) but I don't think the propeller was quite fast enough or had enough memory for either of them without external chips.

    If you want RS232 (not just uart) than you will need an external circuit to get to the required voltages.

    hippy has recently released a I2C slave driver. The link is in the April edition of the prop magazine.
  • BradCBradC Posts: 2,601
    edited 2008-04-17 13:51
    stevenmess2004 said...
    On usb and ethernet. There was a usb slave driver and a UDP ethernet experements (transmit only) but I don't think the propeller was quite fast enough or had enough memory for either of them without external chips.

    The Propeller can do low speed usb with 3 external resistors. I've got it emulating a USB keyboard, and also a CDC-ACM serial port (good for about 8KB/sec full-duplex). I've been playing with using it as a joystick and toying with a few other bits 'n bobs, but the CDC-ACM serial port has been running 24/7 since Nov on my AC thermostat connected to one of my linux servers.

    Plenty of memory, but depending on what you want to do, low speed USB may not be fast enough.

    One day I'll finish it off and get it packaged for the OBEX, but I need to do more testing with the Windows USB stack first (and I detest Windows)..

    Brad
Sign In or Register to comment.