Cov txheej txheem:
- Kauj ruam 1: Kho vajtse
- Kauj ruam 2: Kev sib txuas
- Kauj Ruam 3: Kauj Ruam 1. Teeb Lub Tsev Qiv Ntawv
- Kauj Ruam 4: Kauj Ruam 2. Pib dua thiab Pib Ua Haujlwm
- Kauj Ruam 5: Kauj Ruam 3. Sau Cov Ntawv Cim
- Kauj Ruam 6: Kauj Ruam 4. Ntshiab LCD
- Kauj Ruam 7: Kauj Ruam 5. Ntaus Ntawv
- Kauj Ruam 8: Kauj Ruam 6. Nyeem Los Ntawm LCD
- Kauj Ruam 9: Ua Ntau Ntxiv
Video: HD44780 LCD rau I2C Adapter Board rau Bus Pirate: 9 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:31
Tus cwj pwm pheej yig LCDs raws li HD44780 chipset tuaj hauv ntau qhov ntau thiab tsawg: 2x16, 4x20, thiab lwm yam. 8 ntsis xav tau tag nrho 11 kab ntawv, 4bit xav tau 7 (6 rau kev sau nkaus xwb). Qee cov LCDs txhawb nqa cov ntaub ntawv xov xwm ntxiv, zoo li VFD Kuv tau them ntawm Hack Ib Hnub. HD44780 LCDs feem ntau yog 5volt ntu nrog cais cais rau lub teeb nraub qaum. Lub Tsheb Npav Pirate tsuas muaj tsib 5volt kam rau ua I/O pins, yog li peb tau tsim lub khoos phis tawj me me nrog tus pin txaus los tswj lub LCD. Tsheb Npav Pirate tswj lub rooj tsav tsheb sib txuas los ntawm nws lub tsev qiv ntawv sib txuas hauv LCD. Muaj txuas ntxiv nyeem txog Bus Pirate HD44780 tus cim LCD adapter board thiab lub tsev qiv ntawv sib cuam tshuam. Kuv tuaj yeem muaj PCBs, cov khoom siv, lossis cov khoom siv sib dhos tsim los ntawm Seeed Studio txog $ 15, suav nrog kev xa khoom thoob ntiaj teb, ntau ntxiv ntawm no. Kuv tsis suav nrog qee cov ntsiab lus ua qauv thiab HTML cov ntxhuav hauv Cov Lus Qhia, koj tuaj yeem pom thawj daim ntawv tshaj tawm ntawm Cov Ntawv Tsis Txaus Siab blog.
Kauj ruam 1: Kho vajtse
Txheej txheem cej luam Hauv kab lus no peb piav qhia I2C adapter board rau HD44780-based LCDs. Peb ua kom pom nws nrog Bus Pirate universal serial interface. Tsheb Npav Pirate qhov chaws rau I2C-based HD44780 lub tsev qiv ntawv sib cuam tshuam yog pej xeem, yog li nws tuaj yeem hloov kho rau koj tus kheej cov haujlwm. HardwareFull loj Circuit Court duab [PNG]. Lub Circuit Court thiab PCB tau tsim nrog cov dawb version ntawm Cadsoft Eagle. Cov ntaub ntawv tsim qauv tuaj yeem rub tawm los ntawm Bus Pirate SVN. Ua ntej siv lub rooj hloov pauv, nco ntsoov txheeb xyuas cov ntaub ntawv rau koj lub LCD tiv thaiv tus pin pinout. Tsis yog txhua lub LCDs zoo ib yam. PCF8574 I/O expander IC Qhov no yog qhov yooj yim 8 I/O expander nti uas tau tswj los ntawm ob-xaim I2C interface. I2C interface tuaj yeem nkag tau los ntawm header JP1. The PCF8574 ua haujlwm los ntawm 2.5 txog 5volts. Cov I/O pins ua haujlwm ntawm cov khoom siv hluav taws xob, yog li yog peb pub nws 5volts nws cuam tshuam LCD ntawm 5volts. C1 (0.1uF) txiav txim siab IC los ntawm kev hloov pauv ntawm lub zog hluav taws xob. One tus pin ntawm PCF8574 tswj 3mm LED (LED1) los ntawm kev txwv tam sim no resistor R2 (1000 ohms). Lub teeb ci LED los qhia txog kev sib txuas lus zoo ntawm Bus Pirate thiab lub adapter. PCF8574 tsis tuaj yeem siv hluav taws xob txaus tam sim no rau lub zog LED, yog li peb ua lub zog LED los ntawm 5volt mov thiab hloov hauv av. LCD Lub khoos phis tawj adapter sib txuas lus nrog HD44780-raws tus cwj pwm LCD hauv 4bit ua ke sib cuam tshuam hom. 4bit interface pins - RS, RW, EN, thiab D4 -D7 - txuas nrog rau xya ntawm PCF8574 I/O pins. Peb nyiam siv 0.1 "txiv neej tus pin header los txuas lub adapter rau LCD, koj tuaj yeem feem ntau ntsaws LCD tiv thaiv tus pin los tsim kev sib cuag txaus rau kev sim nrawm. Trimmer resistor R1 (10K) muab qhov sib piv hloov qhov hluav taws xob rau tus pin 3 ntawm Lub taub hau LCD. Peb tsis txuas lub teeb nrig vim tias muaj ntau yam sib txawv ntawm lub teeb pom kev zoo. Muab lub zog rau lub teeb pom kev zoo LED tuaj yeem ua rau lub vijtsam puas xav tau qhov tsis zoo. header JP2. Peb muab tus pin thib ob lub hwj chim txuas rau Bus Pirate tus rub tawm cov neeg tawm tsam. PCB Circuit thiab PCB tau tsim nrog cov dawb version ntawm Cadsoft Eagle. Cov ntaub ntawv tsim tuaj yeem rub tawm los ntawm Bus Pirate SVN. PCB yog ib leeg-ib sab, txhua qhov dhau los ntawm qhov tsim nrog ib lub xaim xaim xaim (pom liab). Peb tuaj yeem muaj PCBs, cov khoom siv, lossis cov khoom siv sib dhos tsim los ntawm Seeed Studio txog li $ 15, suav nrog kev xa khoom thoob ntiaj teb, ntau dua no. txhua th qhov ntxhib-qhov) C10.1uF/10volts+R110000 (10K) ohm ib leeg tig trimmer/potentiometer, 6mmR21000 (1K) ohm resistor, 1/4 wattLED13mm (T1) LED, redJP1+JP20.1 "txiv neej header, 5 pinsIC1PCF8574N, 8 ntsis I2C I/O expander DIP16ICS116 tus pin DIP qhov rau IC1I tsis tuaj yeem suav nrog qee qhov kev teeb tsa ntsiab lus thiab HTML cov ntxhuav hauv Cov Lus Qhia, koj tuaj yeem pom thawj daim ntawv tshaj tawm ntawm Cov Ntawv Tsis Txaus Siab blog.
Kauj ruam 2: Kev sib txuas
Ntaus: HD44780 cim LCD. Bus: 4bit sib npaug, nrog PCF8574 I2C adapter board. Power yuav tsum tau: 5volts. References: piv txwv ntaub ntawv [PDF], HD44780 hais kom ua siv, HD44780 LCD uber-site. Complaub Tsheb Pirate sib tham cav rau qhov ua qauv qhia no. tsim lub adapter rau lub tsev qiv ntawv LCD ntawm Bus Pirate universal serial interface, tab sis nws yuav ua haujlwm nrog txhua yam uas tuaj yeem hais lus I2C raws tu qauv. Ua tibzoo saib Bus Bus Pirate qhov chaws rau tus piv txwv I2C-> HD44780 kev siv. Cov lus kuj tseem qhia txog kev sib txuas raw mus rau PCF8574 IC yog tias koj ua raws nrog yam tsis muaj lub rooj tsav xwm txuas. Kev sib txuas I2C ntawm tus adapter thiab Bus Pirate xav tau rub tawm cov neeg tawm tsam ntawm 2 thiab 10K. Nov yog cov ntaub ntawv ntau ntxiv txog kev sib xyaw hluav taws xob cuam tshuam nrog rub tawm, thiab Bus Pirate on-board rub-up resistors. Kuv tsis tuaj yeem suav nrog qee qhov kev teeb tsa ntsiab lus thiab HTML cov ntxhuav hauv Cov Lus Qhia, koj tuaj yeem pom thawj daim ntawv tshaj tawm ntawm Cov Ntawv Tsis Txaus Siab blog.
Kauj Ruam 3: Kauj Ruam 1. Teeb Lub Tsev Qiv Ntawv
Kev sib cuam tshuam Peb tau npog cov qauv tsim thiab yuav txuas nws li cas rau Bus Pirate, tam sim no nws yog lub sijhawm kawg los sau ib yam dab tsi rau LCD. HiZ> m <<
Kauj Ruam 4: Kauj Ruam 2. Pib dua thiab Pib Ua Haujlwm
Cov lus no piav qhia ib-byte cov lus txib uas tswj hwm HD44780 LCD, ntawm no yog cov ncauj lus kom ntxaws. Cov lus txib no tuaj yeem nkag los ntawm Bus Pirate cov kab hais kom ua, tab sis peb tau tsim macros rau lawv feem ntau kom txuag sijhawm. LCD> (0) <<< qhia cov zaub mov macro0. Macro menu <<< cov ntawv qhia zaub mov1. LCD Pib dua << <pib dua lub LCD2. Pib LCD <<< rov pib dua thiab pib ua LCD3. Clear LCD <<< ntshiab LCD, rov qab tus cursor rau 04. Cursor txoj haujlwm ex: (4: 0) <<< teeb tsa tus cursor postion5. Write test text <<
Kauj Ruam 5: Kauj Ruam 3. Sau Cov Ntawv Cim
LCD> (6:80) <<
Kauj Ruam 6: Kauj Ruam 4. Ntshiab LCD
LCD> (3) <<
Kauj Ruam 7: Kauj Ruam 5. Ntaus Ntawv
LCD> (8) <<< ntxig tus neeg siv cov ntawv nkag mus rau kab ntawv nkag mus rau ntawm txoj haujlwm tus cursor. HD44780 LCD demo <<
LCD> (8) <<< ntxig cov ntawv Sau cov ntawv kom ntxig rau ntawm txoj haujlwm tus cursor. Bus Pirate v2go <<
Kauj Ruam 8: Kauj Ruam 6. Nyeem Los Ntawm LCD
Lub Tsheb Npav Pirate thiab LCD adapter board tuaj yeem nyeem los ntawm LCD. Peb mam li nyeem cov ntawv peb tau sau rau lub vijtsam (DDRAM), tab sis koj tseem tuaj yeem nyeem cov chaw thiab tus cwj pwm tus cwj pwm (CGRAM) los ntawm kev teeb tsa qhov chaw nyob raug. LCD> [0b10000000 '' '<<< teeb tsa tus nyeem ntawv' '] HD44780 RS LOW, COMMAND MODE <<< sau npe xaiv tus pin lowCMD WRITE: 0x80 <<
Kauj Ruam 9: Ua Ntau Ntxiv
Muab cov lus piav qhia dav dav ntawm StepThe HD44780 character LCD adapter is a ke accessory for the Bus Pirate. Nws tuaj yeem siv rau qhov kev sim nrawm, lossis ntau dua kev txhim kho logic. lossis sib sau ua ke cov khoom siv tsim los ntawm Seeed Studio txog $ 15, suav nrog kev xa khoom thoob ntiaj teb, ntau ntxiv ntawm no. Kuv tsis tuaj yeem suav qee qhov kev teeb tsa cov ntsiab lus thiab HTML cov ntxhuav hauv Cov Lus Qhia, koj tuaj yeem pom thawj daim ntawv tshaj tawm ntawm Cov Ntawv Tsis Txaus Siab blog.
Pom zoo:
I2C / IIC LCD Zaub - Siv SPI LCD rau I2C LCD Zaub Siv SPI rau IIC Module Nrog Arduino: 5 Kauj Ruam
I2C / IIC LCD Zaub | Siv SPI LCD rau I2C LCD Zaub Siv SPI rau IIC Module Nrog Arduino: Nyob zoo cov phooj ywg txij li ib txwm muaj SPI LCD 1602 muaj xov tooj ntau dhau los txuas yog li nws nyuaj rau cuam tshuam nrog arduino tab sis muaj ib qho qauv muaj nyob hauv khw uas tuaj yeem hloov SPI zaub rau hauv IIC zaub yog li ntawd koj yuav tsum txuas tsuas yog 4 xov hlau
I2C / IIC LCD Zaub - Hloov SPI LCD rau I2C LCD Zaub: 5 Kauj Ruam
I2C / IIC LCD Zaub | Hloov SPI LCD mus rau I2C LCD Zaub: siv spi lcd zaub xav tau kev sib txuas ntau dhau los ua qhov uas nyuaj heev ua li ntawd kuv pom tus qauv uas tuaj yeem hloov pauv i2c lcd mus rau spi lcd yog li cia peb pib
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rov Ua Rau Lawv rau 12V.: 3 Cov Kauj Ruam
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rewiring Lawv rau 12V: Kuv txoj kev npaj tau yooj yim. Kuv xav txiav cov phab ntsa uas siv hluav taws xob LED teeb ua ib daim ces rov txuas nws kom khiav tawm 12 volts. Lwm txoj hauv kev yog siv lub zog hloov pauv, tab sis peb txhua tus paub tias lawv tsis muaj txiaj ntsig zoo, puas yog? Txoj cai? Los yog lawv?
Bus Pirate 3EEPROM Explorer Board: 5 Kauj Ruam
Bus Pirate 3EEPROM Explorer Board: Yog tias koj tau txais ib qho ntawm Hack Ib Hnub Tsheb Npav Pirates, koj ua dab tsi nrog nws? Kawm paub txog 1-xaim, I2C, thiab SPI EEPROMs nrog 3EEPROM tshawb xyuas pawg thawj coj (peb hu nws yog THR-EE-PROM) .EEPROM yog ib hom nco nti uas khaws cov ntaub ntawv yam tsis muaj lub zog txuas ntxiv
12v rau USB Adapter 12v rau 5v Transformer (zoo rau Tsheb): 6 Cov Kauj Ruam
12v rau USB Adapter 12v rau 5v Transformer (zoo rau Tsheb): Qhov no yuav qhia koj yuav ua li cas thiaj ua tau 12v rau USB (5v) adapter. Qhov pom tseeb tshaj plaws ntawm qhov no yog rau 12v lub tsheb hloov pauv, tab sis txhua qhov chaw koj muaj 12v koj tuaj yeem siv nws! Yog tias koj xav tau 5v rau lwm yam uas tsis yog USB, tsuas yog hla cov kauj ruam hais txog kev ntxiv USB chaw nres nkoj