Introduction:

One common requirement for many different digital devices is a visual numeric display. Individual LEDs can of course display the binary states of a set of latches or flip-flops. However, we're far more used to thinking and dealing with decimal numbers. To this end, we want a display of some kind that can clearly represent decimal numbers without any requirement of translating binary to decimal or any other format.

One possibility is a matrix of 28 LEDs in a 7×4 array. We can then light up selected LEDs in the pattern required for whatever character we want. Indeed, an expanded version of this is used in many ways, for fancy displays. However, if all we want to display is numbers, this becomes a bit expensive. A much better way is to arrange the minimum possible number of LEDs in such a way as to represent only numbers in a simple fashion.

This requires just seven LEDs (plus an eighth one for the decimal point, if that is needed). A common technique is to use a shaped piece of translucent plastic to operate as a specialized optical fiber, to distribute the light from the LED evenly over a fixed bar shape. The seven bars are laid out as a squared-off figure "8". The result is known as a seven-segment LED.

We've all seen seven-segment displays in a wide range of applications. Clocks, watches, digital instruments, and many household appliances already have such displays. In this experiment, we'll look at what they are and how they can display any of the ten decimal digits 0-9 on demand.

Seven-Segment Display Layout:

The illustration to the right shows the basic layout of the segments in a seven-segment display. The segments themselves are identified with lower-case letters "a" through "g," with segment "a" at the top and then counting clockwise. Segment "g" is the center bar.

Most seven-segment digits also include a decimal point ("dp"), and some also include an extra triangle to turn the decimal point into a comma. This improves readability of large numbers on a calculator, for example. The decimal point is shown here on the right, but some display units put it on the left, or have a decimal point on each side.

Segment designations for a seven-segment digit display.In addition, most displays are actually slanted a bit, making them look as if they were in italics. This arrangement allows us to turn one digit upside down and place it next to another, so that the two decimal points look like a colon between the two digits. The technique is commonly used in LED clock displays.Seven-segment displays can be packaged in a number of ways. Three typical packages are shown above. On the left we see three small digits in a single 12-pin DIP package. The individual digits are very small, so a clear plastic bubble is molded over each digit to act as a magnifying lens. The sides of the end bubbles are flattened so that additional packages of this type can be placed end-to-end to create a display of as many digits as may be needed.

The second package is essentially a 14-pin DIP designed to be installed vertically. Note that for this particular device, the decimal point is on the left. This is not true of all seven-segment displays in this type of package.
Three 7-segment displays in one package. A 7-segment display in a DIP package. A 7-segment display in a larger package.
One limitation of the DIP package is that it cannot support larger digits. To get larger displays for easy reading at a distance, it is necessary to change the package size and shape. The package on the right above is larger than the other two, and thus can display a digit that is significantly larger than will fit on a standard DIP footprint. Even larger displays are also available; some digital clocks sport digits that are two to five inches tall.

Seven-segment displays can be constructed using any of a number of different technologies. The three most common methods are fluorescent displays (used in many line-powered devices such as microwave ovens and some clocks and clock radios), liquid crystal displays (used in many battery-powered devices such as watches and many digital instruments), and LEDs (used in either line-powered or battery-powered devices). However, fluorescent displays require a fairly high driving voltage to operate, and liquid crystal displays require special treatment that we are not yet ready to discuss. Therefore, we will work with a seven-segment LED display in this experiment.

Schematic Diagram:

Schematic diagram of a seven-segment LED display. Schematic diagram of a seven-segment LED display.
As shown in the two schematic diagrams above, the LEDs in a seven-segment display are not isolated from each other. Rather, either all of the cathodes, or all of the anodes, are connected together into a common lead, while the other end of each LED is individually available. This means fewer electrical connections to the package, and also allows us to easily enable or disable a particular digit by controlling the common lead. (In some cases, the common connections are made to groups of LEDs, and the external wiring must make the final connections between them. In other cases, the common connection is made available at more than one location for convenience in laying out printed circuit boards. When laying out circuits using such devices, you simply need to take the specific connection details into account.)

There is no automatic advantage of the common-cathode seven-segment unit over the common-anode version, or vice-versa. Each type lends itself to certain applications, configurations, and logic families. We'll learn more about this in later experiments. For the present, we will use a common-cathode display as our experimental example.

Parts List:


To construct and test the seven-segment LED display on your breadboard, you will need the following experimental parts:
  1. Common-cathode seven-segment LED display (Texas Instruments TIL322A or equivalent).
  2. Orange hookup wire.
  3. Black hookup wire.

Constructing the Circuit:


Select an area on your breadboard socket that is clear of other circuits. You'll need one set of five bus contacts for this project. Then refer to the image and text below and install the parts as shown.

Circuit Assembly

Start assembly procedure

Starting the Assembly

Since your original breadboard socket is full, or has had its circuitry transferred elsewhere, we will not specify the lengths of jumpers for the assembly of this project; you will need to select an appropriate length for each jumper for yourself, as well as make the appropriate +5 volt and ground connections. The location we have shown for the construction of this project, to the right of the center of your breadboard socket, is selected to leave room for subsequent projects that will expand on this one.

Click on the `Start' button below to begin. If at any time you wish to start this procedure over again from the beginning, click the `Restart' button that will replace the `Start' button.


Performing the Experiment:


Set all eight logic switches to logic 0, and turn on power to your experimental circuit. At this point, all LED segments should be off.
Segment designations for a seven-segment digit.
SegmentNormalReversed
aSS
bSS
cSS
dSS
eSS
fSS
gSS
dpSS

Step 1. Set S7 to logic 1 and note the result on your LED display. Referring to the figure to the right, which segment is controlled by S7? When you have determined this, set S7 again to logic 0. Locate the appropriate segment letter in the table to the right, and fill in the digit 7 (for S7) in the cell immediately to the right (under the column headed "Normal").

Repeat this action for each of the remaining logic switches. Take note of which switch controls each segment as you verify that all segments of the display work properly. Fill in the switch numbers in the table to the right, matching up each segment with its controlling switch.

Step 2. Now, set S5 and S4 to logic 1, and all other switches to logic 0. How does this affect the LED display?

Step 3. Without changing anything else, carefully remove the LED display from your breadboard socket and reverse it, end-for-end. This will put the decimal point in the upper left corner of the display. Re-insert it into the same location on your breadboard socket in its new, reversed orientation. What is the resulting display?

Step 4. Set S7, S6, S3, S2, and S1 to logic 1. This should leave only S0 set to logic 0. Note the resulting LED configuration. Now remove and reverse the LED display as you did before, thus returning it to its original orientation. What effect does this have on the displayed digit?

Step 5. Set S7 to logic 0 and S0 to logic 1. How does this change the working display?

Step 6. Reverse the LED display once again, so that the dp is again at the upper left instead of at the lower right. Using the general segment identifications for the reversed display as shown at the top of the table (segment "a" is still at the top of the display), test each switch one by one, and fill in the table under the column headed "Reversed." Compare your findings for the normal and reversed display orientations. Can you think of any reason for arranging it this way? Restore the LED display to its original orientation.

Step 7. Which segments would you turn on to display the digit 2? Try it and verify your conclusion. Try generating each of the digits 0 through 9 by turning various segments on and off. Verify that all ten digits can be displayed and easily recognized.

When you have made your determinations, turn off the power to your experimental circuit and compare your results with the discussion below.

Discussion:

TI TIL322A display showing the segment connections.
When you tried out the various logic switches, you found that S7 controlled the decimal point and that S6 through S0 controlled segments a through g in order. This allows easy correlation between switches and segments.

When you turned on segments b and c (S5 and S4), the display responded with the digit 1. Logically, we could use either segments b and c or segments e and f for the digit 1, but standard practice is to put this digit on the right.

When you reversed the LED display and re-installed it, the digit 1 still appeared, and still on the right hand side of the display. Thus, connections to these segments must be in the same places, although we didn't determine at this point which switch controlled which of the two segments in this orientation.

When you turned on every switch except S0, you saw a digit 8, where all seven segments were turned on. However, when you reversed the LED display unit again, you saw a digit 0 with the decimal point turned on. This indicated that the decimal point and segment g are connected to opposite but corresponding pins.

To verify this and all other connections, you reversed the LED display once more and then identified which switch controls which segment in the inverted position. You discovered that S6 through S1 still controlled segments a through f, whether the LED display is right side up or upside down. Only segment g and the decimal point are interchanged.

This arrangement is deliberate. It often simplifies the layout of printed circuit boards. In addition, a common technique used in digital clock displays is to turn the tens of minutes digit upside down and use its decimal point in tandem with the hours digit decimal point to form a colon.

Most single-digit 7 segment displays are set up this way, with the segment connections symmetrical. In some cases, however, the common connection is not shared among all LEDs. Rather, multiple common connections (common cathode for this experiment) must sometimes be linked externally to enable all segments. In the case of the LED display we specified for this experiment, all LED cathodes are connected together, and to the center pins at the top and bottom of the package. The black jumper grounded the cathodes regardless of the orientation of the display. The actual pin connections to the specified display unit are ('K' represents the common cathode):

7-segment LED display showing the digit 0. 7-segment LED display showing the digit 1. 7-segment LED display showing the digit 2. 7-segment LED display showing the digit 3. 7-segment LED display showing the digit 4.
7-segment LED display showing the digit 5. 7-segment LED display showing the digit 6. 7-segment LED display showing the digit 7. 7-segment LED display showing the digit 8. 7-segment LED display showing the digit 9.

You should also have found that it's not hard to form all ten digits using the 7-segment display. Digit 2, for example, requires segments a, b, d, e, and g. Digit 3 removes segment e from that list, and adds segment c. The two digits 6 and 9 have two possibilities each. Digit 6 can be made with or without segment a, and digit 9 can be made with or without segment d. You can choose either method, but for consistency you should treat both digits the same way. Except for that possible variation, your ten digits should have looked like this:



When you have completed this experiment, make sure power to your experimental circuit is turned off. Remove all of the orange jumpers from your breadboard socket and put them aside for later use. Leave the 7-segment LED display and its black jumper in place for the next experiment.


Read More
Read More …

Categories: ,

Who hasn't awakened a colleague from a deep sleep with a mistimed telephone query, wished for a quick in-person chat to resolve a sticky problem with a co-worker who's forever on the move, or didn't know where to find a critical file owned by someone half a world away?

These and other problems are commonplace for those who work on teams in other parts of the city, country, or the world. Frequent travel is exhausting and expensive, and can’t be the day-to-day solution.

So, while you've probably solved the time zone problem by checking the Web for local time before you make a call, the following suggestions might help solve some of the other problems of working with others a world away.

1. Use Instant Messaging for quick impromptu meetings


One tool that's often overlooked when working with virtual teams and remote co-workers is instant messaging (IM). It's a great tool for a quick answer or opinion. Once you add your teammates to your contact list, the IM program, such as Windows Messenger or MSN Messenger, will let you know when they're online. You can also message a team member's cell phone, such as the Microsoft Windows Mobile-based Smartphone.

Most programs also allow a multi-person chat, making instant messages a great way to conduct a spontaneous meeting. Unlike e-mail, everyone sees the messages and can respond simultaneously—even "talking" all at once—adding a touch of closeness for far-flung team members. Some of these programs also enable you and your team to exchange files, use a whiteboard—even see each other if you each have a Webcam.

What you need to get going: Everyone can download either Windows Messenger or MSN Messenger, both Microsoft products. The one downside of instant messaging is that it often only works if everyone is using the same program and system.

2. Use a virtual conference room for more formal meetings


Web-based conferencing makes it possible to brainstorm, make a slide presentation, have a staff meeting, or conduct training sessions with a group of people who are thousands of miles apart. Everyone attending sees the same information at the same time, as if they were gathered around one table. These programs, such as Microsoft Office Live Meeting, also enable you to share files (not just prepared slides), use digital whiteboards—even save the presentation so people who couldn't attend the meeting can watch it later. Most services charge on a monthly or per user/per minute basis.

Screenshot of a Live Meeting session with callouts of specific features on the screen

1. Green boxes indicate who is attending the meeting.
2. You can make notes using a digital whiteboard.
3. Your agenda goes here.

3. Keep your meetings organized


What's the agenda for today's meeting, and where are the documents you need to review? What did you decide at last week's meeting? There's an alternative to scrambling through e-mail messages, attachments, and your file system to find the answers—a Meeting Workspace provides a central place on the Web for all this information. It's easy to set up: you create the site within an Outlook meeting request.

Then, before a meeting, use it to send a meeting invitation to those attending and include a link to the workspace where those invited can see the agenda and find the documents you plan to discuss. Conduct the meeting as you would ordinarily whether in person, over the phone, or using a conferencing program, such as Live Meeting. Then use a Meeting Workspace to publish the meeting results and track tasks.

What you need to get going: Everyone on the team needs Microsoft Office Outlook 2003, a Microsoft Exchange Server e-mail account, and access to a SharePoint Services site. Talk to your IT administrator to find out what your company has set up. Get the details on how to use and set up a Meeting Workspace.

4. Set up a virtual water cooler


Set up a Web site for everyone on your team to share information such as calendars, to-do lists, and reports, as well as poll team members on an upcoming decision or hold newsgroup-style discussions. With a Windows SharePoint Services site, you can control access to team documents, keeping track of versions and updates. As teammates add or delete documents, links are automatically updated so the content is always current. You can also personalize the display of information to a certain extent—for example, hide information that doesn't interest you or change the order in which the information is listed.

5. Review edits of co-workers, no matter where they are


When you can't pore over a document together, the ability to track the changes you and your teammates make is a boon to collaboration. Microsoft Office Word, Microsoft Office Excel, and Microsoft Office PowerPoint all enable you to track the changes you make, although the capabilities in Word are the most powerful.

You can also accept or reject proposed changes, and when it's time to distribute the document, you can set Word to hide all revisions. For a more final version, you can accept all the changes to make sure that no stray revision marks or comments remain in the document you plan to distribute.
Tracked changes in a Word document
1. Word automatically color-codes the edits and comments of each person. (You can display the comments of any one reviewer or all reviewers.)
2. Word tags edits with the reviewer's initials as well as the date and time of each change.

6. Stay in touch: Use a PDA to keep your important data with you


One challenge to long-distance collaboration is making sure you have on hand all the documents you need to contribute to a conference call or online meeting. This is even more difficult when you're away from your desk. Consider solving part of the problem with a mobile device such as a Smartphone or a Pocket PC. You can easily keep information on your mobile device synchronized with your desktop or notebook computer so you always have the latest information with you. Read more about Windows mobile devices.

What you need to get going: Browse the devices available on Windows Mobile and talk with your IT department about their recommendations. If you use a Windows Mobile-based device, you'll have all you need to keep your computer and mobile device in sync. However, you may want to take advantage of the latest version of ActiveSync, the software that makes synchronization possible

Copyrighted To MICROSOFT
Read More …

Categories:





Syed Sohaib Jamil
Level: 101 ( Mogul )

Mafia Members: 168



Mafia Size 168
Mafia Attack Strength 7,792
Mafia Defense Strength 7,059


Read More …

Categories:

Cracking Share passwords


Sometimes when we use "net use k: \\ipaddress\sharename" we are asked for a password. There is a password cracker "PQWAK" . All you have to enter ip address and the share name and it will decrypt the password within seconds. Please note that this can crack only the passwords is the remote operating system is running on -
Windows 95
Windows 98
Windows Me

Using IPC$ to hack Windows NT,2000,XP



Now you must be thinking of something that can crack share passwords on NT based operating systems like Windows NT and Windows 2000.
IPC$ is there to help us. It is not at all a password cracker . It is simply a string that tells the remote operating system to give guest access that is give access without asking for password.
We hackers use IPC$ in this way

c:\windows>net use k: \\123.123.123.123\ipc$ "" /user:""

You may replace k letter by any other letter. If you replace it by "b" (type without quotes) a new drive will be created by a drive letter b.
Please note that you won't be able to get access to victim's shared drives but you you can gather valuable information like names of all the usernames, users that have never logged, and other such information. One such tool that uses the ipc$ method is "Internet Periscope". Another tool is "enum" - its my favorite tool however it is run on command promt.

Penetrating in to the victim's computer



Now that you have access to a remote computer you may be interested in viewing his secret emails, download hismp3 songs , and more...

But if you think like a hard core hacker you would like to play some dirty tricks like you may wish to install a key logger or install a back door entry Trojan like netbus and backorifice or delete or copy some files. All these tasks involves writing to victim's hard disk . For this you need to have write access permission.

Lets Hack - Part 2 Denial of service attack:


This type of attacks are meant to be launched by some computer techies because this type of attack involves using Linux Operating System and compiling C language files. To exploit these vulnerabilities you have to copy exploit code from sites like neworder,securityfocus etc and comiple them.
The two most common vulnerabilities found in NetBIOS are

NetBIOS NULL Name Vulnerability

Bugtraq ID: 1163
Class: Failure to Handle Exceptional Conditions
CVE:
Remote: Yes
Local: Yes
Published: May 02 2000 12:00AM
Updated: May 02 2000 12:00AM

-------------------------------------------------------------------------------
Share Level Password Bypass Vulnerability

Bugtraq ID: 1780
Class: Access Validation Error
CVE:
Remote: Yes
Local: Yes
Published: Oct 10 2000 12:00AM
Updated: Oct 10 2000 12:00AM
Credit: Discovered by the Nsfocus Security Team and publicized in a Microsoft Security Bulletin (MS00-072) on October 10, 2000.

Another vulnerability that has been foud recently is that one can launch a DoS attack against winodws NT,2000,XP,.NET system. For detailed information and pacth plz visit this link http://www.microsoft.com/technet/treeview/?url=/technet/security/bulletin/MS02-045.asp.
I have checked my web servers that are still vulnerable to this type of attack.
If you know how to hack then you will be more secure
Read More …