News    The Project    Technology    RoboSpatium    Contribute    Subject index    Download    Responses    Games    Links    Shopping tips    Contact   




<<< Hardware Raspberry         Microcontroller-Set >>>

Software-Setup Raspberry Pi

Operating system

In the examples of this series I am using the full version of Raspbian (Lite might cause problems). It's highly recommended to use a fresh install of Raspbian to avoid problems caused by wrong configuration. You can get instructions for an installation on the pages of the Raspberry Foundation as well as in forums on their pages, which is why I am giving just a quick guide using Linux:
  • Download the full version of Raspbian (not Lite).
  • Open a terminal window (Ctrl+Alt+T) and change to the directory with the downloaded file:
    cd /home/[Username]/Downloads
  • Unpack the file with:
    unzip 2017-04-10-raspbian-jessie.zip
    (replace the version number in the command line if a newer version was downloaded)
  • To find out, what's the device name of the SD card of the next step, type:
    df
    All mounted devices will be listed.
  • Insert a micro SD card and type again:
    df
    Now, you should find at least one more list entry (e. g. /dev/sdf1). This is the drive we will install Raspbian on.
  • Unmount that device with:
    umount /dev/sdx1
    Replace sdx1 with the additional device name of the previous step (e. g. sdf1).
    If more than one new entry was displayed in the previous step (e. g. sdf2), this partition must be unmounted, too by typing:
    umount /dev/sdx2
  • Time for the installation command. Note that all data on the SD card will be overwritten!:
    sudo dd if=./2017-04-10-raspbian-jessie-lite.img bs=50M of=/dev/sdx
    Replace sdx with the device name of your SD card without the '1'.
  • As soon as the command wrote all data on the card, the installation is complete and you can insert the SD card into your Raspberry Pi.


Mikrocontroller Starterkit
Figure 1:
Raspbian Pixel desktop with terminal window

Software

In the chapters of this series, "C" is the programming language of my choice, because the Arduino IDE uses an identical syntax. The library "wiringPi" as well as the compiler "gcc" are needed to create executable binaries. Both packages are included in the full version of Raspbian.


<<< Hardware Raspberry         Microcontroller-Set >>>


News    The Project    Technology    RoboSpatium    Contribute    Subject index    Archives    Download    Responses    Games    Links    Shopping tips    Contact    Imprint   





Google Plus Twitter Facebook YouTube Hackaday Patreon TPO
Counter 1und1