Git Product home page Git Product logo

cryptodash_picow's Introduction

CRYPTO DASHBOARD - Raspberry Pi Pico W (MicroPython)

Simple but beautiful Cryptocurrency Dashboard using the Binance API.

Developed in MicroPython for Raspberry Pi Pico W

CRYPTO DASHBOARD Demo 1 CRYPTO DASHBOARD Demo 1

CRYPTO DASHBOARD Demo 1 CRYPTO DASHBOARD Demo 1

And the fun part, the crypto cardboard box

Approximate budget:
Raspberry Pico - 7€
2.8" screen - 2€
Buttons - 2€
1,500mah battery - 4€ Cables, Upstep DC and case - 2€
Total - 17 € / $ approx.

CRYPTO DASHBOARD Demo 1 CRYPTO DASHBOARD Demo 1

Integrated support for 2.8" TFT LCD display (ili9341), driver included with simple sources.

ILI9341 DRIVERS

https://github.com/jeffmer/micropython-ili9341/tree/master

WIFI CONFIGURATOR

In this mini app you have everything you need to configure the wifi connection of your RPi Pico W through an Access Point from another device.
When connecting, a wifi_credentials.json file will be created in which the SSID / Password information of your Wifi connection will be stored.
On the next reboot, the device will detect the stored connection and get the data from the Binance API.
And of course the simple Crypto Dashboard adapted to the ili9341 screen

As you can see in the code, GPIO 17 is configured for a button
With a single press you reload the Binance data
If you hold it down for more than 3 seconds the device is reset and enters in Access Point mode.
Initially the device loads some default Tokens (BTC, ETH, ADA, BNB, SOL)

INSTALL

In this case I'm using the RPi Pico W board, so you need to download the corresponding Firmware:
https://rpf.io/pico-w-firmware

First of all, have the Pico W disconnected. Then hold down the BOOTSEL button on your Pico W while connecting it to the computer via USB. A drive will appear on the computer, copy the downloaded Firmware file to the main directory, the device will reboot.

Now it's time to open your favorite MicroPython editor, in my case I like Thonny, since it's easy and efficient. In Thonny go to Run-->Configure Interpreter And select MicroPhyton (Raspberry Pi Pico)

Download the files from this repository and copy them to the root of your device using your code editor.

ALL SET

Now you just have to RUN your code.

The main file "main.py" includes the code, you need to configure your device's wifi using an Access Point and the simple viewer to display the price of 5 cryptocurrencies adapted to the ili9341 screen.

If you have another screen model you simply have to find the appropriate drivers and configure the parameters in main.py (TFT screen configuration)

TO DO

  • Include GPIO Button to Refresh Crypto Data
  • Include GPIO Button to re-enable Wifi Access Point
  • Crypto customizer via Access Point
  • Include mini crypto logos

KWON BUGS

  • Fix update data via Access Point from iOS
  • Increase screen draw performance

cryptodash_picow's People

Contributors

crazyramirez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.