EtherNode: Unterschied zwischen den Versionen

Aus LaborWiki
Wechseln zu: Navigation, Suche
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 8: Zeile 8:
|platform=$$$
|platform=$$$
|update=
|update=
|tags=Bewegung und Mechanik
|tags=Licht & Sound}}
}}
== Information ==
== Information ==
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.
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.
Zeile 34: Zeile 33:


~60mA with three digits light up and nodeMCU in sleepmode. About 140mA when not sleeping.
~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 ==
== CODE ==
Zeile 43: Zeile 46:
== Helpful Links ==
== Helpful Links ==


[https://pypi.python.org/pypi/coinmarketcap/ CoinMarketCap library for Python. Don't forget to install.  ]
[https://pypi.python.org/pypi/coinmarketcap/ CoinMarketCap libary for Python. Don't forget to install.  ]
 
 
 
 
[[Kategorie:Mechanik]]

Aktuelle Version vom 28. Mai 2017, 14:26 Uhr

     
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 | Quelltext 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 | Quelltext 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 | Quelltext 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 | Quelltext bearbeiten]

Python & Arduino Code:

Download

Helpful Links[Bearbeiten | Quelltext bearbeiten]

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