Cov txheej txheem:

Yooj Yim Bitcoin Ticker: 6 Kauj Ruam
Yooj Yim Bitcoin Ticker: 6 Kauj Ruam

Video: Yooj Yim Bitcoin Ticker: 6 Kauj Ruam

Video: Yooj Yim Bitcoin Ticker: 6 Kauj Ruam
Video: 10 самых АТМОСФЕРНЫХ мест Дагестана. БОЛЬШОЙ ВЫПУСК #Дагестан #ПутешествиеПоДагестану 2024, Kaum ib hlis
Anonim
Yooj Yim Bitcoin Ticker
Yooj Yim Bitcoin Ticker

Nov yog Bitcoin yooj yim lossis lwm yam ALT npib Ticker.

Qhia Ib Leeg Npib Nqe ntawm 8x 7 ntu Zaub.

Cov zaub loj, ci thiab nyeem tau yooj yim.

Tus nqi tsocai los ntawm coinmarketcap.com dawb API tau hloov tshiab txhua 5 feeb.

Luam yooj yim thiab tsim.

Code tus lej raws Hector de Isidro ua haujlwm:

Kauj Ruam 1: Tshooj Npe

NodeMcu V3

MAX7219 LED Dot Matrix 8 Zaub Zaub

5x7 PCB pawg thawj coj saib

5x Txiv neej Pin Header Connector

2x x5 Poj Niam Dupont Cable Jumper Hlau Pin Header Vaj Tsev

22 AWG AWM

2 x 3M screws

4 x 2 M pin

Kauj ruam 2: Luam tawm

Luam
Luam
Luam
Luam

Cov ntaub ntawv STL muaj nyob ntawm:

www.thingiverse.com/thing:3620420

1x Yooj Yim Bitcoin Ticker Box

1X Yooj Yim Bitcoin Ticker Npog

Kauj ruam 3: Electronics

Electronics
Electronics
Electronics
Electronics
Electronics
Electronics

Txuas 5 tus txiv neej lub taub hau rau NodeMCU Pawg Thawj Coj.

  • 3v xov
  • xov gnd
  • dataPin = D5
  • csPin = D6
  • clockPin = D7

vin - 12v DC fais fab tuag

g - lub zog qhov av

Kauj Ruam 4: Coinmarketcap.com API

Tsim tus as khauj dawb ntawm:

coinmarketcap.com/api/

Luam API Key koj yuav xav tau nws hauv qib tom ntej.

Kauj ruam 5: Code

Nruab LedControl Library siv Tus Thawj Saib Xyuas Haujlwm hauv Arduino IDE.

Rub tawm Simple_Bitcoin_Ticker.ino los ntawm:

github.com/Nimrod-Galor/Simple-Bitcoin-Tic…

Qhib Cov Ntaub Ntawv Hauv Arduino IDE thiab hloov kho kab:

  • #define STASSID "SSID"; (Qhov SSID yog koj lub npe network WiFi.)
  • #define STAPSK "PASSWORD"; (Qhov twg PASSWORD yog tus password network)
  • const String API_KEY = "API_KEY"; (Qhov twg API_KEY yog koj li coinmarketcap.com API Qhov Ntsuas)

Upload Sketch rau NodeMCU.

Kauj Ruam 6: Sib dhos

Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
  1. Txuas Zaub rau Lub Thawv.
  2. Txuas dc Jack rau Box.
  3. Ntsia PBC rau Lub Thawv.
  4. Txuas Lub Hwj Huam IN hlau.
  5. Txuas Cov xov hlau.
  6. Txuas NodeMCU Pawg Thawj Coj.
  7. Pop ntawm Npog.

Txuas mus rau DC 12V lub zog siv hluav taws xob, tos ib pliag thaum NodeMCU txuas rau koj WiFi, thiab Koj Ua Tiav!

Txaus siab rau.

Pom zoo: