Connecting to the Pi
Last modified by Stephan Robinig on 2021/01/17 19:07
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".
- tick the check-box to enable Raspberry Pi bricks
- change the settings if necessary:
- enter IP-/Host-Address
- very often works as default host address"raspberrypi"
- if your RPi has a keyboard + monitor:
find out the IP-address from a terminal via ifconfig - your router might list all connected computers within the network
- if all of that fails: find out the IP-address via the nmap command
- Port
- the default is 10000 (don't change it unless you changed the script on the Raspberry Pi)
- GPIO version
- select the Raspberry Pi model you are using.
- enter IP-/Host-Address
After that you can add Raspberry Pi bricks into your project.