Pages

Saturday, October 30, 2010

Have a extra monitor?

I bought a LCD monitor in 1st year of my engineering but never used it much. The very first semester it was the only thing i had, but the next year i had a laptop and i ignored my desktop. It was used only for downloading and sometimes experimenting.
Well not to forget that it helped me a lot in winning the OPUS (project i had was completely tested and worked best with my desktop) and many more applications were tested on it. My room mate also used it for his multi player game testing and his server client chat application.
But recently i find many ways i can utilize it... this post will be useful for those who have a extra monitor/desktop.
Extended display: For those who like lots of coding this is a boon!
Connect that extra monitor to your laptop and change the setting to extended display. See the screen shot below. It will show you two display's..
After you change the display to extended display you will see your desktop on other too.
It could be damn useful for people coding long hours and it increases the productivity by 20-30 % (study says).
A small demo of my extended display. I am using Dell studio 1555 and Samsung sync master 740nw on the left.


8051 Simulator

For many students of TE Comp. Sci. and others too this could be useful, a 8051 simulator. There are many available on internet but many of them don't work. I tried this and it worked well for me.
Download 8051 simulator here
Follow simple steps given in the install.txt file in the download.

After that to make a new project follow these simple steps:-
1. Open keil uvision 3 from startup.

2. Project->New uVision Project

3. Give it a name and save.

4. Select IC Atmel 89C51, looks good for our 8051 simulation. You can choose the one you want, details about it are given on right hand side.

5. Press OK.

6. File->NEW

7. A text file will open. Write your asm code here and save it as ".asm"

8. Add the saved file to the project we just created on the left, using right click and add file. You need to show all files in order to see ".asm" files , the default is ".c" files.
For eg.
MOV R0,#04
MOV A,#01
LABEL:
MOV B,R0
MUL AB
DJNZ R0,LABEL
RET
END
This was my code for Factorial of 4, you can see some changes than what we use to write on kit. a) we have to use label here instead of address for jump
b) register B which has address F0 is also changed on line 4.

9. Project-> Translate Current File
Project-> Build Target File
Project-> Rebuild all Target File
This will show you errors if any in the bottom of the software.

10. Go to debug and press start debugging session.

11. Debug->Run
You can see all the registers changing on the left.
In my program the register 'a' got a value 0x18 i.e 24 .. factorial of 4.

Well this is kinda useful for practicing 8051 extra assignment list. You can explore more.. like while in debugging mode you can see the timer of the micro controller and even SCON and SBUF register values. ( goto peripherals and select what you need).


Still have a doubt feel free to ask a question. Only 8051 related queries please.


Wednesday, October 27, 2010

Searching for new music?!


Check my playlist. You might like few of them, you can check my music profile here.
And my playlist attached as a pic here.
Click on it to zoom


Monday, October 18, 2010

Undiscovered places in pune..

After 2.5 years in Pune (esp. PICT) i can tell you now few places which many of the other people might not have visited , even you can add more to it i know but its my post so, my places!

1. Kata Kirrr..
-Famous For: Misal pav ( its the only thing available there)
If its Sunday please change your plan and also if the time if more than 4pm. They make the stuff only once in morning, and serve till its over.
Normal Cost: 45-50 Rs after a full diet per person.
Place: Near Deccan, close to back side Garware College.

2. LBT( Lonely Banyan Tree)
-It's a place to find peace, after all your frustration, on your college,your project or anything. You will surely love this place. Its on way to a hill. You will find bikes parked there, that's how first time i found this place. Take something to eat and LBT!
It's around 6-7 km's from PICT campus, take the way to kondhwa and ask someone about singhad, kondhwa and straight from there to the hill.

3. Unnamed Place 1
-Not hard to find and easy refreshment after college hours. They have SEV PAV and SAMOSA PAV. Its on the way to BSNL office in the back side of college. To spot the place, again you will find many people standing + there is a tuition classes nearby. The place got no name.

4. Burger Barn
-A bit costly place, but easy to find. Lane 7, koregoan park near natural ice cream shop(hope you know this). The Place where you will find best burger in the city. If you are going there don't forget to add mozzarella cheese to whatever you are eating and the starters are just awesome. look at its menu .

5. Jagatbhari Kolhapuri
-People who like spicy food, this is a good place.They have only one thing in menu, the masoor dal and roti. Have curd and extra butter if you lover of good food but not spicy.
It's opposite to dominoes on satara road.
Avg cost 80 per person.

6. HOT( the name of place :)
-The way to this place is bit tricky. It's in wanowrie, near to Mc Donald's there. To spot, there is a big fueling station nearby.
It's good for small refreshment like pastries and bread stuff. Try veg paneer Kathi roll.

7. Devils Delicious
-The second nearest place to PICT. A small bakery with nice stuff. Try it someday.
It is near Katraj Dairy, towards right near a big stationary.

okay this is it for today, try them till i get you more soon!
-d3m0n