How cool will it be, if the value of bitcoin in USD can be quickly displayed in realtime? Lets make a Bitcoin Value Updater gadget with the Idiotware Shield.
ThingHTTP from ThingspeakThingspeak has a nifty feature called thinghttp which allows parsing of publicly accessible web pages( like Youtube Channels) for data. All you need is a link to the web page, and the path to your data source.
Assuming you have created an account on thingspeak.com navigate to https://thingspeak.com/apps and click on thinghttp at the bottom of page.
Once you are there, click new ThingHTTP, and add the URL to the webpage in the URL field.
Scroll to the very bottom of the page and add the path to the data point in the "Parse String" Field. This path can be easily extract by right clicking the data on the webpage, selecting "inspect" in the menu and using the "Copy xpath" option.
Hit Save Thinghttp. Thingspeak will provide you with a custom URL, which when accessed from the browser will show you the data from the webpage, whose xpath was used.
This new URL is then used in code, and once program is uploaded to Arduino, the Arduino will fetch the data from the URL, and display it on the OLED.
The refresh rate can be modified in the Arduino code from 15 seconds to 1 hour.
Comments