Category: Rapberry Pi

  • Basics: How to open the Terminal

    The Terminal is where so much code and development is done, and many of out projects rely on it. So, here’s how to access it. Mac Open Spotlight Search by pressing CMD and Space at the same time. Now, simply type ‘Terminal’ in and press enter! Windows Press the start menu (Windows logo). and type […]

  • Wireless Speaker 2.0!

    This guide is written by mikebrady. For a regularly updated guide go to the GitHub repo. This is the guide for making the speaker on a Raspberry Pi. The speaker will end up being compatible with AirPlay 2 (the newer version that supports multiple speakers. Click here to use the master version that doesn’t support […]

  • Wireless Speaker

    This guide is written by mikebrady. For a regularly updated guide go to the GitHub repo. This is the guide for making the speaker on a Raspberry Pi. The speaker will end up being compatible with AirPlay 1 (the older version that doesn’t support multiple speakers. Click here to use the development version that does […]

  • Scratch – Catch The Apples

    This is the game we’re going to end up with: You need to open a new scratch project, You need to make these pieces of code as show below. Extensions: Choose your own sprites. Increase the points for edible fruit caught. Reduce the score for anything inedible (like falling spiders!) caught. Comment all of your code (sequence, selection, iteration)

  • Raspberry Pi Smart Home

    Raspberry Pi Raspberry Pi Power Supply Screen (idealy) Keyboard (idealy) Mouse (idealy) An iPhone Homebridge App (idealy) Either go to the Command Line Instructions or follow the instructions on the app. Install Hombridge Config UI X Install Homebridge Config UI X using the following command: sudo npm install -g –unsafe-perm homebridge-config-ui-x Install it from the app by going […]

  • Parrot Shooting Game

    Creating the Parrot Sprite Delete the default sprite (cat figure) (Right-Click  Delete) Import the Parrot sprite (Choose new Sprite from file)            Decrease the size of the Parrot  Click on Shrink Sprite Click on the Parrot until correct size 2.  Getting the Parrot to move across the screen forever Go to the Scripts section of the Parrot Sprite Add the Script: when  clicked: Parrot to move forward 10 steps forever The parrot will now move to the right until it touches the edge of your screen 3.  Getting the Parrot to bounce back when touching the edge of the screen 1.  Add the if on edge, bounce motion script The parrot now flies in circles, how can we make the parrot move randomly around the screen: In number of steps it moves forward Different angles when touching the edge of the screen Use the Random Scripts […]

  • Shark Tank Game

    To begin open a new project on scratch. Shark Tank Game 1) Creating Mr Shark Right click on the Cat Sprite and delete the cat Add the Shark sprite Reduce the size of the shark 2) Moving the Shark up, down, forward, backward Now try to do the same for the Right Arrow key, does the Shark point in the right direction when you click the right arrow? 3) Make sure the Shark appears in the middle of the screen When the Green flag is clicked the Shark should appear in the middle of the screen pointing to theright. What is the right code??? Answer: 4) Make the Shark performing a biting motion Click on Import Add Shark 1‐a Change the Code to enable the shark to switchcostumes (see below) 5) Changing the Background Click on Stage Click on Backgrounds Import the Underwater background Delete the white background 6) Adding Fish Click on Choose new Sprite Add a Fish sprite (you choose) Make the Fish smaller 7) Make the fish move automatically from left to right Click on the Fish Sprite You should know how to make the fish move automatically and bounce off the edge Here is the code if you need help: How can we make sure the fish keeps swimming the right way up all the time? Tip: it is somewhere in the instruction 1! The shark can now easily catch the fish as the fish swims back and forth Instructions: I want the fish to swim from the left edge of the tank to the right The fish needs to start randomly at the left side of the tank When the fish hits the right edge of the tank the fish needs to re‐appear on the left side of the tank ina random position Let’s try to create the correct code […]

  • Christmas Tech

    Christmas is here! There are so many projects to try: Micro:Bit Snowflakes To decorate your windows! You’ll Need: Micro:Bit (Preferably more than one) A Mac, PC or Raspberry Pi Open Micro Bit Make Code and make a new project and name it: Christmas Snowflake. Open the Radio menu: Drag a ‘Radio Set Group’ block into […]

  • PHP

    You need: Raspberry Pi (Setup & connected to the internet) Open the command line. Install Apache (Hosting system): Lets break this code up: sudo: this gives you permission to do this apt-get install: tells the system to install something apache2: the package being installed -y: tells the system that it can do it Once Apache […]

  • Web Hosting

    Raspberry Pi (Setup) In Terminal, which is: In Terminal enter: Once that is done enter this: This makes your user (pi) own the folder that the HTML files need to go into. Open ‘File Manager’ which is one left of Terminal. In the box that says /home/pi click on it and remove /home/pi and replace […]