Cov txheej txheem:

Rov siv LEDC68 Qub Gotek Zaub: 4 Cov Kauj Ruam
Rov siv LEDC68 Qub Gotek Zaub: 4 Cov Kauj Ruam

Video: Rov siv LEDC68 Qub Gotek Zaub: 4 Cov Kauj Ruam

Video: Rov siv LEDC68 Qub Gotek Zaub: 4 Cov Kauj Ruam
Video: Nkauj mos ab ib txhia tub sab 7/25/2018 2024, Kaum ib hlis
Anonim
Rov siv LEDC68 Qub Gotek Zaub
Rov siv LEDC68 Qub Gotek Zaub
Rov siv LEDC68 Qub Gotek Zaub
Rov siv LEDC68 Qub Gotek Zaub

Kuv muaj ob peb Gotek Floppy disk drives txhua tus ntawm lawv tau hloov kho rau flash floppy, tso cai rau lawv siv rau ntawm cov khoos phis tawj retro. Cov software no tso cai rau ntau yam ntxiv rau tus qauv Gotek tsav, tshwj xeeb yog 3 tus lej LED zaub tuaj yeem hloov kho rau OLED cov lus.

Ua tiav qhov uas koj tau txais sab laug nrog ntau 3 tus lej LED qhia, Kuv tsis nyiam tsuas yog pov tseg ntawm lawv. Thiab ntau lwm tus neeg zoo li muaj lawv teev nyob rau ntawm E-bay thiab cov zoo li. Qhov teeb meem yog software txhawb nqa rau lawv zoo li yuav luag tsis muaj - nyob txog tam sim no.

Kuv hloov kho / sau lub tsev qiv ntawv rau pawg Arduino nrov rau cov qauv duab no. Nov yog qhov koj siv nws.

Khoom siv

Koj cov zaub qub los ntawm Gotek Drive. Ebay thiab lwm yam.

Lub tsev qiv ntawv, Rub tawm txoj haujlwm https://github.com/coopzone-dc/GotekLEDC68 ua zip file.

Kauj Ruam 1: Nruab Driver Library los ntawm GitHub

Txhim kho lub Tsev Qiv Ntawv Tsav Tsheb Los Ntawm GitHub
Txhim kho lub Tsev Qiv Ntawv Tsav Tsheb Los Ntawm GitHub
Nruab tus tsav tsheb lub tsev qiv ntawv los ntawm GitHub
Nruab tus tsav tsheb lub tsev qiv ntawv los ntawm GitHub

Thawj kauj ruam yog teeb tsa lub tsev qiv ntawv rau hauv koj Arduino/cov tsev qiv ntawv phau ntawv teev npe.

Rub tawm txoj haujlwm https://github.com/coopzone-dc/GotekLEDC68 ua zip file.

Nrhiav koj lub tsev qiv ntawv phau ntawv teev npe, nws yuav luag ib txwm nyob hauv daim nplaub tshev uas koj cov haujlwm uas twb muaj lawm tau txais kev cawmdim. Tshwj tsis yog tias koj tau kho koj lub teeb, nws yuav yog daim nplaub tshev hu ua Arduino/tsev qiv ntawv. Piv txwv ntawm kuv lub laptop linux nws yog $ HOME/Arduino/qiv ntawv. Ntawm Mac OX x nws yuav zoo nyob hauv Cov Ntawv/Arduino/cov tsev qiv ntawv nplaub tshev.

Thaum koj pom nws, unzip cov ntawv rau hauv daim nplaub tshev, piv txwv li ntawm linux.

cd Arduino/tsev qiv ntawv

unzip../../Downloads/GotekLEDC68-master.zip

Ntawm lub qhov rais koj yuav siv "rho tawm rau …" thiab xaiv koj lub tsev qiv ntawv tais ceev tseg.

Thaum nws nyob hauv qhov chaw rov pib dua Arduino program kom tuaj tos qhov kev hloov pauv.

Kauj Ruam 2: Txhawm Rau Xeem Koj Lub Zeem Muag Thauj Cov Piv Txwv

Txhawm Rau Xeem Koj Cov Zaub Load Cov Piv Txwv Cov Haujlwm
Txhawm Rau Xeem Koj Cov Zaub Load Cov Piv Txwv Cov Haujlwm

Siv Arduino cov ntawv qhia zaub mov tseem ceeb, Cov Ntaub Ntawv - Piv txwv - Saib rau "piv txwv los ntawm Cov tsev qiv ntawv tshwj xeeb" tom qab ntawd nrhiav "Gotek -LEDC68 -Master"

Thaum nws tau thauj khoom, koj tuaj yeem hloov kho Pins los siv txuas rau cov zaub, lub neej ntawd yog:

#define CLK 3 // pins cov ntsiab lus rau TM1651 thiab tuaj yeem hloov mus rau lwm qhov chaw nres nkoj #define DIO 2

Xa mus rau daim duab saum toj no, txuas cov zaub rau cov pins hauv qab no:

Vcc = 5v Hwj chim ntawm Arduino

Gnd = Gnd ntawm Arduino

CLK = Tus lej pin 3 D03 ntawm Arduino

DATA (DIO) = Digital pin 2 D02 ntawm Arduino.

Txij ntawm no mus koj yuav tsum muaj peev xwm suav sau / xa cov duab kos thiab cov duab yuav pom suav

Kauj Ruam 3: Siv Lub Tsev Qiv Ntawv nrog ESP8266 Node-MCU Clone

Siv Lub Tsev Qiv Ntawv Nrog ESP8266 Node-MCU Clone
Siv Lub Tsev Qiv Ntawv Nrog ESP8266 Node-MCU Clone

Nov yog daim duab ntawm lub tsev qiv ntawv demo counter program khiav ntawm esp8266 cov qauv tsim khoom siv, nws yog qhov pheej yig version ntawm nodemcu thiab ua haujlwm tau zoo.

Kuv yuav tsum hloov cov npe ntawm cov pins no los siv hauv qhov program demo counter los ntawm 2, 3 txog D2, D3 zoo li no:

#define CLK D3 // pins cov ntsiab lus rau TM1651 thiab tuaj yeem hloov mus rau lwm qhov chaw nres nkoj #define DIO D2

Tom qab ntawd koj txuas cov zaub:

pin D2 to CLK

pin D3 to DATA

pin 3 V to VCC

pin GND to GND

Nws zoo li ua haujlwm tau zoo ntawm 3.3 volts, TAB SIS nco ntsoov cov ntawv qhia txog 5v kev ua haujlwm. Qhov tseeb kuv sim qhov no ntawm stm32 clone thiab tsis tuaj yeem ua nws. Kuv xav tias ntawm lub nkoj 3.3v lub zog siv hluav taws xob tsis tau txog nws. Tom qab txhua 3 LED qhia tau kos 160ma thaum khiav.

Kauj Ruam 4: Mus Ntxiv Cov Kauj Ruam Tom ntej

Tam sim no koj tuaj yeem rov siv cov txiaj ntsig no 3 tus lej uas yuav tsis tas li tau zaum hauv koj lub thoob! Tsav koj vwm txhua lub sijhawm koj saib nws thiab xav tias muaj ib hnub kuv yuav siv qhov ntawd….

Saib nplooj wiki ntawm Github kom nyeem ntxiv, Muaj kev lom zem

Pom zoo: