Shop OBEX P1 Docs P2 Docs Learn Events
Run out of stamp I/Os on the BOE-Board — Parallax Forums

Run out of stamp I/Os on the BOE-Board

stavrosstavros Posts: 22
edited 2008-06-13 15:32 in Robotics
Hi,

I have built lots of circuits on my boe-bot· and·I have run out of pins.Is there any way that I can use the same pins for more than one circuits,or generally can I find a way of using the pins efficiently? (maybe with some special ICs)

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-06-12 19:59
    There are special chips like serial to parallel and there is the bsp40 with extra pins. As to using one pin for more than one thing that depends on what you are trying to connect it to.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Mike GreenMike Green Posts: 23,101
    edited 2008-06-12 20:46
    There are several Nuts and Volts columns on expanding the I/O pin capability of the Stamps using external devices. The StampWorks tutorial manual (experiments #23 and 24) also covers this. All of these materials are freely downloadable from Parallax's website (Go to the Resources tab. The tutorials are in the Downloads / Stamps in Class Downloads area.
  • iamdenteddiskiamdenteddisk Posts: 66
    edited 2008-06-13 09:21
    I saw this erlier and tried to post but got booted for some reason, I will offer a few suggestions here you can do what you will.

    1# condensing/ganging inputs useing RCtime circuits found in docs under "1pin many switches".

    2# Im useing an pcf8574 -I2C expander as an interface between stamp and calculator it comes 4input pins,4output pins,2 I2c interface pins ,as far as I can tell can be used in any of three configurations with stamps it is a 16pin dip wich might as well be an 8 pin dip because it gives 8 back and adds 2 interface pins wich works with many other ic's like temp sensors too aswell as the graphic calculators.

    3# useing freqout or pulseout and a chain of LC/RC filter circuits to route output to the desired section or device on the chain.

    4#chaining multiple boards by dedicating 2to8 pins on each as a data bus placeing each board closer to its point of use.
    the more pins dedicated to the bus the faster data transmission occurs.

    1 &2 are tried and true by me im currently useing them number 3 is ify only because you will need more prototyping area to use the many componants,device dependancy as any device in the chain would recieve a phase/freq shifted on or off and each filter stage would recieve only its freq and pass or negate others . and 3 also adds alot of weight in componants so its only realy good for stationary equipment unless the rest of design supports it.

    4 however you look at it these board's cost money but are easy to use and well supported.


    all of these suggestions should work with a little effort, 1 is the most popular if possible,2 second best if you can handle support circuitry,3 if its stationary and you have proto room and enjoy designing new circuits,4 is more expensive but by far easier for a novice and comes with all the perks of a second board...

    Also a question for mike here "have you any knollage of it beeing done like suggestion 3 ,I done alot on filters in school and looking at docs/specs know its possible but whether it is documented anywhere or even a good idea to put inductors and frequency out there as advice or not when user ability isnt known?
    I guess best advise is listen to mike he's helped me alot and seems to know alot about stamps.
    I will follow this thread a while as I was planning on starting a hydrogen genorator project next which require's stepup transformers to attain hiVoltage so I guess a little stamp to inductor schooling is needed.
  • HumanoidoHumanoido Posts: 5,770
    edited 2008-06-13 11:41
    In researching BS1 information, which has 8 pins instead of 16,
    it's common to use one pin to serve two functions, and make it
    double purpose to handle input and output. Depending on the
    number of required inputs and outputs, 16 pins could function
    like 32.

    humanoido
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2008-06-13 15:32
    If you can live with input being slow by about a factor of 10, an 8bit shift register will add 8 pins. Some are inputs only, some are ouputs only, and some can even do both directions. With added loss of speed, you can add on to them 8 bits at a time without using any more BasicStamp pins.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PLEASE CONSIDER the following:

    Do you want a quickly operational black box solution or the knowledge included therein?······
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Sign In or Register to comment.