Close
0%
0%

Build Interactive Bridge Using Minecraft Raspi

The CrowPi2 comes with useful components to build manyprojects easily. Let's see the difference between crowpi2 and common accessories

Similar projects worth following
54 views
0 followers
There are many projects you can do in the Minecraft world with the Raspberry Pi but specifically for us it wasn’t enough, we were looking for something challenging and blinking at the same time. In this project, we’ll step on multiple Minecraft blocks, detect the ID of the block and detect the color of the specific block we stepped on, based on the color we’ll light our RGB LED to create interactive steps game!

Yesterday, I saw my 8-year-old nephew playing Minecraft with the Raspberry Pi I gave him before, then I got an idea, that is using code to make a customized and exciting Minecraft-pi LED blocks project. Minecraft Pi is a great way to get started with the Raspberry Pi microcomputer, the Minecraft Pi is a special custom made version of Minecraft that allows us to interact with the game using a deadly simple Python API to customize the game experience and props!

There are many projects you can do in the Minecraft world with the Raspberry Pi but specifically for us it wasn’t enough, we were looking for something challenging and blinking at the same time. In this project, we’ll step on multiple Minecraft blocks, detect the ID of the block and detect the color of the specific block we stepped on, based on the color we’ll light our RGB LED to create interactive steps game!

I will use two methods to achieve the effect, the first is through the accessories, which may be very chaotic...; the second is using CrowPi2 (learning computer with many sensors,currently crowdfunded on Kickstarter https://www.kickstarter.com/projects/elecrow/crowpi2-steam-education-platformand-raspberry-pi-laptop?ref=74xfxi )

let’s get started and see how to archive such an amazing project!

  • 1 × Raspberry Pi 4 model B
  • 1 × TF card with image
  • 1 × Raspberry Pi power supply
  • 1 × 10.1 inch monitor
  • 1 × Power supply for monitor

View all 9 components

  • 1
    Step 1

    Method 1  Using accessories

    Step 1: Materials

    ● 1 x Raspberry Pi 4 model B

    ● 1 x TF card with image

    ● 1 x Raspberry Pi power supply

    ● 1 x 10.1 inch monitor

    ● 1 x Power supply for monitor

    ● 1 x HDMI cable

    ● 1 x Keyboard and mouse

    ● 1 x RGB led(Common cathode)

    ● 4 x Jumpers(Female to female)

  • 2
    Step 2: Connection diagram

    There are actually three lights in the RGB color LED, which are red light, green light and blue light. Control these three lights to emit light of different intensities, and when mixed, they can emit light of various colors. The four pins on the LED light are GND, R, G, and B, respectively. The RGB LED I used is a common cathode, and the connection to the Raspberry Pi is as follows:

    Raspberry Pi 4B(in function name)                           RGB LED

    GPIO0                                                                                 1  RED           

    GPIO1                                                                                  3  GREEN

    GPIO2                                                                                 4  BLUE

    GND                                                                                    2  GND  

    Here is the hardware connection:

  • 3
    Step 3: Configure for SPI

    Because we need to use the SPI to control the RGB, we need to enable the SPI interface first, which is disabled by default. You can follow the steps below to enable SPI interface:

    First, you can use the Desktop GUI by heading to the Pi start Menu-->preferences-->Raspberry Pi Configuration.

    Then, navigate to “Interfaces” and enable SPI and click OK.

    Last, restart your Pi to ensure that the changes to take effect. Click on Pi Start Menu-->Preferences-->Shutdown. Since we just need to restart, click on Reboot button.

View all 12 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates