Keeping Up with the Bitcoin-Litecoin-Dogecoin Cryptocurrency Exchange Rate Weather with a RasPi Crypto Currency Tracker #piday #raspberrypi @Raspberry_Pi
Ah, cryptocurrencies! Your volatility has been described as a changeable and dramatic as a weather system — and now here’s an easy way to experience this adventure in the future of money in realtime!
The Crypto Currency Tracker monitors the value of three different digital currencies — Bitcoin, Litecoin, and Dogecoin — and compares them each against the United States dollar.
The hardware consists of a Raspberry Pi, a 16×2 Liquid Crystal Display (LCD), an SD card, Ethernet cabling, and a USB micro cable with wall wart for power. The tracker’s software is built on Raspbian Linux and uses existing Python libraries to control a Hitachi LCD controller combined with our tracker’s Python scripts, which make JavaScript Object Notation (JSON) requests for each respective digital currency market index.
Not only does the code pull digital currency values from the internet, but it also stores the old value in a variable called,
self.last_price
Retention of the last value is done to display it on the lower line of the 16×2 LCD; the top line is the current value.
The image below shows Bitcoin, or BTC, with a USD current value of 587.46 and a previous value of 587.22….
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.
Biohacking — Vitamin-C + Gelatin for Accelerated Recovery
Python for Microcontrollers — MP3 decoding, CircuitPython snakes its way to Fomu, NXP, and more! #Python #Adafruit #CircuitPython #PythonHardware @circuitpython @micropython @ThePSF @Adafruit
Comments Off on Keeping Up with the Bitcoin-Litecoin-Dogecoin Cryptocurrency Exchange Rate Weather with a RasPi Crypto Currency Tracker #piday #raspberrypi @Raspberry_Pi