EtherNode

Aus LaborWiki
Wechseln zu: Navigation, Suche
     
EtherNode

Release status: stable [box doku]

Ethernode.jpg
Description WiFi connected device that shows the price of 1 Ethereum in USD
Author(s)  A.B. (Bilex)
Platform  $$$



Information[Bearbeiten]

This tiny device shows the actual Ethereum price in USD. A ESP8266 (nodeMCU 1.0) is programmed in Arduino and displays the price on a HDLR-2416 display. A Python script is used to get the current Ethereum price by using the coinmarketcap library. Via UDP the price-data is sent to the nodeMCU. After receiving new data, the ESP8266 goes into sleep mode to save power.

Electronics[Bearbeiten]

The connection between the display and the ESP8266 is straight forward and uses GPIO pins only. Check the Arduino file for more information.

FAQ[Bearbeiten]

Why do I need the Python script?

For sure it is somehow possible to make the nodeMCU get coin prices from the internet itself. But the coinMarketCap library was the easiest why for me to do it. And a tiny python script won't hurt.

Do I need a Raspberry Pi?

No. If you have a openWRT Router with USB you can install Python on an external USB drive and make the script run directly on your router.

I prefer Bitoin..

No problem, check CoinMarketCap library how to get informations about other coins.

What is the power consumption?

~60mA with three digits light up and nodeMCU in sleepmode. About 140mA when not sleeping.

Nice Display. But where to get it?

I don't know. Found it in a mixed bag of parts. Have a look on eBay.

CODE[Bearbeiten]

Python & Arduino Code:

Download

Helpful Links[Bearbeiten]

CoinMarketCap libary for Python. Don't forget to install.