Cov txheej txheem:

XRP Crypto Ticker Siv HTTPS Url's: 3 Kauj Ruam
XRP Crypto Ticker Siv HTTPS Url's: 3 Kauj Ruam

Video: XRP Crypto Ticker Siv HTTPS Url's: 3 Kauj Ruam

Video: XRP Crypto Ticker Siv HTTPS Url's: 3 Kauj Ruam
Video: Dekho mene iske saat kya kiya | shorts | Vj pawan singh 2024, Kaum ib hlis
Anonim

Los ntawm petercdFollow Ntxiv los ntawm tus sau:

Blowtorch Thaiv Dav Hlau Kho
Blowtorch Thaiv Dav Hlau Kho
Blowtorch Thaiv Dav Hlau Kho
Blowtorch Thaiv Dav Hlau Kho
Banksy Inspired Cam Khwb Cia Aluminium
Banksy Inspired Cam Khwb Cia Aluminium
Banksy Inspired Cam Khwb Cia Aluminium
Banksy Inspired Cam Khwb Cia Aluminium
Wiggler center finder rau tshuab dhos
Wiggler center finder rau tshuab dhos
Wiggler center finder rau tshuab dhos
Wiggler center finder rau tshuab dhos

Txog: dav dav hom kab mob tinkering Ntxiv Txog petercd »

Zoo li tsis muaj qhov yooj yim ua haujlwm crypto tickers, qee qhov ntawm lawv vim qhov txuas API raug kaw thiab lwm tus vim muaj teeb meem nrog cov lej lossis cov tsev qiv ntawv nyob.

Feem ntau ntawm cov zauv ntawm no ntawm Cov Ntawv Qhia yog USD thiab Bitcoin taw qhia, txawm li cas los xij kuv tab tom nrhiav XRP tus zauv uas yuav tso tawm hauv ZAR.

Feem ntau ntawm cov zuam kuv sim ua tsis tiav nrog qhov yuam kev 301 (site permed redirected), thaum kuv sim hloov API url hauv lawv cov cai.

Hloov tawm nws yog vim kuv tau sim nkag mus rau nplooj ntawv HTTPS siv HTTP tus lej ESP NodeMCU.

Txoj hauv kev hla kev txheeb xyuas daim ntawv pov thawj ntiv tes yog siv "client-> setInsecure ();" hais kom ua

Qhov kuv tau ua yog rov kho cov cai ntawm Buger's blog tshwj xeeb nws "yuav ua li cas kom tau txais bitcoin pauv tus nqi los ntawm blockchain.info API" piv txwv nyob hauv qab ntawm nplooj ntawv, nrog SSD1306 zaub thiab JSON code los ntawm tus neeg siv hauv Youtube, TheResidentSkeptic, leej twg tau ua siab zoo los txuas nws lub pastebin repo.

Kuv tsis tuaj yeem tau txais kevlar429 tus lej zauv cim los ua ke, tab sis kuv tau tswj kom luam theej tawm https://min-api.cryptocompare.com/ url uas nws tau siv thiab hloov pauv npib/txiaj/exhcange rau kuv nyiam.

XenonJohn's Rekt-O-Matic Turbo S muab lub tswv yim rau lub thawv ntawv uas kuv tau tsim hauv Tinkercad.

Khoom siv

Tsawg yam tsawg kawg nkaus:

ESP8266 NodeMCU 12E.

OLED 0.96 zaub.

Yeem rau roj teeb uas tau tsav:

DC-DC CONVERTER BOOST I = 0.9-5V O = 5V 0.6A, qhov no yuav siv los tsav ESP8266 thiab tso saib.

Tib cell TP4056 style lipo charger, MICRO USB LITHIUM 18650 BATTERY CHARGER 1A.

18650 lipo cell, lossis roj teeb xov tooj ntawm tes thiab lwm yam.

Kauj ruam 1: Kho vajtse thiab thaiv

Kho vajtse thiab thaiv
Kho vajtse thiab thaiv
Software
Software
Software
Software

Ua ke siv Arduino IDE 1.8.13.

ArduinoJson los ntawm Benoît Blanchon version 6.16.1

ArduinoJson Assistant V6 tau siv rau deserialize tom qab luam cov ntaub ntawv los ntawm qhov browser.

Ive tau txais kev ywj pheej ntawm suav nrog tag nrho cov cai ntawm ob qho tib si TheResidentSkeptic thiab Buger's Blog hauv kab ntawv tsuas yog thaum lawv qhov chaw ploj mus.

Qhov url uas kuv tau kho "https://min-api.cryptocompare.com/data/pricemulti?fsyms=XRP&tsyms=ZAR&e=Luno&extraParams=your_app_name" nrog kuv cov kev hloov pauv hauv cov ntawv loj.

Saib ntawm Cryptocompare qhov chaw yuav muab kev txhawb nqa kev sib pauv, npib thiab txiaj.

Tsis tas yuav hais, Kuv muaj qhov txwv tsis pub tshaj lij, ua ntau ntawm daim ntawv theej/muab tshuaj, yog li kuv tus lej yuav qias neeg me ntsis.:)

Kauj ruam 3: Cov ntaub ntawv kaw

Cov ntaub ntawv kaw
Cov ntaub ntawv kaw

Kuv pom nws nrawm dua los qhib qhov chaw nres nkoj qhib nrog dremel thiab cov ntaub ntawv koob dua li fiddling ncig nrog Tinkercad.

Pom zoo: