Cov txheej txheem:
- Kauj ruam 1:
- Kauj ruam 2:
- Kauj ruam 3:
- Kauj ruam 4:
- Kauj ruam 5:
- Kauj Ruam 6: Tswj Cov Zaub
- Kauj Ruam 7: Muab tag nrho ua ke
Video: Siv Laus Noritake Itron VFD Modules: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Tam sim no thiab ntxiv koj tuaj hla qhov txaus nyiam ntawm ebay, los ntawm cov phooj ywg lossis tsuas yog rooting ncig hauv khw muag khoom thib ob. Ib qho piv txwv ntawm qhov no yog qhov loj loj Noritake Itron 40 x 2 cim lub tshuab nqus tsev-fluorescent zaub los ntawm xyoo 1994 (lossis dhau los) uas tau dhau los ntawm cov neeg siv khoom.
Keeb kwm nws zoo li nyuaj heev, txawm li cas los xij tom qab siv qee lub sijhawm cov ntawv txheeb tau pom thiab nws tau tshawb pom kom muaj cov ntawv yooj yim sib cuam tshuam - thiab nrog kev ua haujlwm me ntsis peb tau txais nws ua haujlwm, yog li nyeem yog tias koj txaus siab rau VFDs qub lossis muaj chav nyob zoo sib xws.
Kauj ruam 1:
Tus lej sib cuam tshuam tus nqi baud tau txiav txim siab los ntawm jumper cov ntaub ntawm PCB.
Kauj ruam 2:
Yog li sib piv cov lus saum toj no tiv thaiv cov dhia ntawm peb tus qauv muab rau peb cov ntaub ntawv ceev ntawm 19200 bps uas tsis muaj kev ncaj ncees. Zoo kawg - peb tuaj yeem tsim qhov kev sib txuas zoo nrog lub microcontroller nrog cov ntawv tso tawm thiab 5V cov laj thawj qib; rau peb cov piv txwv peb yuav siv pawg tswj hwm Arduino.
Kauj ruam 3:
Kev xaim VFD yog qhov yooj yim - saib cov dhia dhia dawb sau npe CN2 raws li tau hais ua ntej. Tus Pin 1 yog 5V (koj xav tau cov khoom siv sab nraud uas tuaj yeem muab txog 700 mA), tus pin 2 rau Arduino tus pin 7, thiab tus pin 3 rau Arduino thiab lub hwj chim muab GND.
Peb siv Arduino D7 nrog cov software software hloov chaw TX kom cov zaub tsis tso tawm cov khib nyiab thaum kos duab raug xa mus. Tom qab ntawd nws yog teeb meem ntawm kev yooj yim xa cov ntawv mus rau cov zaub, piv txwv li ntawm no yog daim duab qhia kev nrawm:
// Ua haujlwm nrog Noritake Itron VFD modules - qauv CU40026SCPB -T20A #suav nrog SoftwareSerial VFD (6, 7); // RX, TX
void teeb tsa ()
{VFD.begin (19200); }
void lub voj ()
{VFD.print ("Nyob zoo, ntiaj teb. Qhov no yog Noritake VFD"); // Koj tuaj yeem tawg tawm cov ntawv ua {} thaum (1); }
Kauj ruam 4:
Qhov tshwm sim nrog cov hauv qab no…
Kauj ruam 5:
Yog tias koj tsis mob siab rau xim lossis siv ntawm cov zaub, sim qee Perspex saum toj - piv txwv …
Kauj Ruam 6: Tswj Cov Zaub
Hauv qhov no koj yuav xav tau cov ntaub ntawv teev cov ntaub ntawv. Raws li koj tau pom yav dhau los, kev sau cov ntawv yog yooj yim heev - tsuas yog siv.print ua haujlwm. Txawm li cas los xij koj yuav xav xa ib tus cim, nrog rau cov lus txib tshwj xeeb los tswj cov yam ntxwv ntawm cov zaub. Cov no tau hais tseg hauv cov ntaub ntawv - saib "Software Commands" thiab "Character Fonts" ntxhuav.
Yog tias koj xav tau xa ib lo lus txib - piv txwv li "pom meej" uas yog 0x0E, siv lo lus txib.write, xws li:
VFD.write (0x0E); // meej zaub
Qee cov lus txib yog nyob rau hauv cov qauv ntawm cov lej khiav tawm (nco qab cov?) Yog li koj yuav tsum xa ESC tom qab ntawv byte, piv txwv li hloov qhov ci ci rau 50%:
VFD.write (0x1B); // ESC VFD.write (0x4C); // ci ntsa iab VFD.write (0x40); // 50% ci ntsa iab
Ua tub rog nrog qhov kev paub thiab cov ntaub ntawv koj tuaj yeem tam sim no ua tiav txhua cov lus txib. Raws li cov ntaub ntawv nws muaj peev xwm hloov fonts txawm li cas los xij tsis muaj teeb meem dab tsi kho vajtse jumper lossis hais kom peb sim nws yuav tsis tawm ntawm Japanese katakana font. Koj lub vijtsam yuav txawv. Yog tias koj siv "tshuaj ntsuam qhov tseem ceeb sau" ua haujlwm mloog cov ntaub ntawv nrog kev hwm rau ncua sijhawm "tibneeg hu tauj coob" los ntawm kev ncua sijhawm sau ntawv tom ntej mus rau lub millisecond.
Kauj Ruam 7: Muab tag nrho ua ke
Hloov chaw piav qhia txhua qhov thiab txhua qhov hais kom ua tau, kuv tau muab tso rau hauv cov ntaub ntawv ua haujlwm hauv qhov ua piv txwv qhia hauv qab no, uas yog ua raws cov vis dis aus nrawm ntawm daim duab kos hauv kev ua haujlwm.
// Ua haujlwm nrog Noritake Itron VFD modules - qauv CU40026SCPB -T20A // John Boxall 2013
#suav nrog
SoftwareSerial VFD (6, 7); // rx, txo
void teeb tsa ()
{VFD.begin (19200); // teeb tsa nrawm rau software serial chaw nres nkoj resetVFD (); VFDclearsceen (); // VFD.write (0x12); // ntsug scroll hom (ntawm)}
void resetVFD ()
// ua software rov pib dua ntawm VFD maub los {VFD.write (0x1B); // ESC VFD.write (0x49); // software rov pib dua}
tsis muaj dab tsi VFDnewline ()
// txav tus cursor los pib kab tom ntej {VFD.write (0x0D); // nqa rov qab VFD.write (0x0A); // kab noj}
tsis muaj dab tsi VFDclearsceen ()
// txav tus cursor mus rau sab saud sab laug thiab tshem tawm cov lus qhia {VFD.write (0x0E); // qhia meej VFD.write (0x0C); // daim ntawv pub - tus cursor rau sab saud}
void VFDbrightness (int tus nqi)
// teeb tsa VFD qhov ci ci - 25/50/75/100% // siv ESC ntu {hloov (tus nqi) {rooj plaub 25: VFD.write (0x1B); // ESC VFD.write (0x4C); // ci ntsa iab VFD.print (0); // 25% ci ci tawg; rooj plaub 50: VFD.write (0x1B); // ESC VFD.write (0x4C); // ci ntsa iab VFD.write (0x40); // 50% ci ci tawg; rooj plaub 75: VFD.write (0x1B); // ESC VFD.write (0x4C); // ci VFD.write (0x80); // 75% ci ci tawg; rooj plaub 100: VFD.write (0x1B); // ESC VFD.write (0x4C); // ci ntsa iab VFD.write (0xC0); // 100% ci ntsa iab}
tsis muaj VFDchars ()
// khiav los ntawm cov cim rau xaiv font {rau (int i = 21; i <256; i ++) {VFD.write (0x16); // underline cursor tawm VFD.write (i); ncua (100); }}
void moveCursor (txoj haujlwm byte)
// txav tus cursor - kab saum toj kawg nkaus yog 0 ~ 39, kab hauv qab yog 40 ~ 79 // hom kab rov tav yuav tsum tau muab tua yog tias siv {VFD.write (0x1B); // ESC VFD.write (0x48); // txav tus cursor VFD.write (txoj haujlwm); // qhov chaw}
void lub voj ()
{VFD.write (0x16); // underline cursor off VFD.print ("Nyob zoo, ntiaj teb - kab ib."); // Koj tuaj yeem tawg tawm cov ntawv ncua (1000); VFDnewline (); VFD.print ("Nyob zoo, ntiaj teb - kab ob."); ncua (1000); VFDclearsceen (); VFDbrightness (25); VFD.print ("*** 25% ci ntsa iab ***"); ncua (1000); VFDclearsceen (); VFDbrightness (50); VFD.print ("*** 50% ci ntsa iab ***"); ncua (1000); VFDclearsceen (); VFDbrightness (75); VFD.print ("*** 75% ci ntsa iab ***"); ncua (1000); VFDclearsceen (); VFDbrightness (100); VFD.print ("*** 100% ci ntsa iab ***"); ncua (1000); VFDclearsceen ();
VFDchars ();
VFDclearsceen ();
rau (int i = 0; kuv <80; i ++) {VFD.write (0x16); // underline tus cursor tawm moveCursor (i); VFD.print ("X"); ncua (100); moveCursor (kuv); VFD.print (""); } VFDclearsceen (); }
Peb vam tias koj pom qhov no nthuav thiab muaj txiaj ntsig.
Cov ntawv tshaj tawm no tau coj tuaj rau koj los ntawm pmdway.com - txhua yam rau cov kws tsim khoom thiab cov khoom siv hluav taws xob, nrog kev xa khoom dawb thoob ntiaj teb.
Pom zoo:
Kuv Ua Tus CD CD Laus Rau Hauv Wifi Neeg Hlau Siv Nodemcu, L298N Tsav Tsav thiab Ntau Ntxiv: 5 Kauj Ruam
Kuv Ua Tus CD CD Laus Rau Hauv Wifi Neeg Hlau Siv Nodemcu, L298N Tsav Tsav Tsheb thiab Ntau Ntxiv: VX Robotics & Cov Khoom Siv Hluav Taws Xob
Cov Neeg Laus Kho Cov Laus: 4 Kauj Ruam
Cov Neeg Laus Kho Cov Laus: Lub tshuab no yog siv los pab cov laus uas xav rov kho lawv lub peev xwm ua tshuaj tiv thaiv. Thaum tib neeg loj zuj zus tuaj, lawv cov peev txheej tiv thaiv yuav dhau mus zuj zus. Lub tshuab no tuaj yeem pab cov neeg no kom rov kho lawv lub peev xwm tiv thaiv
Txhim kho Ubuntu-Mate ntawm Laus/Laus Laptop: 7 Kauj Ruam
Txhim kho Ubuntu-Mate ntawm Laus/Laus Laptop: Ubuntu-Mate yog dab tsi? Tsuas yog qhov sib txawv ntawm lwm Ubuntu OS's yog tias nws siv MATE desktop ib puag ncig raws li nws lub ntsiab lus Vim li cas kuv thiaj xaiv qhov no rau th
Rov Qab Siv Cov Khoom Siv Laus qub los Tsim Cov Pheej Yig Portable System: 3 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Khoom Siv Laus qub los tsim Cov Txheej Txheem Nqis Pheej Yig: Tsis ntev los no kuv lub Laptop qub tau tuag thiab kuv yuav tsum yuav ib qho tshiab, (RIP! 5520 koj yuav tsis nco). Lub khoos phis tawj niam niam lub rooj tuag tau tuag thiab qhov kev puas tsuaj tuaj yeem kho tau Txog thaum tsis ntev los no kuv coj Raspberry ncuav qab zib thiab pib tinkering nrog IOT sutff tab sis xav tau kev mob siab rau
Tsim kom muaj Dual 15V Cov Khoom Siv Hluav Taws Xob Siv Tawm Cov Txee Modules rau Hauv $ 50: 10 Cov Kauj Ruam (nrog Duab)
Tsim kom muaj Dual 15V Lub Hwj Huam Siv Tawm Tawm Cov Qauv Qauv rau Hauv $ 50: Taw Qhia: Yog tias koj yog tus nyiam ua haujlwm uas cuam tshuam nrog suab, koj yuav paub nrog cov khoom siv hluav taws xob ob tog. Feem ntau cov hwj huam suab qis xws li pre-amps xav tau qhov twg los ntawm +/- 5V txog +/- 15V. Muaj lub zog siv hluav taws xob ob zaug ua rau nws tsuas yog