Saturday, June 11, 2011

INTERFACING PUSH BUTTON WITH ARDUINO



By this program code by pressing the push button, you can turn on a device. Here instead of LED , you can give it to a 5V relay and control any device.




/*
Turns on and off a light emitting diode(LED) connected to digital
pin 13, when pressing a pushbutton attached to pin 7.
Code compiled by Nikhil Vincent
*/
// constants won't change. They're used here to
// set pin numbers:
const int buttonPin = 2; // the number of the pushbutton pin
const int ledPin = 13; // the number of the LED pin
// variables will change:
int buttonState = 0; // variable for reading the pushbutton status
void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);
}
void loop(){
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);
// check if the pushbutton is pressed.
// if it is, the buttonState is HIGH:
if (buttonState == HIGH) {
// turn LED on:
digitalWrite(ledPin, HIGH);
}
else {
// turn LED off:
digitalWrite(ledPin, LOW);
}
}

MASM 64 bit

The MASM32 project is licensed freeware available to any programmer who wishes to either learn or write Assembly level language (32 bit Microsoft Assembler). All of the software in the MASM32 project is copyrighted software that cannot be purchased, sold, re-licensed, attached or bundled with any form of software whatsoever.

One of the major problems faced by the MASM programmers today is that they have 64 bit operating systems like Windows 7. Since MASM 32 is a 32 bit program, it will not work on 64 bit operating systems. So whats the solution? I how ever found an alternative to do MASM programs for 64 bit lovers.

Emu8086 is a wonderful program for MASM. It is a micro prosessor emulator program. But how ever it works with MASM programs. Lets make a try...

DOWNLOAD HERE


This is the MASM code i am going to do..

Addition of two numbers

.model small
.stack
.data
a db "enter the first number : $"
b db "enter the second number: $"
e db 0ah,0dh,"$"
d db "sum is=$"
.code
.startup
lea dx,a
mov ah,09h
int 21h
mov ah,01h
int 21h
mov bl,al
lea dx,e
mov ah,09h
int 21h
lea dx,b
mov ah,09h
int 21h
mov ah,01h
int 21h
mov ah,00h
add al,bl
aaa
mov bl,al
mov bh,ah
lea dx,e
mov ah,09h
int 21h
lea dx,d
mov ah,09h
int 21h
mov dl,bh
add dl,30h
mov ah,02
int 21h
mov dl,bl
add dl,30h
mov ah,02
int 21h
.exit
end


Please look on to the video. View it in youtube for better clarity

 

Saturday, May 28, 2011

ANTIKYTHERA MECHANISM


I came to know about this mechanism only when our tutor taking "Signals and systems" mentioned on it. It's mystery remained hidden till the recent time.Because till now the scientists and the mathematicians could not understand its mechanical working and resolve it. But now it is unleashed. Let me tell something on this mechanism from Wikipedia.


 The mechanism is the oldest known complex scientific calculator.The Antikythera mechanism is an ancient mechanical computer designed to calculate astronomical positions.It is considered as the world's first analog Computer. Its time of construction is now estimated between 150 and 100 BC upon theories of astronomy and mathematics developed by Greek astronomers.The degree of mechanical sophistication is comparable to a 19th century Swiss clock.
                  
Professor Michael Edmunds of  who led the most recent study of the mechanism said: "This device is just extraordinary, the only thing of its kind. The design is beautiful, the astronomy is exactly right. The way the mechanics are designed just makes your jaw drop. Whoever has done this has done it extremely carefully ... in terms of historic and scarcity value, I have to regard this mechanism as being more valuable than the Mona Lisa."

Let us see what it is... from this videos. It was recreated with Lego Mind-storms. It is also shown here.











      

Friday, May 27, 2011

MART VIEW - A SOFTWARE FOR UNIQUE READING EXPERIENCE

Mart View is a very rare application that gives you a unique reading  experience. You can see the E-book as if it is a real book.That means you are getting a 3-Dimensional view of the PDF E-Book rather than ordinary view. It is a great experience. You can turn pages, scroll vertically or horizontally, or view thumbnails of the pages in the Mart View.

   One of its greatest specialty is that you can turn the pages as in the real book. The animation techniques used is really appreciable. Its something beyond words. More over you can access the free E-Book library of Mart View and download the books you desire. It bet that you will really love it if you download once.

DOWNLOAD THE SOFTWARE HERE

Try to experience it through this video.



Sunday, May 15, 2011

Oracle VM VirtualBox

Oracle VM VirtualBox is an x86 virtualization software package, originally created by software company innotek GmbH, purchased by Sun Microsystems, and now developed by Oracle as part of its family of virtualization products. It is installed on an existing host operating system; within this application, additional guest operating systems, each known as a Guest OS, can be loaded and run, each with its own virtual environment.
Supported host operating systems include Linux, Mac OS X, Windows XP, Windows Vista, Windows 7, Solaris, and OpenSolaris; there is also support to Free-BSD.


The great advantage is that, if  you want to try an operating system in your computer, you don't need to have it's disk. You don't need to reboot your system, instead just have the ISO image file of the OS. The ISO image file can be easily created using any image creation software's

download latest version from here

virtual box from my computer


Wednesday, May 11, 2011

Theo Jansen's Mechanism


Theo Jansen  is a Dutch artist. He builds large works which resemble skeletons of animals that are able to walk using the wind on the beaches of the Netherlands. His animated works are a fusion of art and engineering; in a car company television commercial Jansen says: "The walls between art and engineering exist only in our minds." He strives at equipping his creations with their own intelligence to manage avoiding obstacles, by changing their course when one is detected, such as the sea itself.

To get a practical experience regarding the design
http://www.mechanisms101.com/theo_jansen.html

Here are some videos to get it prooved




Bluetooth Remote Control 3.0

Bluetooth Remote Control turns your Bluetooth enabled mobile phone into a universal controller for Windows.You can view your monitor directly on mobile phone screen. See your Power Point slides, switch between the slides directly in the phone, browse/play the songs in iTune, WinAMP and Media player using this applicaton. You can even lock your computer using this bluetooth application. You can pause, play or forward any file in the Media Player . You can even shut down or restart your system using this app.There is also a  feature to browse every folders of your computer through your bluetooth enabled mobile. Bluetooth Remote Control is a true universal remote.







Installation process is really easy. First you install the application in your PC. After installation, you will get a .jar file that is to be copied to the memory card of your mobile.If you don't find it, press " Install Phone Client" as shown in the figure. The application is supported for all Java Phones. Now take your mobile, open the application and connect the mobile application to the PC through Blue-tooth.Now take the control of your PC. Set the " Phone connect Settings" inside the phone to " COM Port ".


download application