Cov txheej txheem:

VISUINO Display Live Forex Txiaj Nqi Los Ntawm Internet: 9 Kauj Ruam
VISUINO Display Live Forex Txiaj Nqi Los Ntawm Internet: 9 Kauj Ruam

Video: VISUINO Display Live Forex Txiaj Nqi Los Ntawm Internet: 9 Kauj Ruam

Video: VISUINO Display Live Forex Txiaj Nqi Los Ntawm Internet: 9 Kauj Ruam
Video: Обзор Pocket Option 2019-Лучшие брокеры бинарных опционов 2019-Н... 2024, Kaum ib hlis
Anonim
Image
Image

Hauv qhov kev qhia no peb yuav siv NodeMCU Mini, OLED Lcd, thiab Visuino los tso saib tus nqi txiaj ntsig EUR/USD txhua ob peb feeb los ntawm internet hauv LCD. Saib daim vis dis aus.

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi
Koj Yuav Tsum Tau Dab Tsi

Txhua tus qauv yog los ntawm txiag txiag. Lawv muaj cov qauv zoo tshaj plaws uas yog Lub Teeb-xyoo ua ntej kev sib tw, nrog rau tus nqi pheej yig tshaj plaws.

  • NodeMCU Mini
  • OLED Lcd
  • Cov qhob cij
  • Jumper xov hlau
  • Visuino program: Rub tawm Visuino

Kauj ruam 2: Circuit Court

Qhov Circuit
Qhov Circuit
  • Txuas GND los ntawm NodeMCU rau tus pin breadboard (gnd)
  • Txuas 5V tus pin los ntawm NodeMCU rau tus pin breadboard (zoo)
  • Txuas tus pin 0 (SCL) los ntawm NodeMCU rau OLED LCD tus pin (SCL)
  • Txuas tus pin 1 (SDA) los ntawm NodeMCU rau OLED LCD tus pin (SDA)
  • Txuas OLED LCD tus pin (VCC) mus rau tus pin breadboard (zoo)
  • Txuas OLED LCD tus pin (GND) rau tus pin breadboard (GND)

Kauj Ruam 3: Pib Visuino, thiab Xaiv NodeMCU ESP-12

Pib Visuino, thiab Xaiv NodeMCU ESP-12
Pib Visuino, thiab Xaiv NodeMCU ESP-12
Pib Visuino, thiab Xaiv NodeMCU ESP-12
Pib Visuino, thiab Xaiv NodeMCU ESP-12

Txhawm rau pib ua haujlwm rau Arduino, koj yuav tsum muaj Arduino IDE teeb tsa los ntawm no:

Thov nco ntsoov tias muaj qee qhov teeb meem tseem ceeb hauv Arduino IDE 1.6.6. Nco ntsoov tias koj nruab 1.6.7 lossis siab dua, txwv tsis pub Cov Lus Qhia no yuav tsis ua haujlwm! Yog tias koj tsis tau ua raws cov kauj ruam hauv Cov Lus Qhia no teeb tsa Arduino IDE rau program ESP 8266! Visuino tseem yuav tsum tau teeb tsa. Pib Visuino raws li pom hauv thawj daim duab Nyem rau ntawm "Cuab Yeej" khawm ntawm Arduino tivthaiv (Daim Duab 1) hauv Visuino Thaum qhov kev sib tham tshwm, xaiv "NodeMCU ESP-12" raws li qhia hauv daim duab 2

Kauj ruam 4: Teeb WiFi

Teeb WiFi
Teeb WiFi
Teeb WiFi
Teeb WiFi
Teeb WiFi
Teeb WiFi

Xaiv NodeMCU ESP-12 thiab hauv cov khoos phis tawj Modules> WiFi> Cov Ntsiab Lus Nkag Mus, nyem rau […] khawm, kom lub qhov rai “Access points” yuav qhib

Hauv qhov kev hloov kho no rub lub WiFi nkag mus rau sab laug.

  • Hauv qab "SSID" muab lub npe ntawm koj li WiFi Network
  • Hauv qab "Tus password" tso tus password nkag rau koj lub WiFi network

Kaw qhov "Access points" window

Ntawm sab laug hauv tus khoos phis tawj xaiv Modules> Wifi> Sockets, nyem rau ntawm […] khawm, kom lub qhov (socket) qhov rai yuav qhib

Luag tus TCP Client los ntawm sab xis mus rau sab laug

Hauv qab Properties window teeb chaw nres nkoj: 80

Kauj Ruam 5: Hauv Visuino Ntxiv Cheebtsam

Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
Hauv Visuino Ntxiv Cheebtsam
  • Ntxiv "Thiab" cov txheej txheem logic
  • Ntxiv "Nco Cov Ntawv" tivthaiv
  • Ntxiv "Ntawv Ntev" tivthaiv
  • Ntxiv 2x "Sib Piv Tus Nqi" tivthaiv
  • Ntxiv "Rho Tawm Txoj Cai" tivthaiv
  • Ntxiv "Rho Tawm Cov Ntawv Sau" tivthaiv
  • Ntxiv "Hloov Cov Ntawv" tivthaiv
  • Ntxiv "Pulse Generator" tivthaiv
  • Ntxiv "Cov Ntawv Uas Muaj Cov Ntawv"
  • Ntxiv "Char To Text" tivthaiv
  • Ntxiv "Zaub OLED" I2C tivthaiv

Kauj Ruam 6: Hauv Visuino: Txuas Cov Khoom Siv

Hauv Visuino: Txuas Cov Khoom Siv
Hauv Visuino: Txuas Cov Khoom Siv
  • Txuas "And1" tus pin [Tawm] kom Nco Ntsoov1 tus pin [Nco ntsoov] thiab tus pin [Rov Qab]
  • Txuas "And1" tus pin [0] rau "CompareValue2" tus pin [Tawm]
  • Txuas "And1" tus pin [1] rau "CompareValue1" tus pin [Tawm]
  • Txuas TextLength1 tus pin [Tawm] rau CompareValue1 tus pin [Hauv] thiab CompareValue2 tus pin [Hauv]
  • Txuas "DeleteRightText1" tus pin [Hauv] rau CharToText1 tus pin [Tawm]
  • kuj txuas CharToText1 tus pin [Tawm] rau NodeMCU cov lej [0] tus pin [Hauv]
  • Txuas "DeleteRightText1" tus pin [Tawm] rau DeleteLeftText1 tus pin [Hauv]
  • Txuas DeleteLeftText1 tus pin [Tawm] rau HloovText1 tus pin [Hauv]
  • Txuas Hloov Hloov Txuas 1 tus pin [Tawm] kom Nco NtsoovText1 tus pin [Hauv]
  • Txuas Nco NtsoovText1 tus pin [Tawm] rau DisplayOLED1> Text Field> tus pin [hauv]
  • Txuas DisplayOLED1 tus pin [Tawm] rau NodeMCU ESP-12 I2C tus pin [Hauv]
  • Txuas PulseGenerator1 tus pin [Tawm] rau FormattedText1 tus pin [Moos]
  • Txuas FormattedText1 tus pin [Tawm] rau NodeMCU ESP-12> Modules WiFi Sockets TCP Client1> Pin [Hauv]
  • Txuas NodeMCU ESP-12> Modules WiFi Sockets TCP Client1> Pin [Tawm] rau CharToText1 tus pin [Hauv]

Kauj Ruam 7: Tsim, Ua Ke, thiab Tshaj Tawm Arduino Code

Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code
Tsim, Sau, thiab Tso Tawm Arduino Code

Hauv Visuino, Nias F9 lossis nyem rau ntawm lub pob uas qhia ntawm daim duab 1 los tsim Arduino code, thiab qhib Arduino IDE

Hauv Arduino IDE, nyem rau ntawm Upload khawm, txhawm rau sau thiab xa cov cai (Daim duab 2)

Kauj ruam 8: Ua si

Yog tias koj ua zog NodeMCU module, OLED Lcd yuav pib qhia tus nqi tam sim no ntawm EUR/USD.

Nrog koj zoo siab! Koj tau ua tiav koj qhov Live Forex Project nrog Visuino. Kuj txuas nrog yog Visuino qhov haujlwm, uas kuv tau tsim rau qhov Qhia Qhia no. Koj tuaj yeem rub tawm thiab qhib nws hauv Visuino: Rub tawm txuas

Kauj Ruam 9: Hauv Visuino: Cov Txheej Txheem Txheej Txheem

  • CompareValue1: Hauv cov cuab yeej kho vajtse teeb "Tus nqi": 3, thiab Tsuas Yog Hloov: Tseeb, thiab "Sib PivType": ctBigger
  • CompareValue2: Hauv cov cuab yeej kho vajtse teeb "Tus nqi": 8, thiab Tsuas Yog Hloov: Cuav, thiab "Sib PivType": ctSmaller
  • DeleteRightText1 hauv cov cuab yeej kho teeb tsa "Ntev": 931
  • DeleteLeftText1 hauv cov cuab yeej kho teeb tsa "Ntev": 53
  • ReplaceText1 hauv cov cuab yeej editor teeb tsa "Los ntawm Tus Nqi":

  • PulseGenerator1 hauv cov cuab yeej kho qhov teeb tsa "Zaus": 1
  • CharToText1 hauv cov cuab yeej editor teeb tsa "Max Ntev": 1000, thiab "Txiav": Tsis raug, thiab "Hloov tshiab ntawm txhua tus char": Tsis tseeb
  • DisplayOLED1> Nyem ob npaug>
  1. hauv cov khoos phis tawj "Text Field" mus rau sab laug thiab teeb tsa lub zog qhov rai "Loj": 2, thiab "Y": 50
  2. hauv tus editor rub "Kos Cov Ntawv" mus rau sab laug thiab teeb tsa hauv lub qhov rai khoom "Ntawv": EUR/USD, thiab "Loj": 2

FormattedText1 hauv cov cuab yeej kho vajtse hauv qab "Text" nyem "…" thiab ntxiv cov ntawv no:

Tau txais https://webrates.truefx.com/rates/connect.html?f=h… HTTP/1.1Accept: text/html

Txais-Charset: utf-8

Txais-Lus: en-US, en; q = 0.7, sl; q = 0.3

Tus tswv tsev: webrates.truefx.com

NTS: 1

Pom zoo: