Skip to main content

Kick starting with Raspberry Pi



To start any machine first it has to be assembled.

Though this is a very old, simple and well answered/documented question but still it’s being asked so many times that I have decided to write a post.

There are 2 versions that we can get running:-
1.    Using NOOBS (New Out Of the Box Software)
2.    Using Raspbian

Noobs essentially contains Raspbian with same selection menu.
Raspbian can be installed with NOOBS or downloaded as a separate image (.img file) and then burnt onto an SD card.
Raspbian comes pre-installed with plenty of software for education, programming and general use. It has Python, Scratch, Sonic Pi, Java, Mathematica and more.

General steps to perform for NOOBS:-
1.    Download NOOBS.zip from here.
2.    Use SD Card formatter to quick format the SD card.
3.    Copy the contents of ZIP file to the SD Card.
4.    Now you can directly use this SD card into your RPi.

General steps to perform for Raspbian:-
1.    Download Raspbian Jessie.zip.
The zip file here will contain a “raspbian-jessie.img” file, which cannot be directly copied onto the SD Card.
2.    Use Etcher SD card image utility to burn and transfer Raspbian to the SD card.
3.    Now you can directly use the same SD card into your RPi.

As a general observation, if you are using NOOBS then you might have to select the OS on first run and let the choice of your OS to get installed which is not the case with Raspbian where at initial step, choice of OS has already been made.

Source:- All the information covered here belongs to “Raspberrypi.org”.
In addition software-guide for detailed explanation can be referred.

Comments

Popular posts from this blog

Solution Python QnA #1

Solution for Python QnA for November 14, 2018. # OUTPUT****************************************** >>> x = input () 12 >>> y = int ( input ( 'Please enter a number' )) Please enter a number45 >>> x + y Traceback (most recent call last): File "<stdin>" , line 1 , in < module > TypeError : must be str , not int >>> y + y 90 >>> x + x '1212' In this (x+y); addition of integer and string is not allowed. hence we get the TypeError.

Picking the structure!!

Use of arrays, rather sorted arrays or a linked list is somewhat difficult because both have their pros and cons.  Arrays excel when we have to perform a binary search while it’s faster to add and remove elements from linked lists.  A tree is one structure where there is ONLY ONE path to reach to a node. This can be explained further as “Nodes cannot be in closed loop” . Also there is a hierarchical relationship of parent and child. The average complexity varies from logarithmic to linear time. Now coming further to a data structure BSTs aka Binary Search Trees . Points to be remembered here:- Maximum two children. Left child is smaller than parent. Right one is greater than parent. Traversals :-   In order Traversal Ascending Sort; left subtree + root+ right subtree. So the above tree will look like:  4, 12, 16, 25, 28, 32 Pre order Traversal Root + left subtree + right subtree recursively. Eg: 25, 12, 4, 16, 32, 28 Post Order Traversal