INTRODUCTUON TO RASPBERRYPI




     

The Raspberry Pi is a small but full-featured computer on a single board. It plugs into a monitor and you attach a keyboard, mouse and speakers.

The Raspberry Pi can be used for browsing the web, creating documents and spreadsheets, playing games, watching videos and lots more.

It also provides a great environment for learning programming and digital making. You can also connect up hardware to the Pi’s GPIO (general purpose input/output) pins and learn to program using electronics components.

The Raspberry Pi can also be built into custom projects such as interactive museum exhibits or home automation solutions.

Key Features::
*Python.
*Two-way integration with the micro:bit.
*Minecraft Pi edition with Python programming.
*GPIO pins for working with electronics components.
*Lots of hardware add ons available such as pixel displays, robotics kits and a high quality camer.


Some Important commands In Raspberry Pi::::



Connecting a Display and Audio::::
-HDMI
– Digital signal
– Video and audio signal
– DVI cannot carry audio signal
– Up to 1920x1200 resolution
• Composite RCA
– Analog signal
– 480i, 576i resolution
• 3.5mm jack
Universal Serial Bus
• Two USB 2.0 ports in RPi


Storage: Secure Digital (SD)
• Form factor
– SD, Mini SD, Micro SD
• Types of Card
– SDSC (SD): 1MB to 2GB
– SDHC: 4GB to 32 GB
– SDXD up to 2TB



Low Speed Peripherals
• General Purpose 
Input/Output (GPIO)
– Pins can be configured to 
be input/output
– Reading from various 
environmental sensors 
• Ex: IR, video, 
temperature, 3-axis 
orientation, acceleration
– Writing output to dc 
motors, LEDs for status.


Power Consumption
• microUSB power connector
– 2.5W (model A)
– 3.5W (model B)
• Powered USB hub
– To provide more power for USB peripherals




General Purpose input/output ::::
              
                     General  Purpose Input/Output (GPIO) is a 
generic pin on a chip whose behavior can be controlled by the user at run time.
• The GPIO connector has a number of different types of connection: –
  ** True GPIO (General Purpose Input Output) pins that you can use to turn LEDs on and off etc. –
** I2C interface pins that allow you to connect hardware modules with just two control pins .
** SPI interface with SPI devices, a similar concept to I2C but uses a different standard.
**Serial Rx and Tx pins for communicationwith serial peripherals.


GPIO pins can be used as both digital outputs and digital inputs. 
• Output: turn a particular pin HIGH or LOW. – Setting it HIGH sets it to 3.3V;setting it LOW sets it to 0V.
• Input: detect the pin being at HIGH or LOW – we can connect switches and simple sensors to a 
pin and check whether it is open or closed.



Raspberry Pi setup

1.Download the Raspberry Pi operating system – Linux releases compatible with the Pi: 
http://www.raspberrypi.org/downloads – The recommended OS is Raspbian:
http://downloads.raspberrypi.org/raspbian_latest
• 2. Unzip the file that you just downloaded – Right click on the file and choose “Extract all”. – Follow the instructions—you will end up with a file ending in .img
3. Download the Win32DiskImager software –
  **a)Download win32diskimager-binary.zip 
(currently version 0.6) from:
https://launchpad.net/win32-image￾writer/+download – 
     **b) Unzip it in the same way you did the Raspbian
.zip file –  
      **c) You now have a new folder called win32diskimager-binary


• 4. Writing Raspbian to the SD card –
** a) Plug your SD card into your PC – **b) In the folder you made in step 3(b), run the file 
named Win32DiskImager.exe – 
 **c) If the SD card (Device) you are using isn’t found automatically then click on the drop down box and select it 
**d) In the Image File box, choose the Raspbian .img file that you downloaded – 
**e) Click Write – f) After a few minutes you will have an SD card that 
you can use in your Raspberry Pi.

• 5. Booting your Raspberry Pi for the first time 
– On first boot you will come to the Raspi-config window
  – Change settings such as timezone and locale if you want 
– Finally, select the second choice: expand_rootfs and say 
‘yes’ to a reboot
   – The Raspberry Pi will reboot and you will see raspberrypi
login: 
• Username: pi, password: raspberry – Start the desktop by typing: startx – The desktop environment is known as the Lightweight X11 
Desktop Environment (LXDE)

This way we can install and run the Raspberry pi....

Basic Application ::::

Applications of Raspberry Pi::::

                       The raspberry pi boards are used in many applications like Media streamer, Arcade machine, Tablet computer, Home automation, Carputer, Internet radio, Controlling robots, Cosmic Computer, Hunting for meteorites, Coffee and also in raspberry pi based projects.








                              The science of today is technology of tomorrow
                                     
                                  Prem Kumar
                            

Comments