Skip to main content

Posts

Showing posts from 2015

How to Change or Customize Windows 7 Boot Screen Using Windows 7 Boot Updater

By:Prayag Nao Now the wait is over. Since when Microsoft released Windows 7 , no one was able to change the boot screen as it requires lots of files and certificates customization. But now Jeff Bush @ "Coder for life" website has developed an excellent tool which can customize Windows 7 boot screen. " Windows 7 Boot Updater " is a program that makes it easy to update the Windows 7 boot animation and text. It is written in C++/CLI and requires Microsoft .NET Framework 2.0 and the Microsoft WIM library.   Features List: Modifies the boot animation Modifies the boot text "Starting Windows" and "Microsoft Corporation" Will compile the animation from 105 BMP, PNG, GIF, or TIFF images Does not require any other applications (like ImageX) Designed to be idiot-proof by having numerous checks Automatically backs up the modified files Works for all versions of Windows 7: any language, any edition, 32-bit or 64-bit

Interfacing HC-SR501 PIR Motion Sensor with Raspberry Pi

By:Prayag Nao All living beings radiate energy to the surroundings in the form of infrared radiations which are invisible to human eyes. A PIR (Passive infrared) sensor can be used to detect these passive radiations. When an object (human or animal) emitting infrared radiations passes through the field of view of the sensor, it detects the change in temperature and therefore can be used to detect motion. HC-SR501 uses differential detection with two pyroelectric infrared sensors. By taking difference of the values, the average temperature from the field of view of sensor is removed and thereby reducing false positives. Interfacing HC-SR501 with Raspberry Pi is easy because the output of sensor is Pi friendly ie. 3.3V and it can be powered from the 5V rail of  Pi. The PIR sensor consist of 3 pins: Vcc – 4.5V to 20V, Input power OUTPUT  – TTL output of sensor 0V, 3.3V GND  –   Ground Working of HC-SR501 PIR sensor   The module has a rectangular window w

Interfacing HC-SR04 Ultrasonic Sensor with Raspberry Pi

By:prayag nao Ultrasonic distance sensors are designed to measure distance between the source and target using ultrasonic waves. We use ultrasonic waves because they are relatively accurate across short distances and don’t cause disturbances as they are inaudible to human ear. HC-SR04 is a commonly used module for non contact distance measurement for distances from 2cm to 400cm. It uses sonar (like bats and dolphins) to measure distance with high accuracy and stable readings. It consist of an ultrasonic transmitter, receiver and control circuit. The transmitter transmits short bursts which gets reflected by target and are picked up by the receiver. The time difference between transmission and reception of ultrasonic signals is calculated. Using the speed of sound and ‘ Speed = Distance/Time ‘ equation, the distance between the source and target can be easily calculated. HC-SR04 ultrasonic distance sensor module has four pins : VCC – 5V, input power TRIG – Trigg

Simple GPIO input/output program for raspberry pi

By: prayag nao Today we are going to discuss about simple I/O program of raspberry pi.here is pin diagram of raspberry. so we are going to talk about GPIO I/O program then we need 2 pins,one for output and one for input from button. material required: Raspberry pi. A push Button. some connector wires. A LED. connections: connect 5v pin of raspberry pi to one pin of push button. Now connect one end of push button ti 11th pin of raspberry pi. Now connect 13th pin to +ev pin of led and ground to -ev pin of led (you should use a resistance of 330omhs in series with LED). Programming:   open text editor of raspberry pi and paste the following code.       import GPIO.RPi as GPIO            ##import GPIO library       import time       GPIO.setmode(GPIO.BOARD)    ##use board pin numbering       GPIO.setup(11,GPIO.IN)          ##set 11th pin as Input pin       GPIO.setup(13,GPIO.OUT)       ## set 13th pin as output pin       while 1:         if GPIO.i

blinking a LED with raspberry pi

By:Prayag Nao Today i am going to post how to blink a led with raspberry pi. Blinking a LED is a beginner task and simple task. components required: raspberry pi. 2 Male to female connectors. A 330 omh resistance. A LED. Here is pin diagram of Raspberry pi 2. Connect 11th pin to one end of resistance. connect ground pin to -ev pin of LED. Now connect remaining end of resistance to +ev of LED. Now turn on Raspberry pi. open text editor and paste following program into it.           import GPIO.RPi as GPIO            ##import GPIO library       import time       GPIO.setmode(GPIO.BOARD)    ##use board pin numbering       GPIO.setup(11,GPIO.OUT)          ##set 11th pin as output pin       while 1:              GPIO.output(11,1)  ## Turn on led              time.sleep(1)           ## 1 second delay              GPIO.output(11,0)  ## Turn off led              time.sleep(1)                     6.Save above program as blink.py.      7.Now run above prog

Android USB Tethering to Connect a Raspberry Pi to the Internet...!

By: Prayag Nao These days the easiest way to connect a PC or Raspberry Pi for that matter to the Internet via a smartphone is to use USB tethering.But in raspberry pi you can't do USB tethering directly,firstly you have to edit some information in raspberry pi. so lets start........ turn on your raspberry pi.if you don't have a HDMI display then read my old post  How to connect raspberry pi to laptop display  Now go to terminal and type following command : sudo nano /etc/network/interfaces   that command will open network file. how edit network file,put these lines below line iface eth0 inet dhcp     iface usb0 inet dhcp         5.Now save network file by pressing ctrl+o and press Enter.       6.Now exit from network file by pressing ctrl+x.    It's done now you can start USB tethering from your mobile device. 

How to connect raspberry pi to laptop display

By:Prayag Nao The reason why I came up with this tutorial was because: one day, me along with my friends were struggling to work on the raspberry pi, since we did not have any HDMI/AV displays. Hence, I came up with this tutorial so that others who are also in the same situation as ours would be able to use the display of their laptops as a monitor to the Raspberry Pi. As we know Raspberry Pi is known as the “Pocket Size PC”, but for debugging & project purposes its cumbersome to carry an additional display just for that. Also, many of us wont have access to a HDMI display too. So, we figured out a way to easily connect raspberry pi to laptop display. So sit back and enjoy this simple tutorial :) These are the stuffs we need: Raspberry Pi. Ethernet Cable. Laptop. SD Card with Raspbian. Micro USB Cable. (Optional) Components required for setting it up the first time: HDMI/ AV Display. Keyboard and Mouse How does it work? To connect raspberry pi

The corrugated galaxy: Milky Way may be much larger than previously estimated....:)

The Milky Way galaxy is at least 50 percent larger than is commonly estimated, according to new findings that reveal that the galactic disk is contoured into several concentric ripples. The research, conducted by an international team led by Rensselaer Polytechnic Institute Professor Heidi Jo Newberg, revisits astronomical data from the Sloan Digital Sky Survey which, in 2002, established the presence of a bulging ring of stars beyond the known plane of the Milky Way. "In essence, what we found is that the disk of the Milky Way isn't just a disk of stars in a flat plane—it's corrugated," said Heidi Newberg, professor of physics, applied physics, and astronomy in the Rensselaer School of Science. "As it radiates outward from the sun, we see at least four ripples in the disk of the Milky Way. While we can only look at part of the galaxy with this data, we assume that this pattern is going to be found throughout the disk." Importantly, the findings

Engineers create chameleon-like artificial 'skin' that shifts color on demand.........!!

Borrowing a trick from nature, engineers from the University of California at Berkeley have created an incredibly thin, chameleon-like material that can be made to change color—on demand—by simply applying a minute amount of force. This new material-of-many-colors offers intriguing possibilities for an entirely new class of display technologies, color-shifting camouflage, and sensors that can detect otherwise imperceptible defects in buildings, bridges, and aircraft. "This is the first time anybody has made a flexible chameleon-like skin that can change color simply by flexing it," said Connie J. Chang-Hasnain, a member of the Berkeley team and co-author on a paper published today in  Optica , The Optical Society's (OSA) new journal. By precisely etching tiny features—smaller than a wavelength of light—onto a silicon film one thousand times thinner than a human hair, the researchers were able to select the range of colors the material would reflect, depending on

No Big Bang? Quantum equation predicts universe has no beginning......!!

  The universe may have existed forever, according to a new model that applies quantum correction terms to complement Einstein's theory of general relativity. The model may also account for dark matter and dark energy, resolving multiple problems at once.   The widely accepted age of the universe, as estimated by general relativity, is 13.8 billion years. In the beginning, everything in existence is thought to have occupied a single infinitely dense point, or singularity. Only after this point began to expand in a "Big Bang" did the universe officially begin. Although the Big Bang singularity arises directly and unavoidably from the mathematics of general relativity, some scientists see it as problematic because the math can explain only what happened immediately after—not at or before—the singularity. "The Big Bang singularity is the most serious problem of general relativity because the laws of physics appear to break down there," Ahmed