Skip to main content

Posts

Configuring VNC server for your raspberry pi 1,2,3

Raspberry pi is finally a linux running in a small hardware and running a vnc server on it wouldn't be a problem. Well, I wanted to use my laptop's screen and and keyboard to control my raspberry pi. The only method I found viable is by running a VNC server on my raspberry pi and connecting to it via a VNC client. VNC servers allow remote access to GUI of a given computer. To start a VNC server on your Raspberry pi you first need to install a VNC server on it:      $ sudo apt-get install tightvncserver Now run the service by typing the following:      $ tightvncserver Type a password (keep it simple). To run the server type:          $ vncserver :1 Just keep it at :1 because :0 is occupied by the default screen. Now, install a VNC client on your laptop (e.g. RealVNC or TightVNC). To connect to the pi type the IP address of the pi followed by :1 and enter the password you gave to your pi.  ...

Arduino with 7-Segment Display (LT542)

A 7-segment display is a LED-LCD display with 8 LCD cells are controlled by 8 pins. Usually a 7-segment display has 10 pins, 2 are common pins and the rest 8 control each LCD cell. Now, a 7-segment display is of 2 types, common cathodic and common anodic display. While the common cathodic display has its common pins hooked up to the ground(GND), the common anodic display has its common pins hooked up to high voltage(+5). A diagram explaining this is given. I have used a display numbered LT542 which is a common anodic display. This project is aimed to control the LT542 to display each number from 0 to 9 at a second's gap. MATERIALS REQUIRED: Arduino Uno LT542 Jumper wires (male-to-male) Breadboard STEPS: Wire the setup as shown in the schematic and pictures. Copy the code given and paste it into the arduino IDE. Plug in your board tho the computer using a USB cable. Upload the code. CODE:  /**   PINOUT DIAGRAM FOR THIS CODE   ...

Basics Of Aerodynamics

1 Kutta-Joukowski Theorem It refers to the lift generated by a rotating cylinder. It is an application of the Magnus Effect which relates the pressure di erence created by a rotating and translating motion of a cylinder through air (moving or still air with respect to ground) Their theorem for lift by a rotating cylinder is given as : Lift per unit area (L) L = rho GV (1) Where: rho = air density G = Vortex Strength G = rho omega R^2 (2) 2 Area Rule As the plane approaches Mach 1 the air moves around it at the speed of sound. the amount of air displaced depends on the cross-sectional area of the aircraft. Now at diff erent point of the wing, the air is at diff erent Mach numbers. Once 1 the air at Mach > 1 collides with air at Mach < 1 it create immense drag. The area rule proposed by Whitcomb reduces this drag by tapering the fuselage near the center of the wing-root. This helping to create larger space for air to ow and reducing the drag. Also by crea...

Installing Ubuntu on Pen Drive (recommended for Lenovo laptops)

Installing Ubuntu on a pen drive is not a very long task. Its very simple due to the softwares available on the internet. All you need is: A 8GB Pen Drive (recommended)  Ubuntu 14.04 iso (recommended). You can download 15.04, but I had some issues with WiFi on it. A UUI (Universal USB Installer) down loaded from pendrivelinux.com The whole process of downloading and installing took me 40 minutes with an internet connection of 14Mbps. The steps are given below: Download the Ubuntu 14.04 iso (make note of the download location). Download the UUI Plug in your empty pen drive. Take backup of your drive if you have data stored on it. Execute the UUI Select Ubuntu from the first drop down list. The next bar requires you to enter the location of the iso file. Click on the ... (Browse) button and select the iso file from the location you noted while installing. Select your pen drive from the next drop down list.  Check the box saying Format pen drive (recommended)....