Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. more than 8 from parallel port

more than 8 from parallel port

Scheduled Pinned Locked Moved Hardware & Devices
question
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Muammar
    wrote on last edited by
    #1

    does anyone know a way to control more than 8 leds or whatever with the output ports?? -- never underestimate your contributions because not everything you think of as easy is easy for the others!

    S 1 Reply Last reply
    0
    • M Muammar

      does anyone know a way to control more than 8 leds or whatever with the output ports?? -- never underestimate your contributions because not everything you think of as easy is easy for the others!

      S Offline
      S Offline
      Sebastian Schneider
      wrote on last edited by
      #2

      Yes. Use shifting (Flip-Flops). You will need to add an external power-supply, though, but that should not be much of a problem. I believe there actually is an article on that topic just here on CP. Otherwise, search for "Blinkenlights" and explore from there. Blinkenlights is a light matrix display controlled by a PC. There are some implementations using LEDs instead of the floodlights, so you might even find a working solution for your project. I assume its about creating a marquee of some sort ;)

      R M 2 Replies Last reply
      0
      • S Sebastian Schneider

        Yes. Use shifting (Flip-Flops). You will need to add an external power-supply, though, but that should not be much of a problem. I believe there actually is an article on that topic just here on CP. Otherwise, search for "Blinkenlights" and explore from there. Blinkenlights is a light matrix display controlled by a PC. There are some implementations using LEDs instead of the floodlights, so you might even find a working solution for your project. I assume its about creating a marquee of some sort ;)

        R Offline
        R Offline
        rbuchana
        wrote on last edited by
        #3

        A simpler solution would be to utilize the control port as well as the data port.

        M 1 Reply Last reply
        0
        • S Sebastian Schneider

          Yes. Use shifting (Flip-Flops). You will need to add an external power-supply, though, but that should not be much of a problem. I believe there actually is an article on that topic just here on CP. Otherwise, search for "Blinkenlights" and explore from there. Blinkenlights is a light matrix display controlled by a PC. There are some implementations using LEDs instead of the floodlights, so you might even find a working solution for your project. I assume its about creating a marquee of some sort ;)

          M Offline
          M Offline
          Muammar
          wrote on last edited by
          #4

          thanx Sebastian!i'll look for that "Blinkenlights". actually it's not a marquee that im doing, it's about creating a digital counter on a 7-segment display that i cant light more than one full digit "8". to define recurrsion, we must first define recurrsion!

          1 Reply Last reply
          0
          • R rbuchana

            A simpler solution would be to utilize the control port as well as the data port.

            M Offline
            M Offline
            Muammar
            wrote on last edited by
            #5

            is it possible?? please rbuchana, tell me how??!!:confused:

            R 1 Reply Last reply
            0
            • M Muammar

              is it possible?? please rbuchana, tell me how??!!:confused:

              R Offline
              R Offline
              rbuchana
              wrote on last edited by
              #6

              Well how are you writing the parallel port? Either using Inpout32.dll or _inp/_outp depending on your operating system. Either way your writing to an address (maybe 0x378). The control port is 0x02 more than the parallel port address. So if your parallel port address is 0x378 then... status address: 0x379, control address: 0x37A. Utilizing the control port will give you 4 extra output ports. FYI some of the control ports are hardware inverted. If you need more than 12 outputs, you may need to do like previously suggested and add some extra external logic.

              M 1 Reply Last reply
              0
              • R rbuchana

                Well how are you writing the parallel port? Either using Inpout32.dll or _inp/_outp depending on your operating system. Either way your writing to an address (maybe 0x378). The control port is 0x02 more than the parallel port address. So if your parallel port address is 0x378 then... status address: 0x379, control address: 0x37A. Utilizing the control port will give you 4 extra output ports. FYI some of the control ports are hardware inverted. If you need more than 12 outputs, you may need to do like previously suggested and add some extra external logic.

                M Offline
                M Offline
                Muammar
                wrote on last edited by
                #7

                thank you rbuchana:), u're gr8:-D

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups