+ Reply to Thread
Results 1 to 11 of 11

Thread: I/O increase in the Spinneret Web server

  1. #1

    Post I/O increase in the Spinneret Web server

    Hi Friends,

    I'm starting to work with the spinneret, and i have a cuestion about the GPIO, spinneret only have 6 GPIO but i need more because i want control 20 leds through the web... So, what would be the best way to increase the GPIO in the spinneret???

    Many thanks for all.... gretings

  2. #2

    Default Re: I/O increase in the Spinneret Web server

    Hi friend!

    If you don't need the I/O lines for anything else, you can take five of them and run thm into a pair of 74154 type TTL 4:16 decoders. Put the "bottom" four bits into the two decoders in parallel and then use the 5th "bit" to enable the lower (0-15) bits or the upper (16-31) bits. You may need to play with the upper bit as to whether HIGH or LOW enables the encoders....I forget, it's been a while.

    This is sort of brute force digital stuff but then, sometimes that's all ya got!

    Curious to see any other answers.

    Take care,

    Rick

  3. #3

    Default Re: I/O increase in the Spinneret Web server

    If all you want to do is control some leds. A few 74HC59 will work.

  4. #4

    Default Re: I/O increase in the Spinneret Web server

    Hi friends,

    many thanks for your answers, i try with the IC's... I thinked in program another propeller to wait comands and activate the pins, in this case i'll have 30 i/o for control... May be its a good option, what do you think about this?

    Many thanks, my friends... Gretings

  5. #5

    Default Re: I/O increase in the Spinneret Web server

    Thanks for your answer rick,

    I think that you idea will work, and is a very low cost solution for control... did you use this circuit?? (74154) in any similar aplication?? because i have another cuestion, how do it for activate 5 outs at same time??

    thanks, take care

    cristian
    Last edited by JAGO; 03-10-2011 at 02:18 PM.

  6. #6

    Default Re: I/O increase in the Spinneret Web server

    I probably used it a long time ago in a previous life. :O)

    I believe you take two chips, wire the I/O pins that will be your bottom 4 "bits" to both sets of inputs and then use a 5th I/O pin to be the chip select (enable) for the 74154's. If the 5th pin is high, then one chip is selected if the 5th pin is low, then the other chip is selected.

    It's been a while with any TTL but I think something like that should work.

    Good luck!
    Have fun!

    Rick

  7. #7

    Default Re: I/O increase in the Spinneret Web server

    Hi rick,

    i understand your explanation and i'm trying the 74154 with the spinneret but my problem is... I can't activate More than 1 output in the 74154, for example, i need that one led keep energized while i'm activate and desactivate other led, understand me??? In the 74154 only activate or desactivate one output at same time... And i need activate one or two or five outputs but i need that's outputs maintain the states like a high comand in the BASIC stamps... Have any idea to do this??

    Thanks my friend...

  8. #8

    Default Re: I/O increase in the Spinneret Web server

    A 74HC595 would be a better choice for driving multiple LEDs.

    -Phil

  9. #9

    Default Re: I/O increase in the Spinneret Web server

    If you're really feeling ambitious, you might get away without any additional hardware.

    You would have to charlieplex using all your pins:

    http://en.wikipedia.org/wiki/Charlieplexing

    5 pins, using the equation n*(n-1) : you could potentially control 20 LEDs. There are a number of limitations and complexities, but I thought it was worth mentioning.

    http://www.electro-tech-online.com/m...arlieplex.html
    http://hackaday.com/tag/charlieplex/

  10. #10

    Default Re: I/O increase in the Spinneret Web server

    Hi pthartmann,

    i never listened about the charlieplexing... this technique is great.. many thanks, but know i need control 40 leds because i need more ligths...
    what do you think about the program a SX chip for recive serial data from the propeller and then activate his PIN's for control... do you know any other idea??

    Many thanks for all...

  11. #11

    Default Re: I/O increase in the Spinneret Web server

    Quote Originally Posted by JAGO View Post
    Hi pthartmann,

    i never listened about the charlieplexing... this technique is great.. many thanks, but know i need control 40 leds because i need more ligths...
    what do you think about the program a SX chip for recive serial data from the propeller and then activate his PIN's for control... do you know any other idea??

    Many thanks for all...
    At that point, I would have to agree with a serial to parallel chip, like Phil mentioned - the 74HC595 is a good choice. The programming to shift out to each LED shouldn't be too bad.

    I'm sure there's an example for the Propeller somewhere, but I found this example for an Atmel:
    http://www.arduino.cc/en/Tutorial/ShiftOut
    If nothing else it should show you how to wire everything.

    35 here: http://www.jameco.com/webapp/wcs/sto...de=WSF&CID=GMC

+ Reply to Thread

Similar Threads

  1. Welcome to the Spinneret Web Server Forum
    By David Carrier in forum Spinneret Web Server
    Replies: 10
    Last Post: 07-15-2013, 03:35 AM
  2. Please test URL for Spinneret Web Server
    By Mike G in forum Propeller 1 Multicore Microcontroller
    Replies: 29
    Last Post: 09-13-2011, 07:05 AM
  3. Spinneret:FTP SERVER
    By Brian Carpenter in forum Spinneret Web Server
    Replies: 1
    Last Post: 12-22-2010, 10:59 AM
  4. Availability of new Spinneret Web Server
    By RobotWorkshop in forum Spinneret Web Server
    Replies: 7
    Last Post: 11-09-2010, 07:33 PM
  5. Spinneret Web Server $49.99
    By Bump in forum Announcements
    Replies: 1
    Last Post: 11-08-2010, 06:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts