Sunday, March 06, 2011

My PIC Projects

PIC Projects


  • Some of the various PICs from Microchip, 16F84, 16F627, 16F628, 16F876 and a 16F877.


  • So far, I have only played around with the PIC16F84 PIC chip, with exception to using a PIC16F876 with the HamHUD. I have found the most documentation is on the 16F84. I have also found the most homebrew programmers for this PIC. I am starting to use 16F877 PICS now for larger projects. I mainly have to write for these in another compiler other than Hi-Tech's because I do not have a full registered version ($850). Below, I have posted a pinout diagram I created in MS Paint. I usually get most of my PICs and ocillators from Digi-Key


  • Click here to go right to my projects.



    Click here for my PIC16F84 tutorial.


    LCDs


  • It's fun to make the PIC do simple things like making LEDs blinks and related projects, but I like to do more exciting things, like using an LCD. If programmed right, the 16F84 can be a very usefull in many different applications. Below is another pinout I created to show the 14 pin serial/power inputs for the LCD. It uses an industry standard chipset (Hitachi HD44780). Any LCD using this chipset can be used. A great source of cheap, high quality LCDs is Crystalfontz



  • Here is the basic wiring for an LCD to a PIC16F84. This is the most basic wiring diagram. This is a 4 bit interface. It uses PORT B pins 0-3 for the data input. Most engineers like to add a cap at pin 5 of the PIC and take the PIC side of the cap to ground. Also adding a 4.7K limiting resistor to pin 4 of the PIC can help from voltage jolts, I personally have not experienced this. This circuit has much design flexability and a lot can be added if wanted. Mosty protection components.



  • Programmers


  • Here is the programmer I use to program my PICs. It's called the P16PRO40. This was a cheap programmer kit that only cost me $25. The programmer itself was about $15 but I opted for the extra ZIF socket (Zero Insertion Force Socket) which cost about another $6 or so, plus shipping brought it up to about $25. It can be found at Amazon Electronics. It's under the Soldering Required Kits - Microcontrollers and Programmers. This programmer will program almost every PIC out there.



  • HI-Tech's C compiler


  • I have started to use a C compiler for PIC programming provided by www.htsoft.com. It's a demo or student version that is not limited to function as far as programming commands but it will only allow for code to be written for the 16F84 and 16C84 PICs.

  • So far I have not had much luck since this type of C programming is completely new to me. It is NOT C++, not even close if you ask me. HTLPIC sets up differently from other PIC C compilers. It requires more lines of set-up code at the top of the program file.

  • Such as, __CONFIG(x), this command tells the compiler what configuration to load for the particular processor. In this case we are talking about the 16F84, so __CONFIG(0xnnnn) is the configuration command required. This command is unique to the particular processor.

  • The CONFIG word determines what initial features are activated on the PIC, such as, Watchdog Timer, Code Protection, What type of occillator. The the configuration word is represented in HEX

  • The syntax is very basic: __CONFIG(0xnnnn); //nnnn being the HEX value

  • Some examples: __CONFIG(0x3FF1);



  • My Projects


    LED Chaser



  • This was my first sucessful project with a PIC chip. I used a 16F84 with a 10MHz resonator with built in caps.

  • Click here to view the source code to this project. The code is written in Hi-Tech C.
  • Click here to download the source code to this project. File has a ".c" extension.





  • Bi-color LED Project



  • Here is a neat PIC project that I created using the 16F84 chip and a neat little bi-color LED from Radio Shack. The LED can be red or green depending on the bias of the diode. By using two of the PORT B pins, I can control the bias of the LED. If the LED is on PORT B, Pin 0 and Pin 1, I can set Pin 0 HIGH and Pin 1 LOW, this would make the LED light red. If Pin 0 is set LOW and Pin 1 is set HIGH, the LED will light green. PORT B has 8 pins, so I was able to connect up to 4 LEDs and have full control of them all (as seen in the schematic).

  • Click here to view the source code to this project. The code is written in Hi-Tech C.
  • Click here to download the source code to this project. File has a ".c" extension.



  • Now that I have had some time to brush up on my C coding, I am starting to optimize the code a little better and add new routines.



  • Creating a Sine Wave with a PIC16F84


  • I have been working on creating AX.25 packet with a PIC chip and while researching how to do it, I came across somthing that Byon N6BG of www.byonics.com used to do this, he used a resistor ladder network to create sine waves. In the diagram/schematic below, you can see how the ladder is wired to the PIC. It's a 4 bit ladder network, using 4 resistor values, each one about twice the value of the last. With 4 different values, you can theoretically have 16 different voltage levels from 0 VDC to 5 VDC. Since the PIC can not produce negative voltage levels for the down side of the sine, the middle of the voltage range is used as the center voltage, being 2.5 VDC. So, the sine would go from 2.5 VDC up to 5 VDC, then back down to 2.5 VDC and then down to 0 VDC and repeat the pattern to create the sine wave. The final voltage out can be run through a small value capacitor to help smooth out the signal. It will still have somewhat of a stair step to it, but it will be smoothed out some by the cap.

  • Theoretically the voltages would range from 0 to 5, since we are using resistors in parallel, the value at any given point will never be higher than the smallest resistor in the ladder. So, we are left with a voltage range of 0 to 3.20 VDC. This can still form a sine wave, just not with the amplitude of the full +/- 5 VDC.


  • Click here to view the source code to this project. The code is written in Hi-Tech C.
  • Click here to download the source code to this project. File has a ".c" extension.


  • The table below shows the output voltage levels from each of the 16 possible resistor combinations. The right most bit represents Pin 6. The other pins go in sucession with the binary bits 2, 3 and 4. It also shows what angle of degree on the sine wave that the voltage level should fall. When I finish getting the voltages, I enter them into the table. The graph to the left of the table shows where the voltage levels would fall on the sine wave.


  • Voltage Out for BIT combinations
    Sine D AnglePins 9 8 7 6Vout
    27000000
    258.75, 281.2510000.48
    247.50, 292.5001000.87
    236.25, 303.7511001.21
    225.00, 315.0000101.55
    213.75, 326.2510101.79
    202.50, 337.5001101.99
    191.25, 348.7511102.17
    11.25, 168.7500012.51
    22.50, 157.5010012.63
    33.75, 146.2501012.75
    45.00, 135.0011012.85
    56.25, 123.7500112.96
    67.50, 112.5010113.05
    78.75, 101.2501113.12
    9011113.20

  • Since the center voltage falls in-between the 8th and 9th voltage levels, I did some quick math to show what the calculated center voltage of the sine should be: 2.51 - 2.17 = 0.34 Then 0.34 / 2 = 0.17 And Then 2.17 + 0.17 = 2.34 Leaving a center voltage of2.34 VDC at 0, 180 and 360 degrees.



  • Emergency Vehical Flasher

  • This is pretty much just a spinoff of the original LED chaser above. It's based on the PIC16F84 clocked at 10MHz. I found that many "emergency personel" were looking for simple flashers that they could mount in their vehicals. I searched around and found many different ones, but many we're very pricey ($50 - $100). This is a basic model that can be adapted to many applications. I plan to make a new version using the water-clear LED's. They are much brighter and can be seen during the day better. I also have plans to add a SPDT switch to allow for changing between flashing modes. The code provided has two modes.

  • Mode 1: Columns 1 - 4 flash and then 5 - 8 flash and it repeats 10 times.

    Mode 2: A typical chasing mode, the columns light up one after another back and fourth 10 times.

  • Anyone with the free Hi-Tech compiler can take the code and change the repeat rates and/or add/delete routines.

  • Schematic Comming!


  • Below is the breadboarded version of the flasher.

  • Below are front and back shots of both boards. I used a extra IC socket for a header/connector for the two boards.

  • Here is the whole thing together and ready to go.

  • Another shot, but closer.

  • Click here to view the source code to this project. The code is written in Hi-Tech C.
  • Click here to download the source code to this project. File has a ".c" extension.
  • Thursday, October 07, 2010

    Hack administrator from Guest account.

    Ever wanted to hack your college pc with guest account/student account so that you can download with full speed there ? or just wanted to hack your friend’s pc to make him gawk when you tell your success story of hacking ? well,there is a great way of hacking anadministrator account from a guest account by which you can reset the  administrator password and getting all the privilages an administrator enjoys on windows..Interested ? read on…
    Concept
    Press shift key 5 times and the sticky key dialog shows up.This works even at the logon screen. But If we replace the sethc.exe which is responsible for the sticky key dialog,with cmd.exe, and then call sethc.exe by pressing shift key 5 times at logon screen,we will get a command prompt with administrator privilages because no user has logged on. From there we can hack the administrator password,even from a guest account.
    Prerequisites
    Guest account with write access to system 32.
    Here is how to do that -
    • Go to C:/windows/system32
    • Copy cmd.exe and paste it on desktop
    • rename cmd.exe to sethc.exe
    • Copy the new sethc.exe to system 32,when windows asks for overwriting the file,then click yes.
    When asked to overwrite,overwrite the sethc.exe - rdhacker.blogspot.com
    • Now Log out from your guest account and at the user select window,press shift key 5 times.
    • Instead of Sticky Key confirmation dialog,command prompt with full administrator privileges will open.
    Press shift key 5 times and command prompt will open - rdhacker.blogspot.com
    • Now type “ NET USER ADMINISTRATOR aaa” where “aaa” can be any password you like and press enter.
    • You will see “ The Command completed successfully” and then exit the command prompt and login into administrator with your new password.
    • Congrats You have hacked admin from guest account.
    Further..
    Also, you can further create a new user at the command prompt by typing “NET USER XERO /ADD” where “XERO” is the username you would like to add with administrator privileges. Then hide your newly created admin account by -
    Go to registry editor and navigate to this key
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
    Here create a new DWORD value, write its name as the “user name” that u created for your admin account and live with your admin account forever :)
    I hope that was informative..

    Wednesday, July 28, 2010

    How to Solder

    If you haven't assembled electronics before, you should read about the basics before you begin. The steps below outline the procedures for preparing, soldering and inspecting many kinds of electronic components. With a few tools and a little patience you will have no trouble assembling, testing and displaying your robot. 

      1 - Basic tools needed: Soldering iron, small sponge, electronic solder, needle nose pliers, side cutters. Optional: Spare soldering iron tip, flux remover. Plug in the iron, and moisten the sponge with water. When hot, "tin" the soldering iron's tip with a small amount of solder (replace the tip if old or corroded). Wipe the tip across the wet sponge from time to time to keep it clean. A clean, well-tinned tip does best. 

      2 - Bend the component leads to fit the holes on the board.

      3 - Insert the component, observing any special orientation it may require. Bend the leads enough to hold the part flush against the board, but do not over bend

      4 - Wipe the tip clean and tin with a small amount of solder.

      5 - Heat the joint by placing the soldering iron's tip against both the component lead and the circuit board pad.

      6 - After a moment of heating, touch the solder to the lead & pad only. (If touched to the iron it will blob up.) When the solder flows, remove it and hold the tip in place for one second. Remove the iron without moving the part or board and let the joint cool. 

      7 - Trim excess component lead with the side cutter. Parts with short leads do not need to be trimmed.
    Inspect the joint. A good solder joint blends the lead and pad smoothly together, and has a smooth, bright finish. If the joint bulges or bridges to other pads, remelt it, and remove the excess solder with the soldering iron. If the joint looks fuzzy or dull it is a "cold" solder joint. Remelt it, and let it cool (without moving) to a smooth, bright

    Sunday, June 27, 2010

    Wi-Fi தொழில்நுட்பம் ஏற்படுத்தியுள்ள அச்சுறுத்தல்கள்!

    "ஒயர்லெஸ் ஃபிடெலிடி" என்ற தொழில் நுட்பம்தான் Wi-Fi தொழில் நுட்பம் என்றுஅழைக்கப்படுகிறது. லோக்கல் ஏரியா நெட்வொர்க் (LAN)) என்று அழைக்கப்படும்நெட்வொர்க்குகளின் ஒரு சில வகைகள் Wi-Fi தொழில் நுட்பம் என்றுஅழைக்கப்படுகிறது. அதாவது நெட்வொர்க்குகளுக்கும், கணினி, இணையதளஇணைப்புகளுக்குமான கம்பிவட தொழில் நுட்பத்திற்கு அடுத்தகட்டமாக இந்தகம்பியற்ற இணைப்புத் தொழில்நுட்பம் தற்போது வெகு வேகமாகபரவலாகிவருகிறது.

    முறையான பாதுகாப்பு, தடுப்பு ஏற்பாடுகள் இல்லையெனில், Wi-Fi நெட்வொர்க்கை யார் வேண்டுமானாலும் அனுமதியின்றி பயன்படுத்தி எந்தவிதமான நாசவேளைகளிலும் ஈடுபடலாம் என்பதே தற்போது எழுந்துள்ள அச்சம்.

    இந்தியா தற்போது
    தகவல் தொடர்பியலில் புரட்சியை எதிகொண்டு வருகிறது. மிகப்பெரிய செல்பேசி சந்தையாக இந்தியா வளர்ந்து வரும் நிலையில் இந்ததொழில் நுட்பமும் இந்தியாவில் அதிக வளர்ச்சியை பெறும் என்றுஎதிர்பார்க்கப்படுகிறது.

    இந்திய வர்த்தகத் துறைகளில் ஏற்பட்டு வரும் மாற்றங்கள், இதனால் மக்கள்வாழ்முறைகளில் ஏற்படும் மாற்றங்கள் ஆகியவற்றால் கணினிகள், லேப்டாப்கள், அடுத்த தலைமுறை அதி தொழில் நுட்ப ஸ்மார்ட் ஃபோன்கள் மற்றும்பிற கைவழி பயன்பாட்டு மின்னணுக் கருவிகளின் தேவை கணிசமாக பெருகிவருகிறது. இதனுடன் சேர்ந்து 24 மணி நேர இணைப்புச் சேவை, பரவலானவிரிவலை (பேண்ட்வித்) ஆகியவற்றிற்குமான தேவைகளும் கூடி வருகிறது.

    இந்த மாற்றங்களுக்கு ஈடுகொடுக்ககூடிய ஒரு தொழில் நுட்பமான Wi-Fi தொழில்நுட்பம் தற்போது இந்திய கார்ப்பரேட் நிறுவனங்கள், கல்வி நிறுவனங்கள், வீ
    டுகள் மற்றும் சில்லறை விற்பனை நிலையங்கள் ஆகியவற்றில்விரும்பத்தகுந் ஒரு இணைப்புத் தொழில்நுட்பமாக அசுர வளர்ச்சி கண்டுள்ளது.
    இந்த தொழில் நுட்பத்தை உருவாக்கிய Wi-Fi அலையன்ஸ் நிறுவனத்தின்கணிப்பின்படி தற்போது Wi-Fi தொழில் நுட்பத்திற்கான இந்திய சந்தை 270 மில்லியன் டாலர்கள். 2011-12ஆம் ண்டுவாக்கில் இது 900 மில்லியன் டாலர்கள்சந்தையாக வளர்ச்சியடையும்.

    ஆனால்... இந்த தொழில் நுட்பம் பல பாதுகாப்பு கவலைகளையும், அச்சுறுத்தல்களையும் அளிக் துவங்கியுள்ளது. சமீபத்தில் நடந்த தொடர் குண்டுவெடிப்பு குறித்து விசாரணை மேற்கொள்கையில், பாதுகாப்பு நிறுவனங்கள், இதற்கு காரணமா ரு மின்னஞ்சலை கண்டுபிடித்துள்ளது. அதனை பின்பற்றிச்செல்கையில் கென் ஹேவுட் என்ற அமெரிக்க குடிமகனின் கணினிக்குஇட்டுச் சென்றுள்ளது.

    அதாவது அந்த அமெரிக்கக் குடிமகனின் கணினி ஹேக் செய்யப்பட்டு அதன்வழியாக இந்த மின்னஞ்சல் அனுப்பப்பட்டுள்ளது தெரிய வந்துள்ளது. விசாரணைகள் தொடர்ந்து நடைபெற்று வந்தாலும், இந்த தொழில் நுட்பம்நம்மிடையே சில கேள்விகளையும் சந்தேகங்களையும் ஏற்படுத்தியுள்ளது.


    அதாவது சரியாக கண்காணிக்கவில்லையெனில், Wi-Fi நெட்வொர்க்கில் உள்ளகுறைபாடுகளினால் ஹேக்கர்கள் எந்த ஒரு கணினி நெட்வொர்க்கிலும் புகுந்துநாச வேலைகளில் ஈடுபடமுடியும். இதனால் இதன் பயனாளர்களுக்குவிழிப்புணர்வு ஏற்படுத்தவேண்டிய கட்டாயம் பிறந்துள்ளது .


    இதற்காக, வெள்ளை அறிக்கை ஒன்றையும் மஹிந்திரா ஸ்பெசல் சர்வீசஸ்குழுமம் (MSSG) வெளியிட்டுள்ளது. அதன் முக்கிய அம்சங்களைப் பார்ப்போம்: "சிறப்பான பாதுகாப்பு செயல்முறைகள் - Wi-Fi -யின் அபாயங்கள் என்று அந்தவெள்ளை அறிக்கை தலைப்பிடப்பட்டுள்ளது.

    Wi-Fi தொழில் நுட்பத்தினால் இணையதளம் உள்ளிட்ட இணைப்புகளில்நடந்துள்ள புரட்சிகள் கார்ப்பரேட் நிறுவனங்கள் முதல் வீடுகள் வரை அதன் மீது ஈர்ப்பை அதிகரித்துள்ளது. அதன் பயனும், திறனும் மற்ற கம்பிவட இணைப்பு நெட்வொர்க்குகளை விட அதிகமானது. ஆனால் இது எவ்வளவு பயனுள்ளதோந்த அளவிற்கு பாதுகாப்பு அபாயங்கள் நிறைந்தது. எனவே இந்த குறிப்புகள் சிறந்த தடுப்பு உத்திகளை மேற்கொள்ள பயனுள்ளதாக அமையும்.

    கம்பியற்ற இணைப்பு ங்கள் நெட்வொர்க்கை அடைய ஒரு பின்வாசல் வழி!

    ஒயர்லெஸ் ஆக்சஸ் கார்டுகளின் மூலம் இயங்கும் லேப் டாப்கள், தானியங்கி இணைப்பு அமைப்புகள் கியவை தற்போது பெருகி வருகிறது. அதாவது ஒயர்லெஸ் இணைப்பு பெற்றுள்ளவர்கள் தகவல்களை வான்வழியாக அனுப்புவதால், அதனை ஹேக் செய்வது சுலபம், அதாவது யார்வேன்டுமானாலும் அதனை பார்க்க முடியும். இதானல் ஹேக்கர்கள் எங்கிருந்தபடி வேண்டுமானாலும் நிறுவனங்களின் நெட்வொர்க்குகள் மட்டுமல்லாது ஒரு நாட்டின் பாதுகாப்பை தீர்மானிக்கும் ராணுவ சம்பந்தமான விஷயங்களையும் தகவல்களையும் வெளியிலிருந்தே அணுக முடியும்.


    என்ன தவறு ஏற்பட முடியும்?

    எதேச்சையாக அணுகுதல், அதாவது இதில் ஒரு பயனாளர் அடுத்ததாக உள்ளஒரு நிறுவனத்தின் ஊடுருவும் ஒயர்லெஸ் நெட்வொர்க் மூலம் ஒயர்லெஸ்அணுகல் புள்ளியைக் கைப்பற்றி அங்கிருந்து தகவல்களை திருடி என்னவேண்டுமானாலும் செய்யலாம்.

    கெட்ட நோக்கத்துடன் அணுகுதல், இதில், ஹேக்கர்கள் ஒரு பொய்யானஅணுகல் இடங்களிலிருந்து தாங்கள் உருவாக்கிய ஒயர்லெஸ் கருவிகள் மூலம்எந்த ஒரு நெட்வொர்க்கையும் ஆட்கொண்டு, அதன் வழி செல்லும் தகவல்களைதிருடுவது.

    தற்காலிக நெட்வொர்க்குகள், இதில் ஒயர்லெஸ் கணினிகளுக்கிடையே இணைப்பை ஏற்படுத்துவது, அதாவது ஒயர்லெஸ் அணுகல் இடம் என்ற ஒன்றுஇல்லாமலேயே.

    உங்கள் ஒயர்லெஸ் அணுகல் புள்ளி ஒரு குறிப்பிட்ட பகுதியை பரவலாகக்கொண்டு யங்குவதால் நீங்கள் ஒயர் மூலம் அனுப்பும் செய்திகள் மற்றும்கார்ப்பரேட் தரவுகளை (datas) தொலைதூரத்திலிருந்தே அணுக முடிவது.

    இதனைத் தடுக்க உடனடியாக செய்ய வேண்டியது என்ன?
    • ஒயர்லெஸ் கருவி அட்மினிஸ்ட்ரேட்டர் தான்தோன்றி கடவுச்சொல்லைஉடனடியாக மாற்றவும். உதாரணமாக ரீ செட் 123 அல்லது அது போன்ற பிறபொதுவான கடவுச்சொல் தானாகவே உங்கள் கணினியில் இருந்தால் அதனைஉடனடியாக மாற்றி வேறு கடவுச்சொல்லை வைக்கவும்.
    • உங்கள் ஒயர்லெஸ் கருவி பயன்படுத்தக்கூடிய WPA/WEP பாதுகாப்புகுறியேற்றங்களை எப்போதும் இயக்கத்தில் வைத்திருக்கவும்.

    • பயனில் இல்லாத போது Wi-Fi மீடியாவின் இயக்கத்தை நிறுத்தி வைப்பது நல்லது. அல்லது பிளக்கை பிடிங்கி வைப்பதும் சிறந்தது.

    • MAC முகவரி வடிக்கட்டி அமைப்பை ஏற்படுத்தி அதிகாரபூர்வ கருவிகளுக்குமட்டுமே இணைப்பை அனுமதிக்கவும்.

    • தானாகவே உள்ள சர்வீஸ் செட் ஐடென்டிஃபையர் (எஸ்.எஸ்..டி.) உடனடியாகமாற்றவும்.

    • தேவையில்லை என்றால் எஸ்.எஸ்..டி. ஒலிபரப்புகளை நிறுத்தி விடுங்கள்.
    • திறந்த Wi-Fi நெட்வொர்க்குகளை தானாகவே இணைக்கும் அமைப்பின்இயக்கத்தை நிறுத்தி வைக்கவேண்டும்.

    • உங்கள் ஒயர்லெஸ் பாதைகள் அனைத்திலும் ஃப்யர்வால்களை (Firewalls) உருவாக்கவும்.

    • உங்கள் வளாகத்தின் மையப்பகுதியில் உங்கள் ஒயர்லெஸ் அணுகள் இடத்தைவையுங்கள். சுவற்றிலோ மூலைகளிலோ வைத்தால் கசிவுகள் ஏற்படும்.

    இந்த குறிப்புகள், தனிப்பட்ட பயனர்களுக்கு ஓரளவிற்கு பொருந்தகூடியது. நிறுவனஙளும், அமைப்புகளும் இதனை பரந்துபட்ட அளவில்மேற்கொள்ளவேண்டியிருக்கும். ஒரே படித்தான பாதுகாப்பு முறைகளை இவைகடைபிடிக்க வேண்டும்.

    என்ன தொழில் நுட்பத்தை கண்டுபிடித்தாலும், அதனை உடைத்து உள் நுழையும்தொழில் நுட்பத்தை இந்த தொழில் நுட்பங்களிலிருந்தே கண்டுபிடித்துவிடமுடிகிறது என்பதே இதன் மையப் பிரச்சனை. என்று தணியும் இந்தவலைப்பின்னல் பாதுகாப்பு தாகம்?

    Friday, May 21, 2010

    How to Troubleshoot Microsoft Word 2007?

    There are numerous useful features of Word 2007 that help us create and edit our documents with ease. We can also connect to the internet and download template documents, clip art etc as well as use online dictionary or thesaurus. We can download images, photos etc from the official website of Microsoft Office. Downloading template documents like resume or cover letters can save us a lot of time needed to create them. Other than the many beneficial features of Word 2007, there is the built-in troubleshooting tool that allows us to fix the many problems that may come in our way while using Word 2007. It is very easy to use the tool that enables us to troubleshoot Microsoft Word 2007. The tool used to troubleshoot Microsoft Word 2007 is called the Microsoft Office Diagnostics tool. Follow these easy steps to troubleshoot Microsoft word 2007 using the Microsoft Office Diagnostic tool:
    Open the Microsoft Office Diagnostics tool from the Microsoft Office folder.

    Windows Vista or 7

    (a)  Type Microsoft Office in the search box on the start menu.
    (b)  You will be able to get the Microsoft Office Diagnostics tool among the search results.
    (c)  Click on Microsoft Office diagnostics tool.

    Windows XP or other older editions
    (a)  Click on the Start button.
    (b)  Go to Programs
    (c)  Select Microsoft Office > Microsoft Office Tools > Microsoft Office  Diagnostics.
    (d)  Click on Microsoft Office Diagnostics tool.

    The Microsoft Office Diagnostics dialog box will appear. Click on the Continue button.

    Click on the "Run Diagnostics" button. (In case you have used this tool before, you will see the "Run Diagnostics Again" button. Click on that button.


     

    Microsoft Office Diagnostics tool will start diagnosing if there is any issue related to Word 2007. You will have to wait about 5 to 15 minutes for this process to complete. This time will depend upon the speed of the computer as well as the problems faced by the Microsoft Office files. If it finds any issues, the tool will try to resolve them on its own. 


    The built-in tool used to troubleshoot Microsoft Word 2007, the "Microsoft Office Diagnostics", starts self-repairing if there are any issues related to the Microsoft Office programs on the computer. It runs 6 unique checks on the computer to resolve any problems. 
    According to the issue found, the tool to troubleshoot Microsoft Word 2007 might refer the user to get further help from online forums or prompt him to reinstall Microsoft Office using the installation CD. If no cause is found after running the diagnosis tool, it is probable that Word 2007 is affected by a Window-related issue instead of an Office 2007 problem.

    Tuesday, May 11, 2010

    Trigonometric Methods



    2


    Trigonometric Methods
     



    CONTENTS

    2.1       Sinusoidal functions
    2.1.2    Review of the trigonometric ratios
    2.1.3    Cartesian and polar co-ordinate systems
    2.1.4    Properties of the circle
    2.1.5    Radian measure
    2.1.6    Sinusoidal functions

    2.2       Applications
    2.2.1    Angular velocity
    2.2.2    Angular acceleration
    2.2.3    Centripetal force
    2.2.4    Frequency , amplitude,  phase
    2.2.5        The production of complex waveforms using sinusoidal graphical synthesis
    2.2.6    AC waveforms and phase shift

    2.3      Trigonometric identities
    2.3.1        Relationship between trigonometric and hyperbolic identities
    2.3.2        Double angle and compound angle formulae and the conversion of products to sums and differences
    2.3.3        Use of trigonometric identities to solve trigonometric equations and simplify trigonometric expressions












    2.1Sinusoidal functions
    Why is the study of Sinusoidal Waveforms important?

    Sinusoidal waveforms are of special interest for a number of reasons:
    n  it is a natural form occurring in an oscillator circuit; also the form of voltage induced in a turn (coil) of wire rotated in a magnetic field, ie. a generator
    n  it is the form of voltage used for both distribution of electricity and for communications
    n  all periodic waveforms can be represented as a series of sine waves using Fourier analysis.
    Example: Coil rotating in a magnetic field. Induced voltage and resulting current in a coil
    rotating in a magnetic field is sinusoidal. Fig 2.1 shows how the brushes are arranged so that the voltage induced between the two terminals of a rotating coil in a magnetic field is tapped. Arrangement in Fig 2.1 (top) gives an alternating current (AC) output and Fig 2.1 (bottom) shows how a direct current (DC) output is obtained.
    Fig. 2.1 Induced voltage and resulting current in a coil rotating in a magnetic field is sinusoidal
    We can also express a sinusoidal function using cosine function rather than the sine function itself. The functions are related by the identity
     



    Sinusoidal Waveform, v(t) =                         :

    Fig 2.2 shows the waveform. Following definitions are important.
    Vm is the peak value
    ω is the angular frequency in radians per second
    θ is the phase angle
    T is the period
     

    Fig. 2.2 Sinusoidal waveform, v(t) =



    Review of the trigonometric ratios:

    c

    b

    a

    C

    B

    A
    Following figure shows a right-angle triangle ABC. Recall the trigon ometrc ratios

                                                                                                      
                                                                                               

                                                                                                      


                                                                                             

    Hence we have

    From Pythagora’s theorem,  Therefore, we have the following trigonometric identity

    Note that this identity holds for any angle, A. Following trigonometric identities are mentioned without proof. Note that these identities are true for angles of any size.



    These trigonometric identities can be used to solve trigonometric equations and simplify trigonometric expressions.
    Use the above trigonometric identities to show the results in the following table.