Skip to content
/ crypto-pie Public

A multi project/drivers for crypto chart and some hardware on a Pi Zero 2

Notifications You must be signed in to change notification settings

xas/crypto-pie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Pie

Crypto Pie is a dotnet project aiming to use dedicated hardware to display data from crypto charts API

Requirements

The current development was tested with this hardware/software :

  • Raspberry Pi Zero 2 W
  • Blinkt! leds from Pimoroni
  • Inky pHat E-Ink display (Black, white, and red color) from Pimoroni
  • Mini PiTFT display from adafruit
  • Ubuntu server 21.10 x64 version (installation guide available here)
  • dotnet 6.0 ARM64 version
  • SkiSharp package 2.80.3
  • CommandLinePArser package 2.8.0

For the case I used a simple Pibow, from Pimoroni

Setup

To install the application, you need to compile the code from your computer. Do not try to build it from your Pi Zero 2, unless you need to take a nap during the compilation time...

Once you clone the repo, just go to the folder src\Xas.CryptoPie.Worker and, from the command line, run the following command : dotnet build -r linux-arm64 --self-contained

Then transfer all the files from src\Xas.CryptoPie.Worker\bin\Debug\net6.0\linux-arm64 to your Pi Zero 2

Running the project

The application must run on a sudo mode to gain access to the GPIO/SPI interface

Depending on your hardware, you need to set the program through arguments on the command line :

Required option 'b, board' is missing.

-b, --board    Required. Define the board to use. Available values are 'Blinkt', 'TFT', or 'EInk'

--help         Display this help screen.

--version      Display version information.

As an example, if you want to test the Blinkt! product, the correct command line would be sudo ./Xas.CryptoPie.Worker -b Blinkt

The name of the board is not case-sensitive.

Development

Code is not very generic, and more dedicated to the specific owned hardware. Some rework could surely be done.

About

A multi project/drivers for crypto chart and some hardware on a Pi Zero 2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages