How To Control 12 LEDs Using 4 Microcontroller Pins

November 30, 2007 at 02:14 AM by admin

How To Control 12 LED’s Using 4 Microcontroller Pins

If you have ever done any electronics before you will probably be familiar with multiplexing but charlieplexing adds a new dimension. It’s a technique commercially developed at Maxim by Charlie Allen hence the name but you can still use the technique in your own circuits.

Note: The actual technique has been around for some time but Maxim is one of the first companies to use it in a commercial chip.

Multiplexing simply means sharing whether it is

FDM Frequency division multiplexing

TDM Time division multiplexing

WDM Wavelength division multiplexing

Of course the other form of multiplexing which every electronic engineer uses to steer signals around a digital circuit uses standard logic gates and although not as glamorous as FDM, TDM and WDM it is a core technique for designing digital circuitry.

With a normal logic gate multiplexer you will have a minimum of two inputs that you want to select and send to a single output controlled by a control signal.

The states of the output gates are as you would expect either high (logic 1) or low (logic 0) but charlieplexing recognizes another state:

High Impedance.

Note: This is the third state in addition to 0 and 1 so it is often called tri-state.

High impedance just means switching off the output current circuit so no current can flow into or out of the output pin.

Of course high impedance output logic gates have been around for as long as digital circuits have been used mainly for accessing a microprocessor bus where each device is tri-stated to disconnect it from the shared bus while another device outputs data to the bus.

Charliplexing

Charlieplexing uses the third state to disconnect a pin from a mesh of devices so no current flows at that node and it’s ideally suited for control from a microcontroller since it’s easy to change the operation just by re-programming the microcontroller.

One of the uses of charlieplexing is to control many leds using very few pins. LEDs are also diodes so reversing the voltage across an LED means no current will flow. If you connect two leds to two output pins with the second diode connected the opposite way to the first one (and using current limit resistors). Setting the output pins to 01 will turn on the 1st LED while setting the output pins to 10 will turn on the 2nd LED.

Now add in a third output pin and add two diodes connected between each microcontroller pin as before. You now have 6 LEDs and by tristating each microcontroller pin in turn only two output pins are ‘connected’ i.e. You can control each LED individually.

You have now controlled 6 LEDs using only 3 pins normally you would need 6 individual output pins.

The formula for how many LEDs you can control is:

LEDs = N * (N-1)

  • Two pins gives 2 x (2-1) = 2
  • Three pins gives 3 x (3-1) = 6
  • Four pins gives 4 x (4-1) = 12

Advantage of Charlieplexing

Very few pins control many LEDs.

Disadvantage of Charlieplexing

Only certain sets of LEDs can be turned on at the same time.

There is an article on Charlieplexing in the July07 newsletter from http://www.best-microcontroller-projects.com

This has a more detailed look at how to connect up the LEDs and shows truth tables to operate them.

John Main’s website http://www.best-microcontroller-projects.com provides microcontroller resources and free projects which are fully documented including schematics and source code.

Types of Photo Printers

November 29, 2007 at 01:17 AM by admin

Types of Photo Printers

Photo copiers are copiers skillful of replicaing imagery with or lacking a laptop. Photo copiers became common with the future of digital cameras. The main styles of photo copiers are ink-jet photo copiers and the dye-sublimation photo copiers.

Inkjet photo copier takes replica by spraying dye-based or pigmented ink through a chain of nozzles against the photo paper. To goods high trait photos, some innovative inkjet photo copier manufacturers have come with additional flag such as light cyan and light magenta. With a resolution of 2880 dpi, most of the inkjet photo copiers can goods pointed and model open photo replicas.

HP, tenet, Kodak, and Epson are some of the prominent brands of inkjet photo copiers. tenet Pixma iP4000 and Epson Picture Mate are the most usually worn models of inkjet photo copiers. On an regular, a top trait inkjet photo copier will sacrifice more than $150.

Dye sublimation copiers, better known as dye-sub copiers and thermal-dye copiers, are the most common photo copiers after inkjet photo copiers. In a dye-sublimation photo copier, the CMYK paint ribbon is heated and the paint is conveyred to photo paper. The CMYK paint level includes cyan, magenta, golden, and black. Dye sublimation photo copiers have superior resolution than inkjet photo copiers, and can form obvious and high trait photos. When compared with inkjet photo copiers, the dye sublimation photo copiers are greatly quicker. A good trait dye-sublimation photo copier will sacrifice more than $150. tenet, Kodak, and Olympus are some of the common brands of dye sublimation photo copiers.

Other than ink-jet and dye-sublimation photo copiers, laser photo copiers and Fuji coat PG-chain are the usually worn styles of photo copiers. The Fuji coat PG-chain includes Fuji coat’s PG3500 and PG4000-II copiers. These photo copiers use a unique style of dye-convey route, which gives the photograph the look of traditional paint replicas.

Photo Printers provides full information on Photo Printers, Digital Photo Printers, link Photo Printers, Best Photo Printers and more. Photo Printers is affiliated with picture Photographers.

Learn About Wine Storage Racks For Home and Commercial Venues

November 28, 2007 at 01:03 AM by admin

Learn About Wine Storage Racks For Home and Commercial Venues

Modern wine storage racks serve many different purposes. They have become more then a mere storage unit for your wine. Now they also serve as a focal point, or as a unique piece of art, which adds sophistication to any setting. Beautiful as well as useful, wine storage racks have gained popularity not only with the individual connoisseur, but also in the commercial setting.

All wine enthusiasts know that the proper care and storage of the bottle is essential in preserving the tannins or taste of the wine and that is why they own a wine storage rack. Without proper storage, the wine can begin to break down, and lose much of its distinct original flavor. The wine storage rack is the answer to proper storage. Moreover, depending on the rack design, multiple bottles can be displayed without utilizing any surface area than a single bottle!

As the wine storage racks built for private use, commercial wine racks have also morphed into elegant displays. Many restaurants prominently display their racks behind the bar, whereas wine racks predominantly were kept behind closed doors. Commercial wine racks can serve multiple purposes. They are very efficient and safe for storing unopened bottles of wine. In addition, they are aesthetically pleasing and a sale point to the customer.

A well placed wine rack acts as its own menu. The customer can see the selection, thus creating an increase in sales, since most purchases are made by an attraction. The commercial wine rack helps market the wine itself thru this attraction. With the proper wine storage rack, labels on bottles are easily visible, selection is obvious and quantity is easy to ascertain.

Wine storage racks are a great addition to any wine enthusiasts abode, whether to be used at home or in a restaurant for commercial purposes. They are both functional and decorative. Both individual wine racks and commercial wine racks are customizable. They are no longer just a stack of square boxes, but come in a variety of shapes, colors and sizes to suit any need or desire. Wine storage racks ensure proper storage for your wine. They are convenient to use, and a great value for your money.

Discover the best wine storage racks for either your home or your place of business by visiting our guide: http://www.wine-racks-selection-guide.com

Close
E-mail It