Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

How to Configure Raspberry Pi – (Part 01/38)

By Ajish Alfred

The Raspberry pi is a low cost single board minicomputer which can be used for learning the computer basics, programming and easy to interface with the embedded systems. The Raspberry pi is a mini computer which is designed in a single board with all the essential components required for running an operating system. The Raspberry pi board runs on ARM11 processor but is available at extremely cheap price. The board is provided with a RCA connector which can be used to connect it directly to a TV screen which is based on PAL and NTSC standard. The board also has a HDMI connector output which can be used to connect the board to a HD TV.

The board can be powered up from the USB port also but it is not recommended. The board has two USB2 ports where the keyboard and mouse can be plugged in. There is an Ethernet port which can be used to connect the board to a computer network. A video input port is also available with a Raspberry pi board which can be used to connect an external camera. The board also has a SD card slot and the Raspberry pi is designed to boot from the SD card.

The Raspberrypi board can boot a number of operating systems like Archlinux ARM, OpenELEC, Pidora, Raspbmc, RISC OS and the Raspbian and also Ubuntu. A step by step explanation of how to install Ubuntu in the Raspberrypi board is available in a previous article. After booting the Ubuntu for the first time in Raspberrypi it has to be configured so that it can use all the features of the Raspberrypi board. This article explains how to do the important configurations once the Raspberrypi boots Ubuntu for the first time.

 


The Ubuntu image for the Raspberry pi called ‘Soft-float Debian “wheezy”’ can be downloaded from the Raspberry pi website. To use this image file, one has to unzip it and write it to a suitable (2GB or larger) SD card using the UNIX tool dd. Windows users can use Win32DiskImager. The Ubuntu image has been installed using a 4GB SD card and a windows7 PC following the steps given below as explained in the project how to install Ubuntu in the Raspberrypi board.

{C}{ 1)      Unzip the wheezy into a folder

{      2)       Format the SD card

{C    3)       Write the wheezy image file (.img) using Win32DiskImager.

The board is designed with an intention of providing computer education to the remote schools where the PCs are not very commonly used. The idea behind the design is to use the TV screen as the display unit for the Raspberry pi board and hence converting the normal TV into a computer. The board is hence provided with a RCA connector which can be used to connect it directly to a TV screen which is based on PAL and NTSC standard. The board also has a HDMI connector output which can be used to connect the board to a HD TV, but there is no VGA connector assuming that there is no PC or PC monitor in the place where the Raspberry pi is used. But there are situations in which the person using the Raspberry pi has a PC screen but not a HD display device. In such situations one can use remote login to access the Raspberry pi and view the TUI (Text User Interface) on the PC screen as explained in the project how to connect the Raspberrypi directly to the Ethernet port of PC. The Raspberrypi board has been connected with the PC screen with the help of two different software called DHCP server software and PuTTY using the following steps;

{       1)       Provide an IP to the windows

{C     2)       Connect the Raspberry pi

{C     3)       Run the DHCP server software

{C}    4)      Reconnect the Raspberry pi board and note the IP assigned

{C      5)       Remote login using the same IP with the help of PUTTY   

Once the PUTTY establishes a connection with the Raspberrypi board the user will be directed to a TUI which asks for the user login with password.

The default login and password are:

login as : pi

password : raspberry

After login the first thing to do is to configure the Raspberrypi. During the configuration the Ubuntu expands its file system into the entire SD card and user can choose some options and settings that will be in effect after the Raspberrypi reboots.

To get the configuration window the user has to type a single command and press enter:

sudo raspi-config

Command to open Configuration Window in Raspberry Pi

Fig. 1: Command To Open Configuration Window In Raspberry Pi

This will open up a new window as shown below, from where the user can perform all the required configurations.

Ubuntu filesystem expands in SD card for Configuration 1

Fig. 2: Ubuntu filesystem expands in SD card for Configuration 1

As shown in the above image there are 8 configuration options and the user can move up and down using the left arrow key and right arrow respectively. The “select” or “finish” option can be choose using the left arrow and the right arrow respectively. 

There are two important configurations that the user must do once got this configuration window. The important configurations are configuration option 1) and 3).

The configuration option 1) will expand the Ubuntu filesystem on the entire SD card. The user must make sure that there is nothing else copied in the SD card other than the .img file of Ubuntu. Select that configuration and press enter to expand the filesystem. Within a couple of seconds the following dialogue appears and which means the filesystem has been expanded successfully.

Ubuntu boots to desktop on next reboot in Configuaration 3

Fig. 3: Ubuntu boots to desktop on next reboot in Configuaration 3

The configuration option 3) is another important configuration that has to be done. This option enables the Ubuntu to boot directly to the desktop and the user can have a desktop GUI view from the next reboot.

Change the login password in Configuration 2

Fig. 4: Change the login password in Configuration 2

The user can also do configuration option 2) to change the login password, 4) to set up the time and date details, 5) to enable a camera interface which might be required in future projects. The option 6) can be done only if the Raspberry pi is connected to the internet. The steps required to connect the Raspberry pi using the Wi-Fi of the PC will be explained in a later project. 

The new users of Raspberrypi board are not supposed to do the configurations 7) and 8) as they are required for advanced projects.


Filed Under: Raspberry pi
Tagged With: Raspberry Pi
 

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • What is a loop calibrator? 
  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • 74HC595 creating Fake output
  • What was before microcontrollers ?
  • NEED HELP FOR OP-AMP IN BGR
  • Check undesired substrate mode...
  • Active Balun Design

RSS Electro-Tech-Online.com Discussions

  • Question about ultrasonic mist maker
  • Best way to reduce voltage in higher wattage system?
  • Two 300nH inductor in series, can get higher current?
  • Someone please explain how this BMS board is supposed to work?
  • What is "off the shelf values for inductors"?
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering