Skip to main content

Posts

Showing posts from 2016

Ubuntu 16.04 LTS installed on pen drive

The new Ubuntu 16.04 LTS released in April 2016 is a great improvement over its predecessors. Its much faster and more fluid than any Ubuntu or Lubuntu distribution I've used. To install ubuntu on a pen drive you can go through my previous posts on this blog. But Beware: Ubuntu 16.04 takes a lot of time to boot from your USB HDD (pen drive). Although, shut down time is very less. I do not know why does it freeze after the GRUB. if anyone has a fix please do let me know.

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   ...