PiCube
From SB-Components Wiki
Pico Cube
PiCube is a 4x4x4 LED cube HAT for Raspberry Pi with 5V DC operating voltage. PiCube, a 64 monochromatic (Red, Blue, Green) LED device, is a fun way to learn programming. It is designed to perform incandescent operations with low energy consumptions, robust outlook, and easy installation that make people/kids/users learn the effects of LED lights with a different pattern of colours via the combination of software and hardware i.e. Raspberry Pi.
Features
- Standard 40 Pins Raspberry Pi Header
- GPIO Based Communication
- 64 High Intensity Monochromatic LED
- Individual LED access
- Each Layer Access
Specifications
- Operating Voltage - 5V
- Colors - Red/Green/Blue
- Communication - GPIO
- LED - 64
Pinout
GPIO PIN Number7(L1) | 11(L2) | 35(L3) | 37(L4) |
12(L5) | 13(L6) | 31(L7) | 33(L8) |
15(L9) | 16(L10) | 23(L11) | 29(L12) |
18(L13) | 19(L14) | 21(L15) | 22(L16) |
Pin Number | Layer |
---|---|
40 | Layer 1 (Top) |
38 | Layer 2 |
36 | Layer 3 |
32 | Layer 4 (Bottom) |
Installation
Python
- Stack PiCube on Raspberry Pi 40 Pin GPIO header.
- Open Git Bash Terminal and clone/download the repository by typing the below command in the terminal:
git clone https://github.com/sbcshop/PiCube.git
- Your code will be downloaded to the '/home/pi' directory. Use the 'ls' command to check the list of directories and the 'cd' command to enter the directory.
cd PiCube
- 'demo.py' is an example code for PiCube. Run test file and play with PiCube by running below python command.
python3 demo.py
It will run a different LED pattern on PiCube. You can also modify this code to put your own creativity.
Resources
Github