Search This Blog

Loading...

1/29/12

EAGLE CAD Tutorial

 EAGLE (Easily Applicable Graphical Layout Editor) is a schematic capture and PCB layout tool for hobbyists and DIY enthusiasts. EAGLE is a popular choice as it is an easy to use, powerful and affordable schematic capture and printed circuit board design package. Here you will learn how to get started, how to use the interface, and how to design a board file from a schematic and export it for hardware use. To download the file
click here

1/5/12

Finding Total Harmonics Distortion in MATLAB

  1. 1.      Open the model file
    2.      Before simulating the model double click Power GUI block
    3.      In the Power GUI window click on Configuration Parameter button and change the simulation type to Discrete as shown below:

    4.      After pressing OK button the power gui block will like this:  
    5.      Then open the scope where you going to view the output waveform and for which you want to calculate the Total Harmonic Distortion.
    6.      Press  button on the top left corner of the scope window
    7.      Select data history tab and check “save to workspace” button. Give a desired variable name. This will save the output waveform in the output waveform in the specified variable as a matrix
    8.   Simulate the model.
    9.      After the model is simulated double click power gui block.
    10.      Press FFT Analysis button. The following window will appear:

    11.      Under available signal section the Structure dropdown list box will display the list of available variables for FFT analysis. Select the desired variable name and press display. The Total Harmonic Distortion will be displayed  as shown below:

2/11/11

Creating a new project in MPLAB IDE


MPLAB IDE

MPLAB is a toolset, developed by Microchip, used to develop embedded system applications involving PIC Microcontroller.

Creating a new project in MPLAB IDE

Before creating a project with MPLAB ensure that MCC18 is installed in your system.
STEP 1: Open MPLAB.
STEP 2: Select Project->Select Set Language tool Location.
STEP 3:In that window Expand Microchip C18 Tollsuite and then expand Default Search Paths & Directories

STEP 4: Select Library Search Path and press Browse button. Search for the MCC18 Directory (It is preferable to install MCC18 in C Drive). Expand MCC18 folder and select lib and press OK button.

STEP 5: Select Linker-Script Search Path and press Browse button. . Search for the MCC18 Directory. Expand MCC18 folder and select lkr and press OK button. Close the Set Language Tool Location Window.
STEP 6: Select Project->Project Wizard.
Project Wizard window will open as show below. Press Next.




STEP 6: Select the appropriate device (Microcontroller). In my case it is PIC18F4550.Press Next.

STEP 7: In the next window select Active Toolsuite drop down list box and select Microchip C18 Toolsuite. Select Next.

STEP 8: Create your Project by giving a name and a path.
STEP 9: If you have exiting files(.c) you can add it to your project in the next window. If not you can simply press Next and then press Finish. Now you have successfully created your new project.
 NOTE:
You can directly jump from STEP 1 to STEP 6 provided Active Toolsuite in STEP 7 is not empty. If you see nothing in Active Toolsuite it is necessary to do all the steps.

7/3/10

156 USEFUL RUN COMMANDS

To Access…Run Command
Accessibility Controls access.cpl
Accessibility Wizardaccwiz
Add Hardware Wizardhdwwiz.cpl
Add/Remove Programs appwiz.cpl
Administrative Toolscontrol admintools
Adobe Acrobat (if installed)acrobat
Adobe Designer (if installed)formdesigner
Adobe Distiller (if installed)acrodist
Adobe ImageReady (if installed)imageready
Adobe Photoshop (if installed)photoshop
Automatic Updateswuaucpl.cpl
Bluetooth Transfer Wizardfsquirt
Calculatorcalc
Certificate Managercertmgr.msc
Character Mapcharmap
Check Disk Utilitychkdsk
Clipboard Viewerclipbrd
Command Promptcmd
Component Servicesdcomcnfg
Computer Managementcompmgmt.msc
Control Panelcontrol
Date and Time Properties timedate.cpl
DDE Shares ddeshare
Device Managerdevmgmt.msc
Direct X Control Panel (if installed)*directx.cpl
Direct X Troubleshooterdxdiag
Disk Cleanup Utilitycleanmgr
Disk Defragmentdfrg.msc
Disk Managementdiskmgmt.msc
Disk Partition Managerdiskpart
Display Propertiescontrol desktop
Display Propertiesdesk.cpl
Display Properties (w/Appearance Tab Preselected)control color
Dr. Watson System Troubleshooting Utilitydrwtsn32
Driver Verifier Utilityverifier
Event Viewereventvwr.msc
Files and Settings Transfer Toolmigwiz
File Signature Verification Toolsigverif
Findfastfindfast.cpl
Firefox (if installed) firefox
Folders Propertiesfolders
Fontscontrol fonts
Fonts Folderfonts
Free Cell Card Gamefreecell
Game Controllers joy.cpl
Group Policy Editor (XP Prof)gpedit.msc
Hearts Card Gamemshearts
Help and Supporthelpctr
HyperTerminalhypertrm
Iexpress Wizardiexpress
Indexing Serviceciadv.msc
Internet Connection Wizardicwconn1
Internet Exploreriexplore
Internet Properties inetcpl.cpl
Internet Setup Wizardinetwiz
IP Configuration (Display Connection Configuration)ipconfig /all
IP Configuration (Display DNS Cache Contents)ipconfig /displaydns
IP Configuration (Delete DNS Cache Contents)ipconfig /flushdns
IP Configuration (Release All Connections)ipconfig /release
IP Configuration (Renew All Connections)ipconfig /renew
IP Configuration (Refreshes DHCP & Re-Registers DNS)ipconfig /registerdns
IP Configuration (Display DHCP Class ID)ipconfig /showclassid
IP Configuration (Modifies DHCP Class ID)ipconfig /setclassid
Java Control Panel (if installed)jpicpl32.cpl
Java Control Panel (if installed)javaws
Keyboard Propertiescontrol keyboard
Local Security Settingssecpol.msc
Local Users and Groupslusrmgr.msc
Logs You Out Of Windows logoff
Malicious Software Removal Tool mrt
Microsoft Access (if installed)msaccess
Microsoft Chatwinchat
Microsoft Excel (if installed)excel
Microsoft Frontpage (if installed)frontpg
Microsoft Movie Makermoviemk
Microsoft Paintmspaint
Microsoft Powerpoint (if installed)powerpnt
Microsoft Word (if installed)winword
Microsoft Syncronization Toolmobsync
Minesweeper Gamewinmine
Mouse Propertiescontrol mouse
Mouse Propertiesmain.cpl
Nero (if installed)nero
Netmeeting conf
Network Connectionscontrol netconnections
Network Connectionsncpa.cpl
Network Setup Wizardnetsetup.cpl
Notepadnotepad
Nview Desktop Manager (if installed)nvtuicpl.cpl
Object Packagerpackager
ODBC Data Source Administratorodbccp32.cpl
On Screen Keyboardosk
Opens AC3 Filter (if installed)ac3filter.cpl
Outlook Expressmsimn
Paintpbrush
Password Propertiespassword.cpl
Performance Monitorperfmon.msc
Performance Monitorperfmon
Phone and Modem Options telephon.cpl
Phone Dialerdialer
Pinball Gamepinball
Power Configuration powercfg.cpl
Printers and Faxescontrol printers
Printers Folderprinters
Private Character Editoreudcedit
Quicktime (If Installed)QuickTime.cpl
Quicktime Player (if installed)quicktimeplayer
Real Player (if installed)realplay
Regional Settings intl.cpl
Registry Editorregedit
Registry Editorregedit32
Remote Access Phonebookrasphone
Remote Desktop mstsc
Removable Storagentmsmgr.msc
Removable Storage Operator Requestsntmsoprq.msc
Resultant Set of Policy (XP Prof)rsop.msc
Scanners and Camerassticpl.cpl
Scheduled Taskscontrol schedtasks
Security Center wscui.cpl
Servicesservices.msc
Shared Foldersfsmgmt.msc
Shuts Down Windowsshutdown
Sounds and Audio mmsys.cpl
Spider Solitare Card Gamespider
SQL Client Configuration cliconfg
System Configuration Editorsysedit
System Configuration Utilitymsconfig
System File Checker Utility (Scan Immediately)sfc /scannow
System File Checker Utility (Scan Once At The Next Boot)sfc /scanonce
System File Checker Utility (Scan On Every Boot)sfc /scanboot
System File Checker Utility (Return Scan Setting To Default)sfc /revert
System File Checker Utility (Purge File Cache)sfc /purgecache
System File Checker Utility (Sets Cache Size to size x)sfc /cachesize=x
System Informationmsinfo32
System Properties sysdm.cpl
Task Managertaskmgr
TCP Testertcptest
Telnet Clienttelnet
Tweak UI (if installed)tweakui
User Account Managementnusrmgr.cpl
Utility Managerutilman
Windows Address Bookwab
Windows Address Book Import Utilitywabmig
Windows Backup Utility (if installed)ntbackup
Windows Explorerexplorer
Windows Firewallfirewall.cpl
Windows Magnifier magnify
Windows Management Infrastructurewmimgmt.msc
Windows Media Playerwmplayer
Windows Messengermsmsgs
Windows Picture Import Wizard (need camera connected)wiaacmgr
Windows System Security Toolsyskey
Windows Update Launcheswupdmgr
Windows Version (to show which version of windows)winver
Windows XP Tour Wizardtourstart
Wordpad write



http://vijayenthiran.blogspot.com

6/20/10

SWEET REVENGE


24 yrs ago............in sharja.......india vs pakistan....finals.....one ball six runs to win...javed miandad on strike.....chetan sharma to bowl........and javed miandad does the impossible by hitting the ball over the ropes.....india bite the dust.............


now on the 20th of june 2010.....india vs paksitan........in dambulla, sri lanka.........the ASIA cup........2 balls 3 run to win......harbhajan singh on strike...............mohammed aamir to bowl.........harbhajan singh moves acros and powers the ball over the mid wicket fence in style...........india win and qualify for the finals..........wat a game...........




gautam ganbhir had said that ind-pak matches were decided by nerves and this one proved to be just that......

pakistan had won the toss and had decided to bat...........salmn butt contd his gr8 form against india and scored a good 74 of 85 before being run out........the skipper shahid afridi too got off to a gr8 start by scoring 32 of just 25 but was castled leg before by a slower one from praveen kumar........pakistan managed a respectable and well abv par score of 267 thanks to the quick fire half century by the keeper batsman kamran akmal who made 51 of 41 with 2 4s and 3 6s......

for india praven kumar picked up 3 and harbhajan and zaheer picked up 2 a piece..........


the indian started off slowly as they wanted to hav wickets in hand for the later part .......viru was slow and to add to the miseries of the indian fans viru pulled a hamstring and was eventually dismissed for 10 run off 32.....india were 82 for 2 in the 18th over with virat too bac in the pavillion.......then came in the indian skipper and built a partnership of 98 in 18 overs with gautam which laid the foundation...... gambhir made a good 83 before losing his cool in a verbal exchange with kamran akmal and eventually was bowled by ajmal......dhoni too fell after scoring 56........



with the game going to the wire........suresh raina played a brisk inning of 34 of 27(2 fours and 2 sixes) and india took the powerpaly in the 45th over...........with one over to spare and the powerplay lifted....... 7 runs were req off the last over and 4 wichets remaining ...............earlier in the 48th over bhaji too got into verbal duel ith shoaib akhtar..........


the last over was to to be bowled by aamir....raina on strike and he picks up a single of the first ball..........the second ball was slightly short nd bhaji couldnt get bat to ball and eventully tried to sneak a run......as a result of which raina was found short of his crease and had to return to the pavillion run out.................


4 balls remining and 6 run to get..... walks in praveen kumar.........he steers the ball to third man where shoaib akhtar fumbles which allows the indians to take the second.......praveen then gets off strike the next ball and with 2 balls remaining 3 runs to get bhaji was on strike.......bhaji moves across and belts the ball over the mid wicket fence for a six ....and rest as they say was history............the celebration that followed was even more unbelievable.............

after 24 yrs the nightmares of the 1986 sharja final was washed off and the score settled for good..............................wat a game of cricket.....

6/19/10

FIFA - DISAPPOINTMENT


FIFA world cup 2010...........all the hype created by the people and media ...............the wavin flag song by knaan.....followed by the waka waka by none other than shakira.......and everyone will be thiking this is all the WC requires but is it enough?????????????????????


the majority of the fav hav not performed to even 50% of their potential.............

starting with Brazil........winning 2-1 and taking awya maximum points would indeed please dunga but to win the WC a lot more has to be put in...................with ivory coast and and Portugal taking a point each from their game against each other the game between Brazil and the these two teams becomes vital...............


perhaps the biggest upset in the tournament so far.........swiss beating the Spanish 1-0......after the Spanish dominating perhaps 75-80% of the match it was a hard result............if spain finish second and brazil finish first in their respective grps then they will face off in the round of sixteen..........it would indeed be interesting....wouldnt it


perhaps the strongest team on paper along with Spain are none other than England.........after two games they hav not managed to win even one............. with two points and only one match remaining it is very unlikely that they go through...........unless they beat slovenia in their last game.......


Netherlands were supposed to sweep of their opponents in their first game........even thoiug they won the game 2-0 they failed to impress and were far from their best......they really ned to pull up their socks as well...........


germany...........well wat can i say abt this team..........from beating australia 4-0 to losing to serbia 1-0........it will be interesting to see how they perform without their star striker klose who was sent off in the game against serbia.....but still germany are topping their grp...........


next come the reigning world champions italy...............they hav played only one game where they drew with paraguay ............they would want to win both of their remaining games to go into the knock out stages ith good momentum............


the runner up of the previous world cup,..... france....... face the scare of becoming the first team to go out of the world cup................they have played two games.........drawn one and lost the other............they not only need to win against south africa with a big margin(atleast 3-4 goals without conceeding any)...........but also hope that the match between mexico and urugay does not end in a draw and also hope that the margin of defeat of any team is as much as possible...............as france can enter the knockout stages only on goal difference..........


with almost all of the top teams not doing well consistently....there is one team which has lived upto its expectation..........its none other than the south american giants ARGENTINA......... with the likes of messi,higuain and others......they are the only teams that has lived upto the expectations..................
.......maybe it is because of the highly contraversial coach none other than former arg player DIEGO MARADONA...........they hav played two matches and won both (1-0 against nigeria and 4-1 against south korea...)...........they are perhaps the fav to win the world cup now..........

thus the tournament has seen its fair share of upsets already.............. whether this is just the begining or whether the teams will perform better under pressure......... only time can tell..........



commenst are welcomed whole heartedly......

yours lovingly


susa.....:)








http://vijayenthiran.blogspot.com