Difference between revisions of "PiCube"

From SB-Components Wiki

Line 46: Line 46:
  
 
</table>
 
</table>
 +
 +
{| class="wikitable"
 +
|- style="vertical-align:top;"
 +
| style="height:100px; width:100px; text-align:left;" | A
 +
| style="height:100px; width:100px; text-align:center;" | B
 +
| style="height:100px; width:100px; text-align:right;" | C
 +
|- style="vertical-align:middle;"
 +
| style="height:100px; width:100px; text-align:left;" | D
 +
| style="height:100px; width:100px; text-align:center;" | E
 +
| style="height:100px; width:100px; text-align:right;" | F
 +
|- style="vertical-align:bottom;"
 +
| style="height:100px; width:100px; text-align:left;" | G
 +
| style="height:100px; width:100px; text-align:center;" | H
 +
| style="height:100px; width:100px; text-align:right;" | I
 +
|}
  
 
== Installation ==
 
== Installation ==

Revision as of 11:39, 8 November 2021

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
Pico Cube
Buy it From : Click Here

Pinout

GPIO PIN Number

7(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)
A B C
D E F
G H I

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