Connecting to the Pi

Last modified by Stephan Robinig on 2021/01/17 19:07

Installing RaspberinoServer on your Raspberry Pi
For the following steps, you either have to enter the following commands in the terminal of your Paspberry Pi using a keyboard and a display, or you can connect to your Raspberry Pi via SSH from your computer or phone.

  1. Download the installer
     wget http://catrob.at/installraspberino -O install-raspberino.sh
  2. Run the installer as root
     sudo sh install-raspberino.sh
  3. Enter "y" to start the installation

The installer downloads the server and installs everything. From now on the RaspberinoServer should be ready to use and start automatically when the Raspberry Pi is powered on. To update the server, just run the installer again (Step 2).

Manually starting the server

Should the server not start automatically you can always start it by running the command:

 python /usr/local/bin/RaspberInoServer.py

Installation process and manuall start in the terminal via SSH

out.gif

Enable and Configure Raspberry Pi in Pocket Code

If you haven't already done so, you'll have to enable and configure your Raspberry Pi under Settings in "Raspberry Pi bricks".

  1. tick the check-box to enable Raspberry Pi bricks
  2. change the settings if necessary:
    1. enter IP-/Host-Address
      1. very often works as default host address"raspberrypi"
      2. if your RPi has a keyboard + monitor:
        find out the IP-address from a terminal via ifconfig
      3. your router might list all connected computers within the network
      4. if all of that fails: find out the IP-address via the nmap command
    2. Port
      1. the default is 10000 (don't change it unless you changed the script on the Raspberry Pi)
    3. GPIO version
      1. select the Raspberry Pi model you are using. 

After that you can add Raspberry Pi bricks into your project.

Enable and Configure Raspberry Pi in Pocket Code

activate_rpi.gif