![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Just as the title asks; what is multiplexing? I have the slightest idea, but i don't understand. Thanks. | |
| |
| | (permalink) |
| Multiplexing for an LED display? http://www.myplace.nu/avr/countermeasures/cm_sch.gif The way it works is, there is a common connection for each segment in the display, each segment in 1 digit is referred to as a,b,c,d,e,f,g and dp for the decimal. (driven by pins D0-D7 in the schematic). There is an enable signal (at the top of the LED displays) for each digit. By enabling each digit one at a time, and changing the 'D' pins at the same time, you can display a different number on each display. So if you wanted to display 123456 on the display, you would enable LED1 and set the 'D' pins to display a 1, then disable LED1 and enable LED2 and set the D pins to display a 2. So each digit is only turned on for 1/6th of the time. By switching between the LEDs fast enough you cant even tell that they are being turned on and off. (about 20-30 times a second for the human eye). Also, the LEDs should be driven with alittle more current than the normal rating, since they will only be turned on 1/6th of the time, they will be dimmer than normal. Hope this helps...
__________________ Jeff To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. | |
| |
| | (permalink) |
| aaawe! google for it! http://en.wikipedia.org/wiki/Multiplexing
__________________ iČ = jČ = kČ = ijk = -1 | |
| |
| | (permalink) |
| in general sense, it is making use an object for multiple tasks... 1. Multiplexing a 7 segment display. 2. Multiplexing od the Data bus for address in 8085 3. multiplexing the T1 line for 24 telephone channels.
__________________ Bharath Bhushan Lohray. M.Sc. Electronics. | |
| |
| | (permalink) |
| Multiplexing is a circuit that lets you use one input pin and lets you switch it between the outputs of several devices. So you can use one pin on a uC to monitor several different things one at a time. THat circuit, however, can be used for other more novel things because of the way it works (like truth tables and stuff). | |
| |
| | (permalink) |
| Could also be like a multiplexed bus where "address" and "data" flow along the same wires but at different times. | |
| |
| | (permalink) |
| My definition: Passing many signals along one communication channel, all at the same time, or, one after the other. Multiplexing takes many forms depending on where and how it is implemented. JimB
__________________ Experience is directly proportional to the value of the equipment ruined. | |
| |
| | (permalink) | |||
| Quote:
Quote:
Quote:
If the MUX outputs one of the data lines, how does the destination of the data know what bit of data it is receiving? | ||||
| |
| | (permalink) | |
| Quote:
Brian | ||
| |
| | (permalink) |
| Ok, now this brings me to another question. How does addressing work? I know it is sort of like using a mailing address to someones home, but how is the address assigned to certain chip? It is built in? Like, let's say that i have some DRAM, and a few other IC's that have address buses, how do i assign the addresses to the chips? I have about 30 DIP style DRAM chips, that i am just itching to use, but i don't quite know how to address yet. | |
| |
| | (permalink) |
| Find the datasheets for the chips. Use http://www.datasheetcatalog.com for example. The data sheets are usually very specific about these matters. There can be differences from chip to chip, and you will only find these differences by reading the datasheets. | |
| |
| | (permalink) | |
| I have already got the datasheets for them. I was wondering if someone could leave a quick briefe/generic description on how this works? Quote:
| ||
| |
| | (permalink) | |
| Quote:
So, you have 8 (Not 30 to keep it simple) SRAM chips. You would parallel the address and data lines on all 8 chips and connect them to the CPU. Lets say the CPU has a 16bit address bus but your SRAM chips only have 13 address lines. You would take a 74HC138 demultiplexer and feed the unused CPU upper address lines into it. The 8 outputs would select each SRAM chips "chip enable line" so that only one SRAM would be accessed for each 0x1FFF block of memory from 0x0000 to 0xFFFF. SRAM1 = 0x0000 - 0x1FFF SRAM2 = 0x2000 - 0x3FFF SRAM3 = 0x4000 - 0x5FFF . .. ... SRAM8= 0xE000 - 0xFFFF | ||
| |
| | (permalink) | |
| Quote:
Also, i thought that DRAM had a built in refreshing circuits? Here is the part number for the DRAM i have; KM4164B. Last edited by Marks256; 10th August 2006 at 06:26 AM. | ||
| |
| | (permalink) |
| You can only address one bit at a time with KM4164B. So If you stack 8 of these then the address pins are all connected (A0 from Z80 to A0 on every KM4164B) and one data pin from Z80 goes to each of the KM4164B. Look at http://www.sxlist.com/techref/mem/dram/slide1.html A diagram for an 8bit dram as HM6116 can be seen here: http://www.jdm.homepage.dk/z80cpu.gif Last edited by AllanBertelsen; 10th August 2006 at 12:41 PM. | |
| |