Coder Social home page Coder Social logo

cryptotracker_pyportal_titano's Introduction

PyPortal Titano Cryptocurrency Tracker

A crypto price tracker for Adafruit's PyPortal Titano

This is a simple crypto price tracker for Adafruit's PyPortal Titano. It uses CoinCap's API.

This tracker shows three crypto asset prices, which the user can specify.

Instructions:

  1. Get yourself an Adafruit PyPortal Titano from https://www.adafruit.com/product/4465
  2. Plug the Titano into your computer
  3. Download CircuitPython 7.x UF2 for your Titano: https://circuitpython.org/board/pyportal_titano/
  4. Double-click the reset button your Titano, copy the CircuitPython UF2 to the device
  5. Copy the project files to your device. The program will try to run, but it won't until we do a few more things
  6. Get the required CircuitPython 7.x runtime libraries here: https://circuitpython.org/libraries
  7. Unzip the libraries on your local machine
  8. Create a directory on your Titano called /lib
  9. When you run the program, it will let you know which libraries are missing. Copy over the needed libraries from the ZIP files /lib folder to the /lib directory on your Titano.
  10. Create a file called 'secrets.py' on your Titano
  11. Paste this into secrets.py:
secrets = {
 'ssid' : 'your_wifi_SSID_name',
 'password' : 'your_wifi_password',
 'coincap_api_key' : 'your_coincap_API_key',
 
 'coin1' : 'bitcoin',
 'coin2' : 'ethereum',
 'coin3' : 'monero',
 'coin1label' : 'BTC',
 'coin2label' : 'ETH',
 'coin3label' : 'XMR',
 }
  1. Replace the above placeholder WiFi credentials with your Wifi network credentials
  2. Replace 'coin1' etc with the names of the coins you want to track
  3. Replqace 'coin1label' etc with the abbreviations you want to show for each coin on the tracker (there's not enough room to show long names)
  4. Get a CoinCap API key here: https://coincap.io/api-key
  5. Replace the above placeholder with your CoinCap API key
  6. Save secrets.py to your Titano

ESP32 crashes

I have tested two boards, and both of them always crash after an unpredictable amount of time with this error in the esp32 libraries.

RuntimeError: ESP32 timed out on SPI select

After combing the Adafruit forums, seems like there no solution to this issue out there. So, there is code in the app that tries to detect this error and reboot the device.

cryptotracker_pyportal_titano's People

Contributors

howdymoto avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mtab3000

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.